9 #ifndef ERNEURADDIGITIZER_H 10 #define ERNEURADDIGITIZER_H 14 #include "TStopwatch.h" 18 #include "ERNeuRadPoint.h" 19 #include "ERNeuRadPhotoElectron.h" 20 #include "ERNeuRadPixelSignal.h" 21 #include "ERNeuRadSetup.h" 52 virtual InitStatus
Init();
55 virtual void Exec(Option_t* opt);
64 inline void SetPixelJitter(
const Double_t PixelJitter) {fPixelJitter = PixelJitter;}
65 inline void SetPixelDelay(
const Double_t PixelDelay) {fPixelDelay = PixelDelay;}
66 inline void SetScincilationTau(
const Double_t tau) {fScincilationTau = tau;}
67 inline void SetUseCrosstalks(
const Bool_t use) {fUseCrosstalks = use;}
71 Int_t PixelSignalCount()
const;
79 TClonesArray *fNeuRadPoints;
82 TClonesArray *fNeuRadPhotoElectron;
83 TClonesArray *fNeuRadPixelSignal;
88 Float_t fSumAmplitudeF;
89 Float_t fSumAmplitudeB;
92 static const Double_t cSciFiLightYield;
93 static const Double_t cSpeedOfLight;
94 static const Double_t cMaterialSpeedOfLight;
95 static const Double_t cLightFractionInTotalIntReflection;
97 static const Double_t cPixelDelay;
98 static const Double_t cPixelJitter;
99 static const Double_t cScincilationTau;
102 Double_t fPixelJitter;
103 Double_t fPixelDelay;
104 Double_t fExcessNoiseFactor;
105 Double_t fScincilationTau;
107 TStopwatch fPhotoElectronsCreatingTimer;
108 Double_t fPhotoElectronsCreatingTime;
109 TStopwatch fPixelSignalCreatingTimer;
110 Double_t fPixelSignalCreatingTime;
111 Bool_t fUseCrosstalks;
118 Double_t lytime, Double_t cathode_time, Double_t anode_time,
119 Int_t photon_count,Double_t amplitudes);
121 virtual ERNeuRadPixelSignal* AddPixelSignal(Int_t iModule, Int_t iPixel, Int_t fpoints_count, Int_t side);
123 virtual void PhotoElectronsCreating(Int_t i_point,
ERNeuRadPoint *point,
124 std::vector<ERNeuRadPhotoElectron* >** pePerPixels,
125 Int_t side, Int_t& sumPECount, Float_t& sumAmplitude);
127 virtual void PixelSignalsCreating(Int_t iModule, Int_t iPixel,
128 std::vector<ERNeuRadPhotoElectron* >** pePerPixels, Int_t side);
130 Int_t Crosstalks(Int_t pointModule, Int_t pointPixel, Int_t& peModule, Int_t& pePixel);
132 static Double_t PeFunc(Double_t *x, Double_t *par);
136 virtual void SetParContainers();
141 #endif // ERNEURADDIGITIZER_H
void SetPixelJitter(const Double_t PixelJitter)
virtual InitStatus Init()
Int_t PhotoElectronCount() const
Class for the NeuRad digital response calculation.
virtual void Exec(Option_t *opt)
The data class for storing pieces of charged tracks in sensitive volumes in NeuRad.