11#include <cdc/translators/TDCCountTranslatorBase.h>
12#include <cdc/geometry/CDCGeometryPar.h>
13#include <cdc/geometry/CDCGeoControlPar.h>
14#include <cdc/simulation/CDCSimControlPar.h>
16#include <framework/dataobjects/EventT0.h>
48 double timeOfFlightEstimator = 0,
49 bool leftRight =
false,
52 double theta =
static_cast<double>(TMath::Pi() / 2.),
53 unsigned short adcCount = 0)
override;
66 double timeOfFlightEstimator,
68 unsigned short adcCount)
override;
83 bool leftRight =
false,
86 double =
static_cast<double>(TMath::Pi() / 2.))
override;
The Class for CDC Geometry Control Parameters.
The Class for CDC Geometry Parameters.
The Class for CDC Simulation Control Parameters.
Translator mirroring the realistic Digitization.
StoreObjPtr< EventT0 > m_eventTimeStoreObject
Event timing.
double getDriftLength(unsigned short tdcCount, const WireID &wireID=WireID(), double timeOfFlightEstimator=0, bool leftRight=false, double z=0, double alpha=0, double theta=static_cast< double >(TMath::Pi()/2.), unsigned short adcCount=0) override
Get Drift length.
const double m_tdcBinWidth
Cached TDC bin width (ns).
double m_fudgeFactor
Cached fudge factor for space resol.
const CDCSimControlPar & m_scp
Cached reference to CDC SimControlPar object.
const CDCGeometryPar & m_cdcp
Cached reference to CDC GeometryPar object.
double getDriftLengthResolution(double driftLength, const WireID &wireID=WireID(), bool leftRight=false, double z=0, double alpha=0, double=static_cast< double >(TMath::Pi()/2.)) override
Get position resolution^2 corresponding to the drift length from getDriftLength of this class.
bool m_realData
Flag to distinguish betw.
~RealisticTDCCountTranslator()
Destructor.
bool m_useInWirePropagationDelay
Flag to activate the propagation delay of the sense wire.
const CDCGeoControlPar & m_gcp
Cached reference to CDC GeoControlPar object.
double getDriftTime(unsigned short tdcCount, const WireID &wireID, double timeOfFlightEstimator, double z, unsigned short adcCount) override
Get Drift time.
Base class for translation of Drift Time into Drift Length.
Type-safe access to single objects in the data store.
Class to identify a wire inside the CDC.
Abstract base class for different kinds of events.