 |
Belle II Software
release-05-01-25
|
11 #ifndef REALISTICTDCCOUNTTRANSLATOR_H
12 #define REALISTICTDCCOUNTTRANSLATOR_H
14 #include <cdc/dataobjects/TDCCountTranslatorBase.h>
15 #include <cdc/geometry/CDCGeometryPar.h>
16 #include <cdc/geometry/CDCGeoControlPar.h>
17 #include <cdc/simulation/CDCSimControlPar.h>
19 #include <framework/dataobjects/EventT0.h>
28 class RealisticTDCCountTranslator :
public TDCCountTranslatorBase {
41 void setEventTime(
double eventTime = 0) __attribute__((deprecated))
64 double timeOfFlightEstimator = 0,
65 bool leftRight =
false,
68 double theta =
static_cast<double>(TMath::Pi() / 2.),
69 unsigned short adcCount = 0)
override;
82 double timeOfFlightEstimator,
84 unsigned short adcCount)
override;
99 bool leftRight =
false,
102 double =
static_cast<double>(TMath::Pi() / 2.))
override;
Class to identify a wire inside the CDC.
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.
double m_fudgeFactor
Cached fudge factor for space resol.
void setEventTime(double eventTime=0) __attribute__((deprecated))
If trigger jitter was simulated, in every event one has to give an estimate of the effect.
~RealisticTDCCountTranslator()
Destructor.
StoreObjPtr< EventT0 > m_eventTimeStoreObject
Event timing.
const CDCGeometryPar & m_cdcp
Cached reference to CDC GeometryPar object.
const CDCGeoControlPar & m_gcp
Cached reference to CDC GeoControlPar object.
The Class for CDC Geometry Parameters.
Abstract base class for different kinds of events.
The Class for CDC Simulation Control Parameters.
Type-safe access to single objects in the data store.
RealisticTDCCountTranslator(bool useInWirePropagationDelay=false)
Constructor, with the additional information, if propagation in the wire shall be considered.
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.
double getDriftTime(unsigned short tdcCount, const WireID &wireID, double timeOfFlightEstimator, double z, unsigned short adcCount) override
Get Drift time.
const CDCSimControlPar & m_scp
Cached reference to CDC SimControlPar object.
bool m_useInWirePropagationDelay
Flag to activate the propagation delay of the sense wire.
bool m_realData
Flag to distinguish betw.
The Class for CDC Geometry Control Parameters.
const double m_tdcBinWidth
Cached TDC bin width (ns).