![]() |
PandaRoot
|
#include <PndSdsTotChargeConversion.h>
Public Member Functions | |
PndSdsTotChargeConversion (Int_t VerboseLevel=0) | |
Default constructor. More... | |
PndSdsTotChargeConversion (Double_t tr, Double_t a, Double_t threshold, Double_t clockfrequency=0, Int_t VerboseLevel=0) | |
Main constructor. More... | |
~PndSdsTotChargeConversion () | |
Destructor. More... | |
void | StartExecute () |
virtual Double_t | ChargeToDigiValue (Double_t charge) |
Converts a given charge in electrons into the electronics answer e.g. ToT [ns]. More... | |
virtual Double_t | DigiValueToCharge (Double_t digivalue) |
Converts a given digitized charge into charge in electrons. More... | |
virtual Double_t | GetPileUpTime (Double_t charge) |
returns the time the capacitor is loaded and therefore the time this MVD pixel/strip is blind for other events More... | |
virtual Double_t | GetRelativeError (Double_t Charge) |
virtual Double_t | GetTimeStamp (Double_t tof, Double_t charge, Double_t MCEventTime) |
absolute time stamp of a hit in ns (clock is taken into account) More... | |
virtual Double_t | GetTimeWalk (Double_t Charge) |
virtual Double_t | GetTimeStampErrorAfterCorrection () |
virtual Double_t | GetTimeStep () |
![]() | |
PndSdsChargeConversion (ConvType type) | |
virtual | ~PndSdsChargeConversion () |
virtual void | EndExecute () |
virtual Double_t | DigiValueToCharge (PndSdsDigi &digi) |
Double_t | GetParameter (TString param) |
void | SetParameter (TString param, Double_t value) |
Class to calculate the deposited charge in one digi <-> time over threshold and vice versa
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 charge time tr [ns] is assumed to 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 PndSdsTotChargeConversion.h.
PndSdsTotChargeConversion::PndSdsTotChargeConversion | ( | Int_t | VerboseLevel = 0 | ) |
Default constructor.
PndSdsTotChargeConversion::PndSdsTotChargeConversion | ( | Double_t | tr, |
Double_t | a, | ||
Double_t | threshold, | ||
Double_t | clockfrequency = 0 , |
||
Int_t | VerboseLevel = 0 |
||
) |
Main constructor.
|
inline |
Destructor.
Definition at line 40 of file PndSdsTotChargeConversion.h.
References ChargeToDigiValue(), DigiValueToCharge(), GetPileUpTime(), GetRelativeError(), GetTimeStamp(), GetTimeWalk(), and StartExecute().
|
virtual |
Converts a given charge in electrons into the electronics answer e.g. ToT [ns].
Implements PndSdsChargeConversion.
Referenced by ~PndSdsTotChargeConversion().
|
virtual |
Converts a given digitized charge into charge in electrons.
Implements PndSdsChargeConversion.
Referenced by ~PndSdsTotChargeConversion().
|
virtual |
returns the time the capacitor is loaded and therefore the time this MVD pixel/strip is blind for other events
Referenced by ~PndSdsTotChargeConversion().
|
virtual |
Implements PndSdsChargeConversion.
Referenced by ~PndSdsTotChargeConversion().
|
virtual |
absolute time stamp of a hit in ns (clock is taken into account)
Implements PndSdsChargeConversion.
Referenced by ~PndSdsTotChargeConversion().
|
inlinevirtual |
Reimplemented from PndSdsChargeConversion.
Definition at line 51 of file PndSdsTotChargeConversion.h.
References sqrt().
|
inlinevirtual |
Reimplemented from PndSdsChargeConversion.
Definition at line 53 of file PndSdsTotChargeConversion.h.
|
virtual |
Reimplemented from PndSdsChargeConversion.
Referenced by ~PndSdsTotChargeConversion().
|
virtual |
Reimplemented from PndSdsChargeConversion.
Referenced by ~PndSdsTotChargeConversion().