![]() |
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) |
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 32 of file PndMvdCalcTot.h.
|
inline |
Default constructor.
Definition at line 35 of file PndMvdCalcTot.h.
References SetStartOffset().
|
inline |
Main constructor.
Definition at line 47 of file PndMvdCalcTot.h.
References SetStartOffset().
|
inline |
Destructor.
Definition at line 58 of file PndMvdCalcTot.h.
References GetPileUpTime(), GetTot(), SetParameter(), and SetStartOffset().
Double_t PndMvdCalcTot::GetPileUpTime | ( | Double_t | fcharge | ) |
Referenced by ~PndMvdCalcTot().
Double_t PndMvdCalcTot::GetTot | ( | Double_t | fcharge | ) |
Referenced by ~PndMvdCalcTot().
void PndMvdCalcTot::SetParameter | ( | Double_t | tr, |
Double_t | a, | ||
Double_t | threshold | ||
) |
Referenced by ~PndMvdCalcTot().
void PndMvdCalcTot::SetStartOffset | ( | ) |
Referenced by PndMvdCalcTot(), and ~PndMvdCalcTot().