1 #ifndef BSEMCIDEALDIGITIZATIONPROCESS_HH 2 #define BSEMCIDEALDIGITIZATIONPROCESS_HH 8 #include "RtypesCore.h" 15 class FairParGenericSet;
21 class TMemberInspector;
45 std::vector<BSEmcDigi *>
DigitizeHits(
const std::vector<const BSEmcMCHit *> &t_mchitCont);
66 BSEmcDigi *AddDigi(Int_t t_detID, Double_t t_energy, Float_t t_time, Int_t t_hitIndex);
68 virtual Double_t SmearEnergy(Double_t t_energy)
const;
69 virtual Double_t GausSmearing(Double_t t_energy)
const;
70 virtual Double_t PhotonStatisticSmearing(Double_t t_energy)
const;
72 virtual Double_t DigitizedEnergy(Double_t t_energy, Int_t t_detId)
const;
73 virtual Double_t GetGain(Int_t t_detId)
const;
std::vector< BSEmcDigi * > DigitizeHits(const std::vector< const BSEmcMCHit *> &t_mchitCont)
Double_t fNPhotoElectronsPerMeV
virtual void SetupParameters(const PndParameterRegister *t_paramRegister)
Fetch all parameters from the PndParameterRegister.
Smears BSEmcMCHit energy and forms BSEmcDigi if energy above threshold.
Double_t fNoiseOverNElectrons
Double_t fIncoherentElecNoiseWidthGeV
virtual void Process()
The actual data transformation (digitizing, clustering, etc.) should be defined here.
void SetDigiParName(const std::string &t_parName)
Double_t fQuantumEfficiency
virtual ~BSEmcIdealDigitizationProcess()
Int_t fUseDigiEffectiveSmearing
PndOutputContainerI< BSEmcDigi > * fDigiArray
virtual void SetData(BSEmcDigitizationData *t_data)
Pass the data container ptrs to the process, and store pointers in class members. ...
BSEmcDigi * DigitizeHit(const BSEmcMCHit *t_hit, Int_t t_hitIndex)
std::string fHitBranchName
represents the reconstructed hit of one emc crystal
void SetReadoutType(const std::string &t_readout)
PndInputContainerI< BSEmcMCHit > * fHitArray
BSEmcIdealDigitizationProcess()
Double_t fEnergyDigiThreshold
Interface to a datacontainer to be used in PandaROOT.
Double_t fDetectedPhotonsPerMeV
Helper class to indirect the Parameter fetching via the FairRuntimeDb.
virtual void SetDetectorName(const std::string &t_detectorName)
Set the Detector name. Important, as most EmcParameter need to know for which detector they need to b...
Double_t fExcessNoiseFactor
represents the deposited energy of one emc crystal from simulation
DataStruct to pass addresses to data Container between BSEmcDigitizerTask and PndProcess<BSEmcDigitiz...