3 #ifndef PNDEMCFWENDCAPDIGI_H_ 4 #define PNDEMCFWENDCAPDIGI_H_ 48 virtual InitStatus
Init();
49 virtual void Exec(Option_t* opt);
58 if (fHighgainPSA ==
nullptr || fLowgainPSA ==
nullptr) {
59 std::cerr <<
"-E- in PndEmcFWEndcapDigi::SetPSAAlgorithms: PSA must be a PndEmcPSAFPGASampleAnalyser. External PSA setting has no effect" << std::endl;
65 if (fCalibrator ==
nullptr) {
66 std::cerr <<
"-E- in PndEmcFWEndcapDigi::SetCrystalCalibrator: Calibrator must be a PndEmcSimCrystalCalibrator. External Calibrator setting has no effect" << std::endl;
80 TClonesArray* fWaveformArray;
83 TClonesArray* fDigiArray;
84 TClonesArray* fDigiArray2;
85 TClonesArray* fHitArray;
87 Double_t fEnergyDigiThreshold;
88 TString fDigiPosMethod;
89 Double_t fEmcDigiRescaleFactor;
90 Double_t fEmcDigiPositionDepthPWO;
91 Double_t fEmcDigiPositionDepthShashlyk;
111 Bool_t fTimeOrderedDigi;
113 std::ofstream Energy;
115 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)