11 #include <framework/logging/Logger.h>
12 #include <cdc/dataobjects/TDCCountTranslatorBase.h>
29 B2FATAL(
"This translator is disabled; please use realisticTDCCountTranslator instead.");
53 double timeOfFlightEstimator = 0,
54 bool leftRight =
false,
58 unsigned short = 0)
override;
71 double timeOfFlightEstimator,
73 unsigned short)
override;
Translator mirroring the simple Digitization.
SimpleTDCCountTranslator(bool useInWirePropagationDelay=false)
Constructor, with the additional information, if propagation in the wire shall be considered.
double getDriftLengthResolution(double, const WireID &=WireID(), bool=false, double=0, double=0, double=0) override
Uncertainty corresponding to drift length from getDriftLength of this class.
~SimpleTDCCountTranslator()
Destructor.
void setEventTime(short eventTime=0)
If trigger jitter was simulated, in every event one has to give an estimate of the effect.
double getDriftLength(unsigned short tdcCount, const WireID &wireID=WireID(), double timeOfFlightEstimator=0, bool leftRight=false, double z=0, double=0, double=0, unsigned short=0) override
Get Drift length (cm).
double m_eventTime
Event timing.
double getDriftTime(unsigned short tdcCount, const WireID &wireID, double timeOfFlightEstimator, double z, unsigned short) override
Get Drift time.
TVector3 m_backWirePos
Wire position at the cdc backward endplate.
bool m_useInWirePropagationDelay
Flag to activate the propagation delay of the sense wire.
Base class for translation of Drift Time into Drift Length.
Class to identify a wire inside the CDC.
Abstract base class for different kinds of events.