|
ATLAS Offline Software
|
Go to the documentation of this file.
15 #ifndef TRT_DRIFTFUNCTIONTOOL
16 #define TRT_DRIFTFUNCTIONTOOL
26 #include "GaudiKernel/ToolHandle.h"
28 #include "CLHEP/Units/SystemOfUnits.h"
42 const std::string&
name,
55 virtual bool isValidTime(
double drifttime)
const override;
59 virtual double rawTime(
int tdcvalue)
const override;
65 virtual double driftRadius(
double rawtime,
Identifier id,
double&
t0,
bool& isOK,
unsigned int word=0)
const override;
69 virtual double driftRadius(
double drifttime)
const override;
90 ToolHandle< ITRT_CalDbTool >
m_TRTCalDbTool {
this,
"TRTCalDbTool",
"TRT_CalDbTool"};
103 BooleanProperty
m_ismc{
this,
"IsMC",
true};
105 BooleanProperty
m_dummy{
this,
"DummyMode",
false,
106 "flag for ignoring drift time info"};
111 "fudge_factor for error scaling"};
114 {
this,
"AllowDigiVersionOverride",
false};
116 {
this,
"ForcedDigiVersion", 11};
119 {
this,
"ForceUniversalErrors",
false};
124 {
this,
"TrtDescrManageLocation",
"TRT",
"Name of TRT detector manager"};
131 "HT correction for Xe straws in barrel"};
133 "HT correction for Xe straws in endcaps"};
135 "HT correction for Ar straws in barrel"};
137 "HT correction for Ar straws in endcaps"};
140 {
this,
"ToTCorrectionsBarrelXe", {},
141 "ToT corrections for 20 ToT bins in Xe barrel straws"};
143 {
this,
"ToTCorrectionsEndcapXe", {},
144 "ToT corrections for 20 ToT bins in Xe endcap straws"};
146 {
this,
"ToTCorrectionsBarrelAr", {},
147 "ToT corrections for 20 ToT bins in Ar barrel straws"};
149 {
this,
"ToTCorrectionsEndcapAr", {},
150 "ToT corrections for 20 ToT bins in Ar endcap straws"};
154 0. , 0. , 0.1 , 0.262, 0.466,
155 0.607, 0.796, 0.931, 1.065, 1.212,
156 1.326, 1.466, 1.585, 1.689, 1.809,
157 1.880, 1.940, 1.950, 1.955 };
159 0.15, 0.15, 0.20, 0.23, 0.21,
160 0.18, 0.17, 0.16, 0.15, 0.15,
161 0.14, 0.13, 0.12, 0.11, 0.11,
162 0.11, 0.13, 0.20, 0.20 };
166 0. , 0. , 0. , 0.252054, 0.488319,
167 0.751514, 1.00173, 1.21851, 1.40886 , 1.68368 ,
168 1.85363 , 1.91764, 1.94114 };
170 0.10440061, 0.1510298, 0.26130742, 0.260436, 0.246961,
171 0.226037, 0.18272 , 0.195482 , 0.213817, 0.157627,
172 0.0922559, 0.0463124, 0.0480864 };
177 {
return (drifttime>-10. && drifttime<75.); }
186 #endif // TRT_DRIFTFUNCTIONTOOL_H
std::vector< ALFA_RawData_p1 > t0
::StatusCode StatusCode
StatusCode definition for legacy code.
The Detector Manager for all TRT Detector elements, it acts as the interface to the detector elements...
def time(flags, cells_name, *args, **kw)