Belle II Software development
TDCCountTranslatorBase Class Referenceabstract

Base class for translation of Drift Time into Drift Length. More...

#include <TDCCountTranslatorBase.h>

Inheritance diagram for TDCCountTranslatorBase:
RealisticTDCCountTranslator

Public Member Functions

 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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ TDCCountTranslatorBase()

Constructor.

Definition at line 28 of file TDCCountTranslatorBase.h.

28{}

◆ ~TDCCountTranslatorBase()

virtual ~TDCCountTranslatorBase ( )
inlinevirtual

Destructor.

Definition at line 31 of file TDCCountTranslatorBase.h.

31{}

Member Function Documentation

◆ 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
tdcCountThis 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.
wireIDObject to identify hit wire.
timeOfFlightEstimatorThis 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.
ambiguityDiscriminatorInformation to resolve left/right ambiguity.
zz-position for determining the in-wire-propagation time.
alphaTrack incident angle in r-phi plane.
thetaTrack incident angle in s-z plane (=polar angle).
adcCountADC 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
driftLengthOutput of the getDriftLength function.
wireIDEncoded sense wire ID.
ambiguityDiscriminatorInformation to resolve left/right ambiguity.
zz-position for determining the in-wire-propagation time.
alphaTrack incident angle in r-phi plane.
thetaTrack 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
tdcCountTDC count (ns).
wireIDEncoded sense wire ID.
timeOfFlightEstimatorTime of flight (ns).
zz-position on the wire (cm).
adcCountADC count.
Returns
Drift time (ns)

Implemented in RealisticTDCCountTranslator.


The documentation for this class was generated from the following file: