FairRoot/PandaRoot
|
Class to calculate the time over threshold. More...
#include <PndMvdCalcTot.h>
Public Member Functions | |
PndMvdCalcTot () | |
Default constructor. More... | |
PndMvdCalcTot (Double_t tr, Double_t a, Double_t threshold, Double_t clockfrequency) | |
Main constructor. More... | |
~PndMvdCalcTot () | |
Destructor. More... | |
void | SetStartOffset () |
Double_t | GetTot (Double_t fcharge) |
void | SetParameter (Double_t tr, Double_t a, Double_t threshold) |
Double_t | GetPileUpTime (Double_t fcharge) |
Private Member Functions | |
Double_t | GetTotWC () |
Private Attributes | |
Double_t | fthreshold |
Double_t | ftr |
Double_t | fa |
Double_t | Q |
Double_t | Qt |
Double_t | t1e |
Double_t | t2e |
Double_t | fclockfrequency |
Double_t | ftimestep |
Double_t | fstarttime |
Double_t | fstoptime |
Double_t | ftimeoffset |
TRandom2 | fRand |
Class to calculate the time over threshold.
This class calculates the time over threshold by using the charge of a pixel/strip. To calculate the TOT a simple capacitor model (integrator) is used. The rising time tr [ns] is assumed ti be constant. This leads to a rising straight line. A constant current unloads the capacitor with a ratio of: a [e/ns]. The distance between the points of intersection between the resulting triangle and the threshold line is the TOT.
q | | /\ a | / \ |—/-------—------------— threshold | / \ ----------------------------— q = 0 (charge) | tr| t[ns] <- TOT ->
Definition at line 31 of file PndMvdCalcTot.h.
|
inline |
Default constructor.
Definition at line 35 of file PndMvdCalcTot.h.
References fa, fclockfrequency, fthreshold, ftimestep, ftr, and SetStartOffset().
|
inline |
Main constructor.
Definition at line 46 of file PndMvdCalcTot.h.
References a, fa, fclockfrequency, fthreshold, ftimestep, ftr, SetStartOffset(), threshold, and tr.
|
inline |
Definition at line 58 of file PndMvdCalcTot.cxx.
Definition at line 3 of file PndMvdCalcTot.cxx.
References fa, fthreshold, ftimeoffset, ftr, GetTotWC(), Q, Qt, t1e, and t2e.
|
private |
Definition at line 32 of file PndMvdCalcTot.cxx.
References fstarttime, fstoptime, ftimestep, t1e, and t2e.
Referenced by GetTot().
Definition at line 51 of file PndMvdCalcTot.cxx.
References a, fa, fthreshold, ftr, threshold, and tr.
void PndMvdCalcTot::SetStartOffset | ( | ) |
Definition at line 47 of file PndMvdCalcTot.cxx.
References fRand, ftimeoffset, and ftimestep.
Referenced by PndMvdCalcTot().
|
private |
Definition at line 67 of file PndMvdCalcTot.h.
Referenced by GetPileUpTime(), GetTot(), PndMvdCalcTot(), and SetParameter().
|
private |
Definition at line 70 of file PndMvdCalcTot.h.
Referenced by PndMvdCalcTot().
|
private |
Definition at line 78 of file PndMvdCalcTot.h.
Referenced by SetStartOffset().
|
private |
Definition at line 72 of file PndMvdCalcTot.h.
Referenced by GetTotWC().
|
private |
Definition at line 73 of file PndMvdCalcTot.h.
Referenced by GetTotWC().
|
private |
Definition at line 65 of file PndMvdCalcTot.h.
Referenced by GetTot(), PndMvdCalcTot(), and SetParameter().
|
private |
Definition at line 74 of file PndMvdCalcTot.h.
Referenced by GetTot(), and SetStartOffset().
|
private |
Definition at line 71 of file PndMvdCalcTot.h.
Referenced by GetTotWC(), PndMvdCalcTot(), and SetStartOffset().
|
private |
Definition at line 66 of file PndMvdCalcTot.h.
Referenced by GetPileUpTime(), GetTot(), PndMvdCalcTot(), and SetParameter().
|
private |
Definition at line 68 of file PndMvdCalcTot.h.
Referenced by GetTot().
|
private |
Definition at line 68 of file PndMvdCalcTot.h.
Referenced by GetTot().
|
private |
Definition at line 69 of file PndMvdCalcTot.h.
Referenced by GetTot(), and GetTotWC().
|
private |
Definition at line 69 of file PndMvdCalcTot.h.
Referenced by GetTot(), and GetTotWC().