![]() |
ATLAS Offline Software
|
Time correction. More...
#include <TRTTimeCorrection.h>
Public Member Functions | |
| TRTTimeCorrection (const TRTDigSettings *digset, const InDetDD::TRT_DetectorManager *detmgr, const TRT_ID *, const ITRT_CalDbTool *) | |
| ~TRTTimeCorrection () | |
| 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 (where the electronics are). | |
| 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. | |
| bool | msgLvl (const MSG::Level lvl) const |
| Test the output level. | |
| MsgStream & | msg () const |
| The standard message stream. | |
| MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. | |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. | |
Protected Attributes | |
| const TRT_ID * | m_trt_id |
Private Member Functions | |
| Identifier | getIdentifier (int hitID, bool &statusok) |
| void | Initialize () |
| 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 | calculateTimeShift_EndCap (const unsigned int &iPhi, const unsigned int &iWheel, const unsigned int &iLayer, const int strawID) |
| Time shift for end cap straws. | |
| double | calculateTimeShiftFromStrawEnds (const Amg::Vector3D &strawend1_globalcoord, const Amg::Vector3D &strawend2_globalcoord, const int strawID) |
| Time shift from straw endpoints in global system. | |
| 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. | |
| 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. | |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| const TRTDigSettings * | m_settings |
| const InDetDD::TRT_DetectorManager * | m_detmgr |
| std::vector< std::vector< std::vector< double > > > | m_timeShiftForEndCapPlanes |
| Cached timeshifts. | |
| std::vector< std::vector< std::vector< std::vector< double > > > > | m_timeShiftForBarrelStraws |
| Cached timeshifts. | |
| std::vector< double > | m_directDistsForEndCapWheels |
| Cached distances. | |
| std::vector< double > | m_reflectedDistsForEndCapWheels |
| Cached distances. | |
| std::vector< std::vector< double > > | m_directDistsForBarrelLayers |
| Cached distances. | |
| std::vector< std::vector< double > > | m_reflectedDistsForBarrelLayers |
| Cached distances. | |
| const unsigned int | m_subdetectorMask |
| const unsigned int | m_right5Bits |
| const unsigned int | m_shift5Bits |
| const unsigned int | m_shift10Bits |
| const unsigned int | m_shift15Bits |
| const double | m_notInitVal |
| Value used to denote an uninitialized value. | |
| double | m_signalPropagationSpeed = 0.0 |
| double | m_lengthDeadRegion = 0.0 |
| double | m_maxVertexDisplacement = 0.0 |
| bool | m_timeShiftPhiSectSymmetry = false |
| bool | m_getT0FromData = false |
| const ITRT_CalDbTool * | m_trtcaldbtool |
| std::string | m_nm |
| Message source name. | |
| boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| MsgStream instance (a std::cout like with print-out levels) | |
| std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| MessageSvc pointer. | |
| std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| Current logging level. | |
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging) | |
Time correction.
Definition at line 26 of file TRTTimeCorrection.h.
| TRTTimeCorrection::TRTTimeCorrection | ( | const TRTDigSettings * | digset, |
| const InDetDD::TRT_DetectorManager * | detmgr, | ||
| const TRT_ID * | trt_id, | ||
| const ITRT_CalDbTool * | calDbTool ) |
Definition at line 22 of file TRTTimeCorrection.cxx.
|
default |
|
private |
Calculate the distance along the wire the signal travels before reaching the electronics.
Both the direct and reflected signal. The signal starts in the middle of the straw.
Definition at line 334 of file TRTTimeCorrection.cxx.
|
private |
Calculate the distance along the wire the signal travels before reaching the electronics.
Both the direct and reflected signal. The signal starts in the middle of the straw.
Definition at line 357 of file TRTTimeCorrection.cxx.
|
private |
Time shift for barrel straws.
Definition at line 172 of file TRTTimeCorrection.cxx.
|
private |
Time shift for end cap straws.
Definition at line 208 of file TRTTimeCorrection.cxx.
|
private |
Time shift from straw endpoints in global system.
Definition at line 236 of file TRTTimeCorrection.cxx.
|
private |
Definition at line 373 of file TRTTimeCorrection.cxx.
|
private |
Definition at line 39 of file TRTTimeCorrection.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 163 of file AthMessaging.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 178 of file AthMessaging.h.
|
inlineinherited |
Test the output level.
| lvl | The message level to test against |
| true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
| void TRTTimeCorrection::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.
Result are two times: direct and reflected signal.
| strawID | straw ID |
| meanZ | z coordinate of signal in straw local coordinates (z counted positive away from electronics) |
| propagationTime1 | propagation time - direct signal |
| propagationTime2 | propagation time - reflected signal |
Definition at line 287 of file TRTTimeCorrection.cxx.
|
inherited |
Change the current logging level.
Use this rather than msg().setLevel() for proper operation with MT.
Definition at line 28 of file AthMessaging.cxx.
| double TRTTimeCorrection::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 (where the electronics are).
| strawID | straw ID |
Definition at line 96 of file TRTTimeCorrection.cxx.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
private |
Definition at line 105 of file TRTTimeCorrection.h.
|
private |
Cached distances.
Definition at line 121 of file TRTTimeCorrection.h.
|
private |
Cached distances.
Definition at line 117 of file TRTTimeCorrection.h.
|
private |
Definition at line 140 of file TRTTimeCorrection.h.
|
mutableprivateinherited |
|
private |
Definition at line 137 of file TRTTimeCorrection.h.
|
mutableprivateinherited |
|
private |
Definition at line 138 of file TRTTimeCorrection.h.
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
private |
Value used to denote an uninitialized value.
Definition at line 133 of file TRTTimeCorrection.h.
|
private |
Cached distances.
Definition at line 123 of file TRTTimeCorrection.h.
|
private |
Cached distances.
Definition at line 119 of file TRTTimeCorrection.h.
|
private |
Definition at line 127 of file TRTTimeCorrection.h.
|
private |
Definition at line 104 of file TRTTimeCorrection.h.
|
private |
Definition at line 129 of file TRTTimeCorrection.h.
|
private |
Definition at line 130 of file TRTTimeCorrection.h.
|
private |
Definition at line 128 of file TRTTimeCorrection.h.
|
private |
Definition at line 136 of file TRTTimeCorrection.h.
|
private |
Definition at line 126 of file TRTTimeCorrection.h.
|
private |
Cached timeshifts.
Definition at line 114 of file TRTTimeCorrection.h.
|
private |
Cached timeshifts.
Definition at line 111 of file TRTTimeCorrection.h.
|
private |
Definition at line 139 of file TRTTimeCorrection.h.
|
protected |
Definition at line 107 of file TRTTimeCorrection.h.
|
private |
Definition at line 142 of file TRTTimeCorrection.h.