![]() |
Belle II Software
release-06-01-15
|
Translator mirroring the simple Digitization. More...
#include <SimpleTDCCountTranslator.h>
Public Member Functions | |
SimpleTDCCountTranslator (bool useInWirePropagationDelay=false) | |
Constructor, with the additional information, if propagation in the wire shall be considered. | |
~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). More... | |
double | getDriftTime (unsigned short tdcCount, const WireID &wireID, double timeOfFlightEstimator, double z, unsigned short) override |
Get Drift time. More... | |
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. More... | |
Private Attributes | |
bool | m_useInWirePropagationDelay |
Flag to activate the propagation delay of the sense wire. More... | |
TVector3 | m_backWirePos |
Wire position at the cdc backward endplate. | |
double | m_eventTime |
Event timing. More... | |
Translator mirroring the simple Digitization.
Definition at line 23 of file SimpleTDCCountTranslator.h.
|
overridevirtual |
Get Drift length (cm).
@parm tdcCount TDC count (ns). @parm wireID Encoded sense wire ID. @parm timeOfFlightEstimator Time of Flight (ns). @parm leftRight left/right flag. @parm z z-positin on the wire (cm).
Implements TDCCountTranslatorBase.
Definition at line 16 of file SimpleTDCCountTranslator.cc.
|
overridevirtual |
Uncertainty corresponding to drift length from getDriftLength of this class.
this function returns the variance that is used as the CDC measurment resolution in track fitting if the default resolution of the CDC Digitizer is changed this value has to be changed, too! this variance is calculated by sigam_cdcHit^2 + sigma_translationError^2 sigma_translationError is an additional (non-gaussian) smearing is introduced due to driftlength to TDC conversio and can be (partially) corrected by adding sigma_translationError^2 = (40/sqrt(12) µm)^2 to sigam_cdcHit^2 see mail: [belle2_tracking:0515]
Currently in the simple digitization just a Gaussian smearing is used.
Implements TDCCountTranslatorBase.
Definition at line 68 of file SimpleTDCCountTranslator.cc.
|
overridevirtual |
Get Drift time.
tdcCount | TDC count (ns). |
wireID | Encoded sense wire ID. |
timeOfFlightEstimator | Time of flight (ns). |
z | z-position on the wire (cm). |
adcCount | ADC count. |
Implements TDCCountTranslatorBase.
Definition at line 33 of file SimpleTDCCountTranslator.cc.
|
private |
Event timing.
If this is not simulated, m_eventTime is set to be 0.
Definition at line 105 of file SimpleTDCCountTranslator.h.
|
private |
Flag to activate the propagation delay of the sense wire.
true : activated, false : the propagation delay is not used.
Definition at line 94 of file SimpleTDCCountTranslator.h.