1 #ifndef PNDMVDCALCTOT_H 2 #define PNDMVDCALCTOT_H 4 #include "FairLogger.h" 40 fclockfrequency = 50.;
41 ftimestep = 1. / fclockfrequency * 1000.;
43 LOG(info) <<
" <PndMvdCalcTot::PndMvdCalcTot()>: default constructor used!";
47 PndMvdCalcTot(Double_t tr, Double_t a, Double_t threshold, Double_t clockfrequency)
51 fthreshold = threshold;
52 fclockfrequency = clockfrequency;
53 ftimestep = 1. / fclockfrequency * 1000.;
62 Double_t
GetTot(Double_t fcharge);
63 void SetParameter(Double_t tr, Double_t a, Double_t threshold);
72 Double_t fclockfrequency;
PndMvdCalcTot(Double_t tr, Double_t a, Double_t threshold, Double_t clockfrequency)
Main constructor.
Double_t GetPileUpTime(Double_t fcharge)
Double_t GetTot(Double_t fcharge)
void SetParameter(Double_t tr, Double_t a, Double_t threshold)
~PndMvdCalcTot()
Destructor.
PndMvdCalcTot()
Default constructor.
Class to calculate the time over threshold.