![]() |
PandaRoot
|
#include <PndSdsAdcChargeConversion.h>
Public Member Functions | |
| PndSdsAdcChargeConversion (Int_t threshold=0, Int_t adcstep=1, Int_t resolution=8, Int_t VerboseLevel=0) | |
| constructor More... | |
| ~PndSdsAdcChargeConversion () | |
| Destructor. More... | |
| 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 | GetRelativeError (Double_t Charge) |
| virtual Int_t | GetTimeStamp (Double_t time) |
| 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... | |
| Double_t | DigitizeTime (Double_t time) |
| ClassDef (PndSdsAdcChargeConversion, 1) | |
Public Member Functions inherited from PndSdsChargeConversion | |
| PndSdsChargeConversion (ConvType type) | |
| virtual | ~PndSdsChargeConversion () |
| virtual void | StartExecute () |
| virtual void | EndExecute () |
| virtual Double_t | DigiValueToCharge (PndSdsDigi &digi) |
| virtual Double_t | GetTimeWalk (Double_t) |
| virtual Double_t | GetTimeStampErrorAfterCorrection () |
| virtual Double_t | GetTimeStep () |
| Double_t | GetParameter (TString param) |
| void | SetParameter (TString param, Double_t value) |
Public Attributes | |
| Int_t | fVerboseLevel |
| Int_t | fThreshold |
| Int_t | fAdcStep |
| Int_t | fResolution |
| Int_t | fMaxADC |
| Double_t | fTimeStep |
Class to calculate the deposited charge in one digi <-> digital channel number and vice versa
This class calculates the ADC channel number for a given resolution
Open issues: Introduce a possible nonlinear behavior/calibration
Definition at line 18 of file PndSdsAdcChargeConversion.h.
| PndSdsAdcChargeConversion::PndSdsAdcChargeConversion | ( | Int_t | threshold = 0, |
| Int_t | adcstep = 1, |
||
| Int_t | resolution = 8, |
||
| Int_t | VerboseLevel = 0 |
||
| ) |
constructor
|
inline |
Destructor.
Definition at line 24 of file PndSdsAdcChargeConversion.h.
References ChargeToDigiValue(), DigiValueToCharge(), GetRelativeError(), and GetTimeStamp().
|
virtual |
Converts a given charge in electrons into the electronics answer e.g. ToT [ns].
Implements PndSdsChargeConversion.
Referenced by ~PndSdsAdcChargeConversion().
| PndSdsAdcChargeConversion::ClassDef | ( | PndSdsAdcChargeConversion | , |
| 1 | |||
| ) |
| Double_t PndSdsAdcChargeConversion::DigitizeTime | ( | Double_t | time | ) |
|
virtual |
Converts a given digitized charge into charge in electrons.
Implements PndSdsChargeConversion.
Referenced by ~PndSdsAdcChargeConversion().
|
virtual |
Implements PndSdsChargeConversion.
Referenced by ~PndSdsAdcChargeConversion().
|
virtual |
Referenced by ~PndSdsAdcChargeConversion().
|
virtual |
absolute time stamp of a hit in ns (clock is taken into account)
Implements PndSdsChargeConversion.
| Int_t PndSdsAdcChargeConversion::fAdcStep |
Definition at line 35 of file PndSdsAdcChargeConversion.h.
| Int_t PndSdsAdcChargeConversion::fMaxADC |
Definition at line 37 of file PndSdsAdcChargeConversion.h.
| Int_t PndSdsAdcChargeConversion::fResolution |
Definition at line 36 of file PndSdsAdcChargeConversion.h.
| Int_t PndSdsAdcChargeConversion::fThreshold |
Definition at line 34 of file PndSdsAdcChargeConversion.h.
| Double_t PndSdsAdcChargeConversion::fTimeStep |
Definition at line 38 of file PndSdsAdcChargeConversion.h.
| Int_t PndSdsAdcChargeConversion::fVerboseLevel |
Definition at line 33 of file PndSdsAdcChargeConversion.h.