11#include <cdc/dataobjects/WireID.h>
52 double timeOfFlightEstimator = 0.,
53 bool ambiguityDiscriminator =
false,
56 double theta =
static_cast<double>(TMath::Pi() / 2.),
57 unsigned short adcCount = 0) = 0;
70 double timeOfFlightEstimator,
72 unsigned short adcCount) = 0;
86 bool ambiguityDiscriminator =
false,
89 double theta =
static_cast<double>(TMath::Pi() / 2.)) = 0;
Base class for translation of Drift Time into Drift Length.
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.
TDCCountTranslatorBase()
Constructor.
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.
virtual double getDriftTime(unsigned short tdcCount, const WireID &wireID, double timeOfFlightEstimator, double z, unsigned short adcCount)=0
Get Drift time.
virtual ~TDCCountTranslatorBase()
Destructor.
Class to identify a wire inside the CDC.
Abstract base class for different kinds of events.