CbmRoot
CbmPsdSimpleDigitizer.h
Go to the documentation of this file.
1 
9 #ifndef CBMPSDSimpleDigitizer_H
10 #define CBMPSDSimpleDigitizer_H 1
11 
12 
13 #include "CbmDigitize.h"
14 #include "CbmPsdDigi.h"
15 
16 #include "TRandom3.h"
17 
18 #include "CbmDefs.h"
19 
20 #define N_PSD_MODS 46
21 #define N_PSD_SECT 10
22 
23 class TClonesArray;
24 
25 class CbmPsdSimpleDigitizer : public CbmDigitize<CbmPsdDigi> {
26 
27 public:
30 
31 
33  virtual ~CbmPsdSimpleDigitizer();
34 
36 
37 
39  virtual InitStatus Init();
40 
41 
43  virtual void Exec(Option_t* opt);
44 
45 
47  virtual void Finish();
48 
49 
50 private:
51  Int_t fNofEvents;
52  Double_t fNofPoints;
53  Double_t fNofDigis;
54  Double_t fTimeTot;
55 
57  TClonesArray* fPointArray;
58 
61 
63 };
64 
65 #endif
CbmPsdDigi.h
CbmPsdSimpleDigitizer::Init
virtual InitStatus Init()
Definition: CbmPsdSimpleDigitizer.cxx:50
CbmPsdSimpleDigitizer::fPointArray
TClonesArray * fPointArray
Definition: CbmPsdSimpleDigitizer.h:57
CbmPsdSimpleDigitizer::operator=
CbmPsdSimpleDigitizer operator=(const CbmPsdSimpleDigitizer &)
ECbmModuleId
ECbmModuleId
Definition: CbmDefs.h:33
CbmPsdSimpleDigitizer
Definition: CbmPsdSimpleDigitizer.h:25
CbmPsdSimpleDigitizer::fNofDigis
Double_t fNofDigis
Definition: CbmPsdSimpleDigitizer.h:53
CbmPsdSimpleDigitizer::CbmPsdSimpleDigitizer
CbmPsdSimpleDigitizer()
Definition: CbmPsdSimpleDigitizer.cxx:34
CbmPsdSimpleDigitizer::~CbmPsdSimpleDigitizer
virtual ~CbmPsdSimpleDigitizer()
Definition: CbmPsdSimpleDigitizer.cxx:45
CbmPsdSimpleDigitizer::fNofPoints
Double_t fNofPoints
Definition: CbmPsdSimpleDigitizer.h:52
CbmDigitize
Base class template for CBM digitisation tasks.
Definition: CbmDigitize.h:39
CbmPsdSimpleDigitizer::Finish
virtual void Finish()
End-of-run action.
Definition: CbmPsdSimpleDigitizer.cxx:197
CbmPsdSimpleDigitizer::fNofEvents
Int_t fNofEvents
Definition: CbmPsdSimpleDigitizer.h:51
CbmPsdSimpleDigitizer::CbmPsdSimpleDigitizer
CbmPsdSimpleDigitizer(const CbmPsdSimpleDigitizer &)
CbmPsdSimpleDigitizer::Exec
virtual void Exec(Option_t *opt)
Definition: CbmPsdSimpleDigitizer.cxx:79
CbmPsdSimpleDigitizer::fTimeTot
Double_t fTimeTot
Definition: CbmPsdSimpleDigitizer.h:54
ECbmModuleId::kPsd
@ kPsd
Projectile spectator detector.
CbmPsdSimpleDigitizer::GetSystemId
ECbmModuleId GetSystemId() const
Detector system ID.
Definition: CbmPsdSimpleDigitizer.h:35
CbmPsdSimpleDigitizer::ClassDef
ClassDef(CbmPsdSimpleDigitizer, 1)
CbmDigitize.h
CbmDefs.h