PandaRoot
BSEmcMCHitCaloDraw.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- BSEmcMCHitCaloDraw header file -----
3 // ----- Created 03/01/09 by T. Stockmanns -----
4 // -------------------------------------------------------------------------
5 
6 #ifndef BSEMCHITCALODRAW_HH
7 #define BSEMCHITCALODRAW_HH
8 
9 #include "Rtypes.h"
10 #include "RtypesCore.h"
11 #include "TVector3.h"
12 
13 #include "PndCaloDraw.h"
14 
15 class FairDataSourceI;
16 class TBuffer;
17 class TClass;
18 class TMemberInspector;
19 class TObject;
20 
28 
29  public:
32 
37  BSEmcMCHitCaloDraw(const char *name, FairDataSourceI *dataSource = nullptr) : PndCaloDraw(name, dataSource){};
38 
40  virtual ~BSEmcMCHitCaloDraw(){};
41 
42  protected:
43  virtual TVector3 GetVector(TObject *obj);
44  virtual Double_t GetEnergy(TObject *obj);
46 };
47 
48 #endif /*BSEMCHITCALODRAW_HH*/
virtual Double_t GetEnergy(TObject *obj)
BSEmcMCHitCaloDraw(const char *name, FairDataSourceI *dataSource=nullptr)
ClassDef(BSEmcMCHitCaloDraw, 1)
virtual TVector3 GetVector(TObject *obj)
Task to display Emc MCHits.