PandaRoot
BSEmcMCDepositDraw.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 // -------------------------------------------------------------------------
14 // ----- BSEmcMCDepositDraw header file -----
15 // ----- Created 03/01/09 by T. Stockmanns -----
16 // -------------------------------------------------------------------------
17 
18 #ifndef BSEMCMCDEPOSITDRAW_HH
19 #define BSEMCMCDEPOSITDRAW_HH
20 
21 #include "Rtypes.h"
22 #include "RtypesCore.h"
23 
24 #include "FairHitDraw.h"
25 
26 class FairDataSourceI;
27 class TBuffer;
28 class TClass;
29 class TMemberInspector;
30 class TObject;
31 
38 class BSEmcMCDepositDraw : public FairHitDraw {
39 
40 public:
42  BSEmcMCDepositDraw() { SetBoxDimensions(2.0, 2.0, 2.0); };
43 
48  BSEmcMCDepositDraw(const char *name, FairDataSourceI *dataSource = nullptr,
49  Int_t iVerbose = 1)
50  : FairHitDraw(name, dataSource, iVerbose) {
51  SetBoxDimensions(2.0, 2.0, 2.0);
52  };
53 
55  virtual ~BSEmcMCDepositDraw(){};
56 
57 protected:
58  virtual Int_t GetValue(TObject *obj, Int_t i);
60 };
61 
62 #endif /*BSEMCMCDEPOSITDRAW_HH*/
unsigned int i
Definition: P4_F32vec4.h:33
BSEmcMCDepositDraw(const char *name, FairDataSourceI *dataSource=nullptr, Int_t iVerbose=1)
ClassDef(BSEmcMCDepositDraw, 1)
Task to display Emc MCHit.
virtual Int_t GetValue(TObject *obj, Int_t i)