13 #ifndef PNDMVDCALCTOT_H 14 #define PNDMVDCALCTOT_H 16 #include "FairLogger.h" 52 fclockfrequency = 50.;
53 ftimestep = 1. / fclockfrequency * 1000.;
55 LOG(info) <<
" <PndMvdCalcTot::PndMvdCalcTot()>: default constructor used!";
59 PndMvdCalcTot(Double_t tr, Double_t a, Double_t threshold, Double_t clockfrequency)
63 fthreshold = threshold;
64 fclockfrequency = clockfrequency;
65 ftimestep = 1. / fclockfrequency * 1000.;
74 Double_t
GetTot(Double_t fcharge);
75 void SetParameter(Double_t tr, Double_t a, Double_t threshold);
84 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.