|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRT_DIGITIZATION_TRTTIMECORRECTION_H
6 #define TRT_DIGITIZATION_TRTTIMECORRECTION_H
9 #include "Identifier/Identifier.h"
15 class TRT_DetectorManager;
58 double& propagationTime1,
59 double& propagationTime2);
71 const unsigned int& iRing,
72 const unsigned int& iLayer,
73 const unsigned int& iStraw,
78 const unsigned int& iWheel,
79 const unsigned int& iLayer,
92 const unsigned int& iLayer,
94 double& reflect_dist )
const;
102 double& reflect_dist )
const;
110 std::vector< std::vector< std::vector<double> > >
113 std::vector< std::vector< std::vector< std::vector<double> > > >
double m_maxVertexDisplacement
const unsigned int m_subdetectorMask
double m_signalPropagationSpeed
const InDetDD::TRT_DetectorManager * m_detmgr
double calculateTimeShift_Barrel(const unsigned int &iPhi, const unsigned int &iRing, const unsigned int &iLayer, const unsigned int &iStraw, const int strawID)
Time shift for barrel straws.
double m_lengthDeadRegion
void calculateSignalDists_Barrel(const unsigned int &iRing, const unsigned int &iLayer, double &direct_dist, double &reflect_dist) const
Calculate the distance along the wire the signal travels before reaching the electronics.
TRTTimeCorrection(const TRTDigSettings *digset, const InDetDD::TRT_DetectorManager *detmgr, const TRT_ID *, const ITRT_CalDbTool *)
double calculateTimeShiftFromStrawEnds(const Amg::Vector3D &strawend1_globalcoord, const Amg::Vector3D &strawend2_globalcoord, const int strawID)
Time shift from straw endpoints in global system.
const unsigned int m_right5Bits
void PropagationTime(const int &strawID, const double &meanZ, double &propagationTime1, double &propagationTime2)
Calculates the time between the signal reaching the wire and when it reaches the electronics.
const unsigned int m_shift15Bits
std::vector< double > m_directDistsForEndCapWheels
Cached distances.
bool m_timeShiftPhiSectSymmetry
std::vector< std::vector< std::vector< double > > > m_timeShiftForEndCapPlanes
Cached timeshifts.
double TimeShift(const int &strawID)
Returns the time it would take to travel at light-speed from (0,0,0) to the farthest end of the wire ...
Identifier getIdentifier(int hitID, bool &statusok)
const unsigned int m_shift10Bits
const unsigned int m_shift5Bits
std::vector< double > m_reflectedDistsForEndCapWheels
Cached distances.
const TRTDigSettings * m_settings
std::vector< std::vector< double > > m_reflectedDistsForBarrelLayers
Cached distances.
Class to provide easy MsgStream access and capabilities.
std::vector< std::vector< double > > m_directDistsForBarrelLayers
Cached distances.
double calculateTimeShift_EndCap(const unsigned int &iPhi, const unsigned int &iWheel, const unsigned int &iLayer, const int strawID)
Time shift for end cap straws.
const double m_notInitVal
Value used to denote an uninitialized value.
std::vector< std::vector< std::vector< std::vector< double > > > > m_timeShiftForBarrelStraws
Cached timeshifts.
const ITRT_CalDbTool * m_trtcaldbtool
Eigen::Matrix< double, 3, 1 > Vector3D
The Detector Manager for all TRT Detector elements, it acts as the interface to the detector elements...
Class containing parameters and settings used by TRT digitization.
void calculateSignalDists_EndCap(const unsigned int &iWheel, double &direct_dist, double &reflect_dist) const
Calculate the distance along the wire the signal travels before reaching the electronics.