 |
Belle II Software
release-05-01-25
|
11 #ifndef SIMPLETDCCOUNTTRANSLATOR_H
12 #define SIMPLETDCCOUNTTRANSLATOR_H
14 #include <framework/logging/Logger.h>
15 #include <cdc/dataobjects/TDCCountTranslatorBase.h>
26 class SimpleTDCCountTranslator :
public TDCCountTranslatorBase {
32 B2FATAL(
"This translator is disabled; please use realisticTDCCountTranslator instead.");
56 double timeOfFlightEstimator = 0,
57 bool leftRight =
false,
61 unsigned short = 0)
override;
74 double timeOfFlightEstimator,
76 unsigned short)
override;
Class to identify a wire inside the CDC.
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 getDriftTime(unsigned short tdcCount, const WireID &wireID, double timeOfFlightEstimator, double z, unsigned short) override
Get Drift time.
void setEventTime(short eventTime=0)
If trigger jitter was simulated, in every event one has to give an estimate of the effect.
SimpleTDCCountTranslator(bool useInWirePropagationDelay=false)
Constructor, with the additional information, if propagation in the wire shall be considered.
double m_eventTime
Event timing.
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.
Abstract base class for different kinds of events.
bool m_useInWirePropagationDelay
Flag to activate the propagation delay of the sense wire.
~SimpleTDCCountTranslator()
Destructor.
TVector3 m_backWirePos
Wire position at the cdc backward endplate.