8 fVerboseLevel(VerboseLevel),
11 fResolution(resolution),
31 Error(
"ConvertDigiValueToELoss(Double_t digi)",
"charge digitization value not calculated properly");
42 if(
fabs(Charge) < 1e-6)
return -1;
66 std::cout<<
" +++charge: "<< Charge <<
" "<<std::endl;
67 std::cout<<
" time since event: "<< time <<
" "<<std::endl;
69 std::cout<<
" total time: "<< totaltime <<std::endl;
70 std::cout<<
" digitized total time:"<< digitizedtime <<
"+++"<<std::endl;
72 return digitizedtime ;
virtual Double_t GetRelativeError(Double_t Charge)
Double_t DigitizeTime(Double_t time)
PndSdsAdcChargeConversion(Int_t threshold=0, Int_t adcstep=1, Int_t resolution=8, Int_t VerboseLevel=0)
constructor
virtual Double_t DigiValueToCharge(Double_t digivalue)
Converts a given digitized charge into charge in electrons.
virtual Int_t GetTimeStamp(Double_t time)
friend F32vec4 fabs(const F32vec4 &a)
virtual Double_t ChargeToDigiValue(Double_t charge)
Converts a given charge in electrons into the electronics answer e.g. ToT [ns].