9 #ifndef ERNDDigitizer_H 10 #define ERNDDigitizer_H 12 #include "TClonesArray.h" 17 #include "ERNDSetup.h" 34 virtual InitStatus
Init();
37 virtual void Exec(Option_t* opt);
46 void SetLYError(Float_t a, Float_t b, Float_t c) {fLYErrorA = a;fLYErrorB = b;fLYErrorC = c;}
47 void SetEdepError(Float_t a, Float_t b, Float_t c) {fEdepErrorA = a;fEdepErrorB = b;fEdepErrorC = c;}
48 void SetTimeError(Float_t a) {fTimeErrorA = a;}
50 void SetQuenchThreshold(Float_t th) {fQuenchThreshold = th;}
51 void SetLYThreshold(Float_t th) {fLYThreshold = th;}
52 void SetProbabilityB(Float_t b) {fProbabilityB = b;}
53 void SetProbabilityC(Float_t c) {fProbabilityC = c;}
56 Float_t LYThreshold()
const {
return fLYThreshold;}
57 Float_t ProbabilityB()
const {
return fProbabilityB;}
58 Float_t ProbabilityC()
const {
return fProbabilityC;}
61 TClonesArray* fNDPoints =
nullptr;
63 TClonesArray* fNDDigis =
nullptr;
66 Float_t fEdepErrorA, fEdepErrorB, fEdepErrorC;
67 Float_t fLYErrorA, fLYErrorB, fLYErrorC;
69 Float_t fQuenchThreshold;
71 Float_t fProbabilityB;
72 Float_t fProbabilityC;
76 ERNDDigi* AddDigi(Int_t stilbenNb, Float_t edep, Float_t lightYield, Float_t time, Float_t neutronProb);
77 Float_t NeutronProbability(Float_t edep, Float_t ly);
79 virtual void SetParContainers();
void SetLYError(Float_t a, Float_t b, Float_t c)
Float_t ElossThreshold() const
virtual void Exec(Option_t *opt)
virtual InitStatus Init()