FairRoot/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) | |
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 19 of file PndSdsAdcChargeConversion.h.
PndSdsAdcChargeConversion::PndSdsAdcChargeConversion | ( | Int_t | threshold = 0 , |
Int_t | adcstep = 1 , |
||
Int_t | resolution = 8 , |
||
Int_t | VerboseLevel = 0 |
||
) |
constructor
Definition at line 6 of file PndSdsAdcChargeConversion.cxx.
References fMaxADC, and fResolution.
|
inline |
Converts a given charge in electrons into the electronics answer e.g. ToT [ns].
Implements PndSdsChargeConversion.
Definition at line 19 of file PndSdsAdcChargeConversion.cxx.
References fAdcStep, fMaxADC, and fThreshold.
PndSdsAdcChargeConversion::ClassDef | ( | PndSdsAdcChargeConversion | , |
1 | |||
) |
Definition at line 76 of file PndSdsAdcChargeConversion.cxx.
Referenced by GetTimeStamp().
|
virtualinherited |
Definition at line 3 of file PndSdsChargeConversion.cxx.
References PndSdsChargeConversion::DigiValueToCharge(), and PndSdsDigi::GetCharge().
Converts a given digitized charge into charge in electrons.
Implements PndSdsChargeConversion.
Definition at line 27 of file PndSdsAdcChargeConversion.cxx.
References fAdcStep, fThreshold, and fVerboseLevel.
|
inlinevirtualinherited |
Definition at line 21 of file PndSdsChargeConversion.h.
Referenced by PndSdsHybridHitProducer::Exec().
Definition at line 37 of file PndSdsChargeConversion.h.
References PndSdsChargeConversion::fParams, and PndSdsChargeConversion::it.
Referenced by PndSdsTotChargeConversion::ChargeToDigiValue(), PndSdsTotChargeConversion::DigiValueToCharge(), PndSdsTotChargeConversion::GetPileUpTime(), PndSdsTotChargeConversion::GetRelativeError(), PndSdsTotChargeConversion::GetTimeWalk(), and PndSdsTotChargeConversion::PndSdsTotChargeConversion().
Implements PndSdsChargeConversion.
Definition at line 39 of file PndSdsAdcChargeConversion.cxx.
References fabs(), and fAdcStep.
|
virtual |
Definition at line 46 of file PndSdsAdcChargeConversion.cxx.
|
virtual |
absolute time stamp of a hit in ns (clock is taken into account)
Implements PndSdsChargeConversion.
Definition at line 55 of file PndSdsAdcChargeConversion.cxx.
References DigitizeTime(), Double_t, and fVerboseLevel.
|
inlinevirtualinherited |
Reimplemented in PndSdsTotChargeConversion.
Definition at line 31 of file PndSdsChargeConversion.h.
Referenced by PndLmdNoiseProducer::AddDigiPixel(), and PndMvdNoiseProducer::AddDigiPixel().
|
inlinevirtualinherited |
Reimplemented in PndSdsTotChargeConversion.
Definition at line 35 of file PndSdsChargeConversion.h.
Referenced by PndSdsStripHitProducer::AddDigi(), and PndSdsHybridHitProducer::Exec().
Reimplemented in PndSdsTotChargeConversion.
Definition at line 27 of file PndSdsChargeConversion.h.
Referenced by PndSdsStripHitProducer::AddDigi(), PndLmdNoiseProducer::AddDigiPixel(), PndMvdNoiseProducer::AddDigiPixel(), and PndSdsHybridHitProducer::Exec().
Definition at line 45 of file PndSdsChargeConversion.h.
References PndSdsChargeConversion::fParams.
Referenced by PndSdsTotChargeConversion::ChargeToDigiValue(), PndSdsTotChargeConversion::GetTimeWalk(), and PndSdsTotChargeConversion::PndSdsTotChargeConversion().
|
inlinevirtualinherited |
Reimplemented in PndSdsTotChargeConversion.
Definition at line 20 of file PndSdsChargeConversion.h.
Referenced by PndSdsHybridHitProducer::Exec().
Int_t PndSdsAdcChargeConversion::fAdcStep |
Definition at line 40 of file PndSdsAdcChargeConversion.h.
Referenced by ChargeToDigiValue(), DigiValueToCharge(), and GetRelativeError().
Int_t PndSdsAdcChargeConversion::fMaxADC |
Definition at line 42 of file PndSdsAdcChargeConversion.h.
Referenced by ChargeToDigiValue(), and PndSdsAdcChargeConversion().
Int_t PndSdsAdcChargeConversion::fResolution |
Definition at line 41 of file PndSdsAdcChargeConversion.h.
Referenced by PndSdsAdcChargeConversion().
Int_t PndSdsAdcChargeConversion::fThreshold |
Definition at line 39 of file PndSdsAdcChargeConversion.h.
Referenced by ChargeToDigiValue(), and DigiValueToCharge().
Double_t PndSdsAdcChargeConversion::fTimeStep |
Definition at line 43 of file PndSdsAdcChargeConversion.h.
Int_t PndSdsAdcChargeConversion::fVerboseLevel |
Definition at line 38 of file PndSdsAdcChargeConversion.h.
Referenced by DigiValueToCharge(), and GetTimeStamp().