BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnCaloTowerDraw.h
Go to the documentation of this file.
1/**
2 * @file BmnCaloTowerDraw.h
3 * @author
4 * @brief BmnCaloTowerDraw header file
5 * @date 2021-09-09
6 *
7 */
8
9#ifndef __BMNCALOTOWERDRAW_H__
10#define __BMNCALOTOWERDRAW_H__
11
12#include "FairTask.h"
13#include "MpdEventManager.h"
14#include "TClonesArray.h"
15#include "TEvePointSet.h"
16
18{
19 public:
20 /** Default constructor */
22
23 /**
24 * @brief Construct a new BmnCaloTowerDraw object
25 *
26 * @param name Name of task
27 * @param caloType Type of calorimeter (0 - ZDC, 1 - ECAL)
28 * @param caloMinEnergyThreshold Minimum energy threshold
29 * @param iVerbose Verbosity level
30 */
31 BmnCaloTowerDraw(const char* name, Int_t caloType, Float_t caloMinEnergyThreshold = 0, Int_t iVerbose = 0);
32
33 /** Destructor */
34 virtual ~BmnCaloTowerDraw();
35
36 virtual InitStatus Init();
37 virtual void Exec(Option_t* option);
38 virtual void Finish();
39 void Reset();
40
41 protected:
45
46 void DrawTowers();
47
48 private:
50 Float_t fCaloMinEnergyThreshold; // Minimum energy threshold
51
52 Float_t* fEneArr; //! array of energies in each module of calorimeter, GeV
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; //! z length of calorimeter modules, cm
58 string fGeoPath; //! path to calorimeter geometry
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
65
67};
68
69#endif // __BMNCALOTOWERDRAW_H__
bool Bool_t
int Int_t
unsigned int UInt_t
float Float_t
double Double_t
const char Option_t
#define ClassDef(name, id)
Double_t fMaxModuleZLen
z length of calorimeter modules, cm
BmnCaloTowerDraw & operator=(const BmnCaloTowerDraw &)=delete
Bool_t fResetRequiredFlag
path to calorimeter geometry
MpdEventManager * fEventManager
virtual InitStatus Init()
BmnCaloTowerDraw()
Default constructor.
BmnCaloTowerDraw(const BmnCaloTowerDraw &)=delete
TEvePointSet * fq
Float_t fCaloMinEnergyThreshold
virtual void Finish()
TClonesArray * fDigitList
virtual ~BmnCaloTowerDraw()
Destructor.
Float_t fMaxE
array of energies in each module of calorimeter, GeV
virtual void Exec(Option_t *option)