BmnRoot
Loading...
Searching...
No Matches
BmnCaloTowerDraw.h
Go to the documentation of this file.
1
9#ifndef __BMNCALOTOWERDRAW_H__
10#define __BMNCALOTOWERDRAW_H__
11
12#include "FairTask.h"
13#include "MpdEventManager.h"
14#include "TEvePointSet.h"
15#include "TClonesArray.h"
16
17class BmnCaloTowerDraw : public FairTask
18{
19 public:
22
31 BmnCaloTowerDraw(const char *name, Int_t caloType, Float_t caloMinEnergyThreshold = 0, Int_t iVerbose = 0);
32
35
36 virtual InitStatus Init();
37 virtual void Exec(Option_t* option);
38 virtual void Finish();
39 void Reset();
40
41protected:
43 TClonesArray *fDigitList;
44 TEvePointSet *fq;
45
46 void DrawTowers();
47
48private:
49 TString fCaloName;
50 Float_t fCaloMinEnergyThreshold; // Minimum energy threshold
51
52 Float_t *fEneArr;
53 Float_t fMaxE; // maximum energy loss in the current event
54
55 UInt_t fNumModules; // number of modules in one calorimeter detector
56 Double_t *fModuleZLen;
57 Double_t fMaxModuleZLen;
58 string fGeoPath;
59
60 Bool_t fResetRequiredFlag; // flag true is module sizes are adjusted
61 Bool_t fInitDrawFlag; // flag false if unique TGeoVolume are created for each module
62
63 BmnCaloTowerDraw(const BmnCaloTowerDraw&) = delete;
64 BmnCaloTowerDraw& operator=(const BmnCaloTowerDraw&) = delete;
65
66 ClassDef(BmnCaloTowerDraw, 1);
67};
68
69#endif // __BMNCALOTOWERDRAW_H__
virtual void Exec(Option_t *option)
virtual void Finish()
MpdEventManager * fEventManager
virtual ~BmnCaloTowerDraw()
virtual InitStatus Init()
TEvePointSet * fq
BmnCaloTowerDraw(const char *name, Int_t caloType, Float_t caloMinEnergyThreshold=0, Int_t iVerbose=0)
Construct a new BmnCaloTowerDraw object.
TClonesArray * fDigitList