15 #ifndef PNDEMCFWENDCAPDIGI_H_ 16 #define PNDEMCFWENDCAPDIGI_H_ 60 virtual InitStatus
Init();
61 virtual void Exec(Option_t* opt);
70 if (fHighgainPSA ==
nullptr || fLowgainPSA ==
nullptr) {
71 std::cerr <<
"-E- in PndEmcFWEndcapDigi::SetPSAAlgorithms: PSA must be a PndEmcPSAFPGASampleAnalyser. External PSA setting has no effect" << std::endl;
77 if (fCalibrator ==
nullptr) {
78 std::cerr <<
"-E- in PndEmcFWEndcapDigi::SetCrystalCalibrator: Calibrator must be a PndEmcSimCrystalCalibrator. External Calibrator setting has no effect" << std::endl;
92 TClonesArray* fWaveformArray;
95 TClonesArray* fDigiArray;
96 TClonesArray* fDigiArray2;
97 TClonesArray* fHitArray;
99 Double_t fEnergyDigiThreshold;
100 TString fDigiPosMethod;
101 Double_t fEmcDigiRescaleFactor;
102 Double_t fEmcDigiPositionDepthPWO;
103 Double_t fEmcDigiPositionDepthShashlyk;
123 Bool_t fTimeOrderedDigi;
125 std::ofstream Energy;
127 Double_t GetEnergyDepTimeResolution(Double_t);
void SetPSAAlgorithms(PndEmcAbsPSA *highgain, PndEmcAbsPSA *lowgain)
virtual ~PndEmcFWEndcapDigi()
virtual InitStatus Init()
virtual void Exec(Option_t *opt)
Wrapping class to manage two independent PSAs for high, resp. low gain.
stores crystal index coordinates (x,y) or (theta,phi)
PndEmcFWEndcapDigi(Int_t verbose=0, Bool_t storedigis=kTRUE)
Task to create digis from waveforms.
parameter set for the FWEndcap variant of waveform simulation
virtual void SetCrystalCalibrator(PndEmcAbsCrystalCalibrator *Cal)
Class to simulate a Calibration.
Baseclass for pulseshapeanalysis ( featureextraction )
represents the deposited energy of one emc crystal from simulation
Abstract interface for a emc calibrator.
virtual void SetParContainers()
Parameter set for Emc Reco.
void SetStorageOfData(Bool_t val)