Base class for translation of Drift Time into Drift Length.
More...
#include <TDCCountTranslatorBase.h>
|
| TDCCountTranslatorBase () |
| Constructor.
|
|
virtual | ~TDCCountTranslatorBase () |
| Destructor.
|
|
virtual double | getDriftLength (unsigned short tdcCount=0, const WireID &wireID=WireID(), double timeOfFlightEstimator=0., bool ambiguityDiscriminator=false, double z=0, double alpha=0, double theta=static_cast< double >(TMath::Pi()/2.), unsigned short adcCount=0)=0 |
| Function for getting a drift length estimation.
|
|
virtual double | getDriftTime (unsigned short tdcCount, const WireID &wireID, double timeOfFlightEstimator, double z, unsigned short adcCount)=0 |
| Get Drift time.
|
|
virtual double | getDriftLengthResolution (double driftLength=0., const WireID &wireID=WireID(), bool ambiguityDiscriminator=false, double z=0, double alpha=0, double theta=static_cast< double >(TMath::Pi()/2.))=0 |
| Uncertainty corresponding to drift length from getDriftLength of this class.
|
|
Base class for translation of Drift Time into Drift Length.
Specific implementations are implemented in the cdc library.
Definition at line 25 of file TDCCountTranslatorBase.h.
◆ TDCCountTranslatorBase()
◆ ~TDCCountTranslatorBase()
◆ getDriftLength()
virtual double getDriftLength |
( |
unsigned short |
tdcCount = 0 , |
|
|
const WireID & |
wireID = WireID() , |
|
|
double |
timeOfFlightEstimator = 0. , |
|
|
bool |
ambiguityDiscriminator = false , |
|
|
double |
z = 0 , |
|
|
double |
alpha = 0 , |
|
|
double |
theta = static_cast< double >(TMath::Pi()/2.) , |
|
|
unsigned short |
adcCount = 0 |
|
) |
| |
|
pure virtual |
Function for getting a drift length estimation.
- Parameters
-
tdcCount | This is the "drift time" saved in the CDCHit. Actually it can be the sum of various effects such as trigger time jitter, propagation time of the signal in the wire of the CDC etc. Actual translators should however get the appropriate drift length including the specified effects. |
wireID | Object to identify hit wire. |
timeOfFlightEstimator | This is an estimator for the time, that lies between the event time/ time of creation of the particle and the time at which the ionisation happened, which is the starting point for the calculation of the drift length/actual drift time. |
ambiguityDiscriminator | Information to resolve left/right ambiguity. |
z | z-position for determining the in-wire-propagation time. |
alpha | Track incident angle in r-phi plane. |
theta | Track incident angle in s-z plane (=polar angle). |
adcCount | ADC count. |
- Returns
- Best estimation of closest distance between the track and the wire.
Implemented in RealisticTDCCountTranslator.
◆ getDriftLengthResolution()
virtual double getDriftLengthResolution |
( |
double |
driftLength = 0. , |
|
|
const WireID & |
wireID = WireID() , |
|
|
bool |
ambiguityDiscriminator = false , |
|
|
double |
z = 0 , |
|
|
double |
alpha = 0 , |
|
|
double |
theta = static_cast< double >(TMath::Pi()/2.) |
|
) |
| |
|
pure virtual |
Uncertainty corresponding to drift length from getDriftLength of this class.
- Parameters
-
driftLength | Output of the getDriftLength function. |
wireID | Encoded sense wire ID. |
ambiguityDiscriminator | Information to resolve left/right ambiguity. |
z | z-position for determining the in-wire-propagation time. |
alpha | Track incident angle in r-phi plane. |
theta | Track incident angle in s-z plane (=polar angle). |
Implemented in RealisticTDCCountTranslator.
◆ getDriftTime()
virtual double getDriftTime |
( |
unsigned short |
tdcCount, |
|
|
const WireID & |
wireID, |
|
|
double |
timeOfFlightEstimator, |
|
|
double |
z, |
|
|
unsigned short |
adcCount |
|
) |
| |
|
pure virtual |
Get Drift time.
- Parameters
-
tdcCount | TDC count (ns). |
wireID | Encoded sense wire ID. |
timeOfFlightEstimator | Time of flight (ns). |
z | z-position on the wire (cm). |
adcCount | ADC count. |
- Returns
- Drift time (ns)
Implemented in RealisticTDCCountTranslator.
The documentation for this class was generated from the following file: