CbmRoot
CbmTrdDigiDraw.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- CbmTrdDigiDraw header file -----
3 // ----- Created 10/12/07 by M. Al-Turany -----
4 // -------------------------------------------------------------------------
5 
6 
14 #ifndef CBMTRDDIGIDRAW_H
15 #define CBMTRDDIGIDRAW_H
16 
17 #include <FairTask.h> // for FairTask, InitStatus
18 
19 #include <Rtypes.h> // for THashConsistencyHolder, ClassDef
20 #include <RtypesCore.h> // for kFALSE, Bool_t, Int_t, Color_t, Style_t, kTRUE
21 
22 class CbmTrdParModDigi;
23 class CbmTrdParSetDigi;
24 class FairEventManager;
25 class TClonesArray;
26 class TEveBoxSet;
27 
28 class CbmTrdDigiDraw : public FairTask {
29 
30 public:
33 
34 
39  CbmTrdDigiDraw(const char* name,
40  Color_t color,
41  Style_t mstyle,
42  Int_t iVerbose = 1);
43 
45  virtual ~CbmTrdDigiDraw();
46 
48  void SetVerbose(Int_t iVerbose) { fVerbose = iVerbose; }
50  virtual void Exec(Option_t* option);
51  void Reset();
52 
53  void SetActiveLayer(Bool_t Layer1 = kTRUE,
54  Bool_t Layer2 = kFALSE,
55  Bool_t Layer3 = kFALSE,
56  Bool_t Layer4 = kFALSE,
57  Bool_t Layer5 = kFALSE,
58  Bool_t Layer6 = kFALSE,
59  Bool_t Layer7 = kFALSE,
60  Bool_t Layer8 = kFALSE,
61  Bool_t Layer9 = kFALSE,
62  Bool_t Layer10 = kFALSE,
63  Bool_t Layer11 = kFALSE,
64  Bool_t Layer12 = kFALSE,
65  Bool_t Layer13 = kFALSE,
66  Bool_t Layer14 = kFALSE,
67  Bool_t Layer15 = kFALSE);
68 
69 protected:
70  Int_t fVerbose; // Verbosity level
71  virtual void SetParContainers();
72  virtual InitStatus Init();
74  virtual void Finish();
75  TClonesArray* fPointList;
78  FairEventManager* fEventManager;
79  TEveBoxSet* fq;
80  Color_t fColor;
81  Style_t fStyle;
82 
83  Bool_t fActiveLayers[15];
84 
87 
89 };
90 
91 
92 #endif
CbmTrdDigiDraw::fStyle
Style_t fStyle
Definition: CbmTrdDigiDraw.h:81
CbmTrdDigiDraw::fActiveLayers
Bool_t fActiveLayers[15]
Definition: CbmTrdDigiDraw.h:83
CbmTrdDigiDraw::Exec
virtual void Exec(Option_t *option)
Definition: CbmTrdDigiDraw.cxx:94
CbmTrdDigiDraw::Init
virtual InitStatus Init()
Definition: CbmTrdDigiDraw.cxx:75
CbmTrdDigiDraw
Definition: CbmTrdDigiDraw.h:28
CbmTrdDigiDraw::CbmTrdDigiDraw
CbmTrdDigiDraw()
Definition: CbmTrdDigiDraw.cxx:28
CbmTrdDigiDraw::fPointList
TClonesArray * fPointList
Definition: CbmTrdDigiDraw.h:75
CbmTrdDigiDraw::Reset
void Reset()
Definition: CbmTrdDigiDraw.cxx:174
CbmTrdDigiDraw::operator=
CbmTrdDigiDraw & operator=(const CbmTrdDigiDraw &)
CbmTrdDigiDraw::fVerbose
Int_t fVerbose
Definition: CbmTrdDigiDraw.h:70
CbmTrdDigiDraw::CbmTrdDigiDraw
CbmTrdDigiDraw(const CbmTrdDigiDraw &)
CbmTrdParModDigi
Definition of chamber gain conversion for one TRD module.
Definition: CbmTrdParModDigi.h:14
CbmTrdDigiDraw::~CbmTrdDigiDraw
virtual ~CbmTrdDigiDraw()
Definition: CbmTrdDigiDraw.cxx:168
CbmTrdDigiDraw::fq
TEveBoxSet * fq
Definition: CbmTrdDigiDraw.h:79
CbmTrdDigiDraw::fModuleInfo
CbmTrdParModDigi * fModuleInfo
Definition: CbmTrdDigiDraw.h:77
CbmTrdDigiDraw::Finish
virtual void Finish()
Definition: CbmTrdDigiDraw.cxx:172
CbmTrdDigiDraw::fDigiPar
CbmTrdParSetDigi * fDigiPar
Definition: CbmTrdDigiDraw.h:76
CbmTrdDigiDraw::SetVerbose
void SetVerbose(Int_t iVerbose)
Definition: CbmTrdDigiDraw.h:48
CbmTrdParSetDigi
Definition: CbmTrdParSetDigi.h:15
CbmTrdDigiDraw::fEventManager
FairEventManager * fEventManager
Definition: CbmTrdDigiDraw.h:78
CbmTrdDigiDraw::fColor
Color_t fColor
Definition: CbmTrdDigiDraw.h:80
CbmTrdDigiDraw::ClassDef
ClassDef(CbmTrdDigiDraw, 2)
CbmTrdDigiDraw::SetActiveLayer
void SetActiveLayer(Bool_t Layer1=kTRUE, Bool_t Layer2=kFALSE, Bool_t Layer3=kFALSE, Bool_t Layer4=kFALSE, Bool_t Layer5=kFALSE, Bool_t Layer6=kFALSE, Bool_t Layer7=kFALSE, Bool_t Layer8=kFALSE, Bool_t Layer9=kFALSE, Bool_t Layer10=kFALSE, Bool_t Layer11=kFALSE, Bool_t Layer12=kFALSE, Bool_t Layer13=kFALSE, Bool_t Layer14=kFALSE, Bool_t Layer15=kFALSE)
Definition: CbmTrdDigiDraw.cxx:181
CbmTrdDigiDraw::SetParContainers
virtual void SetParContainers()
Definition: CbmTrdDigiDraw.cxx:62