FairRoot/PandaRoot
PndSdsIdealChargeConversion.h
Go to the documentation of this file.
1 #ifndef PNDSDSIDEALCHARGECONVERSION_H
2 #define PNDSDSIDEALCHARGECONVERSION_H
3 
6 
8 
10 public:
11 
14  virtual Double_t ChargeToDigiValue(Double_t charge){return charge;};
16  virtual Double_t GetRelativeError(Double_t charge){return charge!=0 ? fNoise/charge : 0.;};
17  virtual Double_t GetTimeStamp(Double_t time, Double_t , Double_t ){return ( time -1. );}; // charge mceventtime //[R.K.03/2017] unused variable(s)
18 
19 protected:
21 
22 
24 };
25 #endif /* PNDSDSIDEALCHARGECONVERSION_H */
TClonesArray * digi
ClassDef(PndSdsIdealChargeConversion, 1)
virtual Double_t GetRelativeError(Double_t charge)
virtual Double_t DigiValueToCharge(Double_t digi)
Converts a given digitized charge into charge in electrons.
virtual Double_t ChargeToDigiValue(Double_t charge)
Converts a given charge in electrons into the electronics answer e.g. ToT [ns].
Double_t
virtual Double_t GetTimeStamp(Double_t time, Double_t, Double_t)
absolute time stamp of a hit in ns (clock is taken into account)
double noise