FairRoot/PandaRoot
PndSdsTimeWalkCorrSimple.cxx
Go to the documentation of this file.
1 /*
2  * PndSdsTimeWalkCorrSimple.cpp
3  *
4  * Created on: Aug 26, 2010
5  * Author: esch
6  */
7 
9 
10 
12 
13 //----- Default Constructor
14 
16 : fRisingTime(0.),
17  fConstantCurrent(0.),
18  fTimeOverThreshold(0.),
19  fThreshold(0.),
20  fFrequency(0.),
21  fVerboseLevel(0),
22  fCharge(0.),
23  fTimeWalk(0.)
24 {
25 }
26 //----- Main Constructor
27 
28 PndSdsTimeWalkCorrSimple::PndSdsTimeWalkCorrSimple(Double_t risingtime, Double_t constcurrent, Double_t thr, Double_t frequency, Int_t verblevel)
29 : fRisingTime(risingtime),
30  fConstantCurrent(constcurrent),
31  fTimeOverThreshold(0.),
32  fThreshold(thr),
33  fFrequency(frequency),
34  fVerboseLevel(verblevel),
35  fCharge(0.),
36  fTimeWalk(0.)
37 {
38 }
39 
41 
42 }
43 
45 {
48 
49 
50 return fTimeWalk;
51 }
52 
55 
56 return charge;
57 }
58 
60 {
61 return fRisingTime*fThreshold/charge;
62 
63 }
64 
65 
friend F32vec4 sqrt(const F32vec4 &a)
Definition: P4_F32vec4.h:29
virtual Double_t CorrectionTimeWalk(Double_t tot)
Double_t
ClassImp(PndAnaContFact)