CbmRoot
CbmPsdHitProducer.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- CbmPsdHitProducerIdel header file -----
3 // ----- Created 15/05/12 by Alla -----
4 // -----------------------------------------------------------
5 //--------------
6 
7 
15 #ifndef CBMPSDHitProducer_H
16 #define CBMPSDHitProducer_H
17 
18 
19 #include "CbmDigiManager.h"
20 #include "FairTask.h"
21 #include "TH1F.h"
22 
23 class TClonesArray;
24 const Int_t NPsdMod = 44; //with 4 central mods
25 
26 
27 class CbmPsdHitProducer : public FairTask {
28 
29 public:
32 
33 
36 
37 
39  virtual InitStatus Init();
40 
41 
43  virtual void Exec(Option_t* opt);
44  virtual void Finish();
45 
46 
47 private:
48  Int_t fNHits;
49 
51  TClonesArray* fHitArray;
52 
55 
58 
59  void Reset();
60 
61  Float_t fXi[NPsdMod]; //X coordinate of center of module
62  Float_t fYi[NPsdMod]; //X coordinate of center of module
63 
64  TH1F* fhModXNewEn; //edep in each module for Marina
65 
66 
68 };
69 
70 #endif
CbmPsdHitProducer::fYi
Float_t fYi[NPsdMod]
Definition: CbmPsdHitProducer.h:62
CbmPsdHitProducer::operator=
CbmPsdHitProducer operator=(const CbmPsdHitProducer &)
CbmPsdHitProducer::Init
virtual InitStatus Init()
Definition: CbmPsdHitProducer.cxx:51
CbmPsdHitProducer::~CbmPsdHitProducer
~CbmPsdHitProducer()
Definition: CbmPsdHitProducer.cxx:41
CbmPsdHitProducer::ClassDef
ClassDef(CbmPsdHitProducer, 2)
CbmPsdHitProducer::Exec
virtual void Exec(Option_t *opt)
Definition: CbmPsdHitProducer.cxx:98
CbmPsdHitProducer::fXi
Float_t fXi[NPsdMod]
Definition: CbmPsdHitProducer.h:61
CbmPsdHitProducer::fHitArray
TClonesArray * fHitArray
Definition: CbmPsdHitProducer.h:51
CbmDigiManager
CbmDigiManager.
Definition: CbmDigiManager.h:37
CbmPsdHitProducer::fDigiMan
CbmDigiManager * fDigiMan
Definition: CbmPsdHitProducer.h:54
CbmPsdHitProducer
Definition: CbmPsdHitProducer.h:27
CbmDigiManager.h
NPsdMod
const Int_t NPsdMod
Definition: CbmPsdHitProducer.h:24
CbmPsdHitProducer::CbmPsdHitProducer
CbmPsdHitProducer(const CbmPsdHitProducer &)
CbmPsdHitProducer::fNHits
Int_t fNHits
Definition: CbmPsdHitProducer.h:48
CbmPsdHitProducer::fhModXNewEn
TH1F * fhModXNewEn
Definition: CbmPsdHitProducer.h:64
CbmPsdHitProducer::Finish
virtual void Finish()
Definition: CbmPsdHitProducer.cxx:161
CbmPsdHitProducer::Reset
void Reset()
Definition: CbmPsdHitProducer.cxx:170
CbmPsdHitProducer::CbmPsdHitProducer
CbmPsdHitProducer()
Definition: CbmPsdHitProducer.cxx:27