#include <HGTD_TdcCalibrationTool.h>
Definition at line 48 of file HGTD_TdcCalibrationTool.h.
◆ StoreGateSvc_t
◆ HGTD_TdcCalibrationTool()
| HGTD_TdcCalibrationTool::HGTD_TdcCalibrationTool |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
◆ activeWindowUpperBound()
AlgTool initialize.
Retrieves the TDC measurment window upper bound based on the sensor placement.
- Parameters
-
| [in] | element | Detector element (module) of the activated sensor. |
- Returns
- Upper bound (in ns) of the TDC measurment window.
Definition at line 25 of file HGTD_TdcCalibrationTool.cxx.
25 {
26
27
28 float hit_time_expected = element->
center().norm() / Gaudi::Units::c_light;
29
30
34 }
38 }
39
41
42 int window_steps;
43 float window_upper_bound;
44
48 }
52 }
53 else{
56 }
57
58 return window_upper_bound;
59}
virtual const Amg::Vector3D & center() const override final
Center in global coordinates.
◆ checkTOAoverflow()
| bool HGTD_TdcCalibrationTool::checkTOAoverflow |
( |
uint8_t | toa | ) |
const |
|
inline |
Check for the overflow flag within TOA code, which indicates an out of range measurement.
- Parameters
-
| [in] | toa | 8-bit TOA code as produced by ALTIROC |
- Returns
- True if overflow bit is set, false otherwise.
Definition at line 94 of file HGTD_TdcCalibrationTool.h.
94 {
96 }
constexpr unsigned int TOA_OVERLFLOW_MASK
◆ declareGaudiProperty()
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
158 {
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
◆ declareProperty()
Definition at line 145 of file AthCommonDataStore.h.
145 {
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
◆ detStore()
◆ evtStore()
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ msg()
◆ msgLvl()
| bool AthCommonMsg< AlgTool >::msgLvl |
( |
const MSG::Level | lvl | ) |
const |
|
inlineinherited |
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ renounce()
Definition at line 380 of file AthCommonDataStore.h.
381 {
384 }
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)
◆ renounceArray()
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ Time2TOA()
Simulate the TDC digitization.
- Parameters
-
| [in] | element | Detector element (module) of the activated sensor. |
| [in] | hit_time | Time as measured by the LGAD sensor |
- Returns
- 8-bit TOA ALTIROC code which is stored in the ALTIROC RDO.
Definition at line 62 of file HGTD_TdcCalibrationTool.cxx.
62 {
63
65
66
67 float tdc_time = window_upper_bound - hit_time;
68
69
70 if( tdc_time < 0 || tdc_time > 2.5){
72 << " outside of TOA TDC range ["
73 << window_upper_bound - 2.5 << ", "
74 << window_upper_bound << "]" );
76 }
77
78
80
82 " hit time digitized: " <<
TOA2Time(element, toa) <<
83 " TOA: " << static_cast<unsigned int>(toa));
84
85 return toa;
86
87}
◆ TOA2Time()
Retrieve time of flight from 7-bit TOA code applying the TDC calibration parameters.
- Parameters
-
| [in] | element | Detector element (module) the RDOs were found on. |
| [in] | toa | 7-bit TOA code as stored in the RDO |
- Returns
- Absolute time to be used on the HGTD_Clusters.
Definition at line 89 of file HGTD_TdcCalibrationTool.cxx.
◆ updateVHKA()
Definition at line 308 of file AthCommonDataStore.h.
308 {
309
310
313 for (
auto k :
keys) {
315 }
316 }
317 }
std::vector< SG::VarHandleKeyArray * > m_vhka
◆ m_active_window
| FloatProperty HGTD_TdcCalibrationTool::m_active_window |
|
private |
Initial value:{this, "PS_ActiveRange", 2.5 * Athena::Units::nanosecond,
"ALTIROC PS active range" }
Definition at line 101 of file HGTD_TdcCalibrationTool.h.
101 {this, "PS_ActiveRange", 2.5 * Athena::Units::nanosecond,
102 "ALTIROC PS active range" };
◆ m_detStore
◆ m_evtStore
◆ m_lhc_rise_edge
| FloatProperty HGTD_TdcCalibrationTool::m_lhc_rise_edge |
|
private |
Initial value:{this, "LHC_RiseEdge",12.5 * Athena::Units::nanosecond,
"LHC clock rise edge time" }
Definition at line 104 of file HGTD_TdcCalibrationTool.h.
104 {this, "LHC_RiseEdge",12.5 * Athena::Units::nanosecond,
105 "LHC clock rise edge time" };
◆ m_ps_large_step
| FloatProperty HGTD_TdcCalibrationTool::m_ps_large_step |
|
private |
Initial value:{this, "PS_LargeStep", 1.562 * Athena::Units::nanosecond,
"ALTIROC PS large step"}
Definition at line 107 of file HGTD_TdcCalibrationTool.h.
107 {this, "PS_LargeStep", 1.562 * Athena::Units::nanosecond,
108 "ALTIROC PS large step"};
◆ m_ps_small_step
| FloatProperty HGTD_TdcCalibrationTool::m_ps_small_step |
|
private |
Initial value:{this, "PS_SmallStep", 9.7 * Athena::Units::picosecond,
"ALTIROC PS small step"}
Definition at line 110 of file HGTD_TdcCalibrationTool.h.
110 {this, "PS_SmallStep", 9.7 * Athena::Units::picosecond,
111 "ALTIROC PS small step"};
◆ m_toa_bin_size
| FloatProperty HGTD_TdcCalibrationTool::m_toa_bin_size |
|
private |
Initial value:{this, "TOABinSize", 20 * Athena::Units::picosecond,
"Nominal TDC TOA bin size"}
Definition at line 113 of file HGTD_TdcCalibrationTool.h.
113 {this, "TOABinSize", 20 * Athena::Units::picosecond,
114 "Nominal TDC TOA bin size"};
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files: