ATLAS Offline Software
MdtCalibHit.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /***************************************************************************
6  * Mdt Calibration Input Event Data Model
7  * --------------------------------------
8  *
9  * Author : Martin Woudstra
10  * Creation Date: 18 February 2004
11  ***************************************************************************/
12 
13 #ifndef MUONCALIBEVENT_MDTCALIBHIT_H
14 #define MUONCALIBEVENT_MDTCALIBHIT_H
15 // std
16 #include <cassert>
17 #include <cmath>
18 #include <iostream>
19 // other packages
20 
21 // this package
24 
25 // pre-declarations
26 namespace MuonGM {
27  class MdtReadoutElement;
28 }
29 
30 namespace MuonCalib {
31  class MdtCalibHitBase;
32  class IIdToFixedIdTool;
33 } // namespace MuonCalib
34 
35 class MsgStream;
36 
50 class MdtCalibHit {
51 public:
52  static const float kNoValue;
53  MdtCalibHit();
54 
56  const Muon::MdtPrepData *dig, const Amg::Vector3D &globalPos,
58  MdtCalibHit(const Muon::MdtPrepData *dig, const Amg::Vector3D &globalPos, const Amg::Vector3D &localPos,
60 
62  MdtCalibHit(const Identifier &id, int tdc, int adc, const Amg::Vector3D &globalPos,
64  *geo);
65  MdtCalibHit(const Identifier &id, int tdc, int adc, const Amg::Vector3D &globalPos, const Amg::Vector3D &localPos,
67 
69  void setPrepData(const Muon::MdtPrepData *dig);
70  void setIdentifier(const Identifier &id);
71  void setTdc(int tdc);
72  void setAdc(int adc);
73  void setGlobalPos(const Amg::Vector3D &globalPos);
74  void setLocalPos(const Amg::Vector3D &localPos);
78  void setDriftTime(double t);
79  void setDriftRadius(double r, double sigmaR);
80  void setDistanceToTrack(double dist, double sigmaDist);
81  void setTimeFromTrackDistance(double t, double sigmaT);
82  void setSlewingTime(double slew);
83  void setLorentzTime(double lor);
84  void setPropagationTime(double prop);
85  void setTimeOfFlight(double tof);
86  void setDistanceToReadout(double dist);
87  void setWiresagTime(float wsag);
88  inline void setTemperatureTime(float temp) {
89  m_temperatureTime = temp;
90  }
91  void setBackgroundTime(float bkgr);
92  void setBFieldPerp(float bfperp);
93  void setBFieldPara(float bfpara);
94  void setTemperature(float temp);
95  void setProjSag(float sag);
96  void setTubeT0(float t0);
97  void setTubeAdcCal(float adccal);
98  void setLocXtwin(float xtwin);
99  void setSigma2LocXtwin(float xtwin);
100 
101  const MuonGM::MdtReadoutElement *geometry() const;
102  const Identifier &identify() const;
103  const Amg::Vector3D &globalPosition() const;
104  const Amg::Vector3D &localPosition() const;
107  int tdcCount() const;
108  int adcCount() const;
109  double driftTime() const;
110  double driftRadius() const;
111  double sigmaDriftRadius() const;
112  double sigma2DriftRadius() const;
113  double signedDistanceToTrack() const;
114  double sigmaDistanceToTrack() const;
115  double sigma2DistanceToTrack() const;
116  double distanceToReadout() const;
117  double slewingTime() const;
118  double lorentzTime() const;
119  double propagationTime() const;
120  double timeOfFlight() const;
121  double timeFromTrackDistance() const;
122  double sigmaTimeFromTrackDistance() const;
123  double sigma2TimeFromTrackDistance() const;
124  double radialResidual() const;
125  double trackResidual() const;
126  double timeResidual() const;
127  float WiresagTime() const;
128  inline float TemperatureTime() const {
129  return m_temperatureTime;
130  }
131  float BackgroundTime() const;
132  float bFieldPerp() const;
133  float bFieldPara() const;
134  float temperature() const;
135  float projSag() const;
136  float tubeT0() const;
137  float tubeAdcCal() const;
138  float xtwin() const;
139  float sigmaXtwin() const;
140  float sigma2Xtwin() const;
141 
143  const MuonCalib::IIdToFixedIdTool &) const;
144 
145  std::ostream &dump(std::ostream &stream) const;
146  MsgStream &dump(MsgStream &sl) const;
147 
148 private:
150  int m_tdc;
151  int m_adc;
157  float m_driftTime;
172  float m_bFieldPerp;
173  float m_bFieldPara;
175  float m_projSag;
176  float m_tube_t0;
178  float m_xtwin;
180 };
181 
183  m_id(0),
184  m_tdc(0),
185  m_adc(0),
186  m_geometry(0),
187  m_globalPosition(kNoValue, kNoValue, kNoValue),
188  m_localPosition(kNoValue, kNoValue, kNoValue),
189  m_driftTime(kNoValue),
190  m_driftRadius(kNoValue),
191  m_sigma2DriftRadius(1.0),
192  m_timeFromTrackDistance(kNoValue),
193  m_sigma2TimeFromTrackDistance(kNoValue),
194  m_slewingTime(0.0),
195  m_lorentzTime(0.0),
196  m_propagationTime(0.0),
197  m_timeOfFlight(0),
198  m_distanceToReadout(kNoValue),
199  m_signedDistanceToTrack(kNoValue),
200  m_sigma2DistanceToTrack(kNoValue),
201  m_wiresagTime(0),
202  m_temperatureTime(0),
203  m_backgroundTime(0),
204  m_bFieldPerp(kNoValue),
205  m_bFieldPara(kNoValue),
206  m_temperature(kNoValue),
207  m_projSag(0),
208  m_tube_t0(0),
209  m_tube_adccal(0),
210  m_xtwin(kNoValue),
211  m_sigma2XTwin(kNoValue) {}
212 
214  m_id(dig->identify()),
215  m_tdc(dig->tdc()),
216  m_adc(dig->adc()),
217  m_geometry(geo),
218  m_globalPosition(globalPos),
219  m_localPosition(kNoValue, kNoValue, kNoValue),
220  m_driftTime(kNoValue),
221  m_driftRadius(kNoValue),
222  m_sigma2DriftRadius(1.0),
223  m_timeFromTrackDistance(kNoValue),
224  m_sigma2TimeFromTrackDistance(kNoValue),
225  m_slewingTime(0.0),
226  m_lorentzTime(0.0),
227  m_propagationTime(0.0),
228  m_timeOfFlight(0),
229  m_distanceToReadout(kNoValue),
230  m_signedDistanceToTrack(kNoValue),
231  m_sigma2DistanceToTrack(kNoValue),
232  m_wiresagTime(0),
233  m_temperatureTime(0),
234  m_backgroundTime(0),
235  m_bFieldPerp(kNoValue),
236  m_bFieldPara(kNoValue),
237  m_temperature(kNoValue),
238  m_projSag(0),
239  m_tube_t0(0),
240  m_tube_adccal(0),
241  m_xtwin(kNoValue),
242  m_sigma2XTwin(kNoValue) {}
243 
244 inline MdtCalibHit::MdtCalibHit(const Muon::MdtPrepData *dig, const Amg::Vector3D &globalPos, const Amg::Vector3D &localPos,
246  m_id(dig->identify()),
247  m_tdc(dig->tdc()),
248  m_adc(dig->adc()),
249  m_geometry(geo),
250  m_globalPosition(globalPos),
251  m_localPosition(localPos),
252  m_driftTime(kNoValue),
253  m_driftRadius(kNoValue),
254  m_sigma2DriftRadius(1.0),
255  m_timeFromTrackDistance(kNoValue),
256  m_sigma2TimeFromTrackDistance(kNoValue),
257  m_slewingTime(0.0),
258  m_lorentzTime(0.0),
259  m_propagationTime(0.0),
260  m_timeOfFlight(0),
261  m_distanceToReadout(kNoValue),
262  m_signedDistanceToTrack(kNoValue),
263  m_sigma2DistanceToTrack(kNoValue),
264  m_wiresagTime(0),
265  m_temperatureTime(0),
266  m_backgroundTime(0),
267  m_bFieldPerp(kNoValue),
268  m_bFieldPara(kNoValue),
269  m_temperature(kNoValue),
270  m_projSag(0),
271  m_tube_t0(0),
272  m_tube_adccal(0),
273  m_xtwin(kNoValue),
274  m_sigma2XTwin(kNoValue) {}
275 
276 inline MdtCalibHit::MdtCalibHit(const Identifier &id, int tdc, int adc, const Amg::Vector3D &globalPos,
278  m_id(id),
279  m_tdc(tdc),
280  m_adc(adc),
281  m_geometry(geo),
282  m_globalPosition(globalPos),
283  m_localPosition(kNoValue, kNoValue, kNoValue),
284  m_driftTime(kNoValue),
285  m_driftRadius(kNoValue),
286  m_sigma2DriftRadius(1.0),
287  m_timeFromTrackDistance(kNoValue),
288  m_sigma2TimeFromTrackDistance(kNoValue),
289  m_slewingTime(0.0),
290  m_lorentzTime(0.0),
291  m_propagationTime(0.0),
292  m_timeOfFlight(0),
293  m_distanceToReadout(kNoValue),
294  m_signedDistanceToTrack(kNoValue),
295  m_sigma2DistanceToTrack(kNoValue),
296  m_wiresagTime(0),
297  m_temperatureTime(0),
298  m_backgroundTime(0),
299  m_bFieldPerp(kNoValue),
300  m_bFieldPara(kNoValue),
301  m_temperature(kNoValue),
302  m_projSag(0),
303  m_tube_t0(0),
304  m_tube_adccal(0),
305  m_xtwin(kNoValue),
306  m_sigma2XTwin(kNoValue) {}
307 
308 inline MdtCalibHit::MdtCalibHit(const Identifier &id, int tdc, int adc, const Amg::Vector3D &globalPos, const Amg::Vector3D &localPos,
310  m_id(id),
311  m_tdc(tdc),
312  m_adc(adc),
313  m_geometry(geo),
314  m_globalPosition(globalPos),
315  m_localPosition(localPos),
316  m_driftTime(kNoValue),
317  m_driftRadius(kNoValue),
318  m_sigma2DriftRadius(1.0),
319  m_timeFromTrackDistance(kNoValue),
320  m_sigma2TimeFromTrackDistance(kNoValue),
321  m_slewingTime(0.0),
322  m_lorentzTime(0.0),
323  m_propagationTime(0.0),
324  m_timeOfFlight(0),
325  m_distanceToReadout(kNoValue),
326  m_signedDistanceToTrack(kNoValue),
327  m_sigma2DistanceToTrack(kNoValue),
328  m_wiresagTime(0),
329  m_temperatureTime(0),
330  m_backgroundTime(0),
331  m_bFieldPerp(kNoValue),
332  m_bFieldPara(kNoValue),
333  m_temperature(kNoValue),
334  m_projSag(0),
335  m_tube_t0(0),
336  m_tube_adccal(0),
337  m_xtwin(kNoValue),
338  m_sigma2XTwin(kNoValue) {}
339 
341  m_id = dig->identify();
342  m_tdc = dig->tdc();
343  m_adc = dig->adc();
344 }
345 
346 inline void MdtCalibHit::setIdentifier(const Identifier &id) { m_id = id; }
347 
348 inline void MdtCalibHit::setTdc(int tdc) { m_tdc = tdc; }
349 
350 inline void MdtCalibHit::setAdc(int adc) { m_adc = adc; }
351 
352 inline void MdtCalibHit::setGlobalPos(const Amg::Vector3D &globalPos) { m_globalPosition = globalPos; }
353 
354 inline void MdtCalibHit::setLocalPos(const Amg::Vector3D &localPos) { m_localPosition = localPos; }
355 
357 
359 
361 
362 inline void MdtCalibHit::setDriftTime(double t) { m_driftTime = t; }
363 
364 inline void MdtCalibHit::setDriftRadius(double r, double sigmaR) {
365  m_driftRadius = r;
366  m_sigma2DriftRadius = sigmaR * sigmaR;
367 }
368 
369 inline void MdtCalibHit::setDistanceToTrack(double dist, double sigmaDist) {
371  m_sigma2DistanceToTrack = sigmaDist * sigmaDist;
372 }
373 
374 inline void MdtCalibHit::setTimeFromTrackDistance(double t, double sigmaT) {
376  m_sigma2TimeFromTrackDistance = sigmaT * sigmaT;
377 }
378 
379 inline void MdtCalibHit::setSlewingTime(double slew) { m_slewingTime = slew; }
380 
381 inline void MdtCalibHit::setLorentzTime(double lor) { m_lorentzTime = lor; }
382 
383 inline void MdtCalibHit::setPropagationTime(double prop) { m_propagationTime = prop; }
384 
385 inline void MdtCalibHit::setTimeOfFlight(double tof) { m_timeOfFlight = tof; }
386 
387 inline void MdtCalibHit::setDistanceToReadout(double dist) { m_distanceToReadout = dist; }
388 
389 inline void MdtCalibHit::setWiresagTime(float wsag) { m_wiresagTime = wsag; }
390 
392 
394 
396 
397 inline void MdtCalibHit::setProjSag(float val) { m_projSag = val; }
398 
399 inline void MdtCalibHit::setTubeT0(float t0) { m_tube_t0 = t0; }
400 
401 inline void MdtCalibHit::setTubeAdcCal(float adccal) { m_tube_adccal = adccal; }
402 
403 inline void MdtCalibHit::setLocXtwin(float xtwin) { m_xtwin = xtwin; }
404 
405 inline void MdtCalibHit::setSigma2LocXtwin(float sigma2XTwin) { m_sigma2XTwin = sigma2XTwin; }
406 
408 
409 inline const Identifier &MdtCalibHit::identify() const { return m_id; }
410 
412 
414 
416 
418 
419 inline int MdtCalibHit::tdcCount() const { return m_tdc; }
420 
421 inline int MdtCalibHit::adcCount() const { return m_adc; }
422 
423 inline double MdtCalibHit::driftTime() const { return m_driftTime; }
424 
425 inline double MdtCalibHit::driftRadius() const { return m_driftRadius; }
426 
427 inline double MdtCalibHit::sigmaDriftRadius() const { return std::sqrt(m_sigma2DriftRadius); }
428 
429 inline double MdtCalibHit::sigma2DriftRadius() const { return m_sigma2DriftRadius; }
430 
432 
433 inline double MdtCalibHit::sigmaDistanceToTrack() const { return std::sqrt(m_sigma2DistanceToTrack); }
434 
436 
437 inline double MdtCalibHit::distanceToReadout() const { return m_distanceToReadout; }
438 
439 inline double MdtCalibHit::slewingTime() const { return m_slewingTime; }
440 
441 inline double MdtCalibHit::lorentzTime() const { return m_lorentzTime; }
442 
443 inline double MdtCalibHit::propagationTime() const { return m_propagationTime; }
444 
445 inline double MdtCalibHit::timeOfFlight() const { return m_timeOfFlight; }
446 
448 
449 inline double MdtCalibHit::sigmaTimeFromTrackDistance() const { return std::sqrt(m_sigma2TimeFromTrackDistance); }
450 
452 
453 inline double MdtCalibHit::radialResidual() const { return std::abs(m_driftRadius) - std::abs(m_signedDistanceToTrack); }
454 
456 
458 
459 inline float MdtCalibHit::tubeT0() const { return m_tube_t0; }
460 
461 inline float MdtCalibHit::tubeAdcCal() const { return m_tube_adccal; }
462 
463 inline float MdtCalibHit::xtwin() const { return m_xtwin; }
464 
465 inline float MdtCalibHit::sigmaXtwin() const { return std::sqrt(m_sigma2XTwin); }
466 
467 inline float MdtCalibHit::sigma2Xtwin() const { return m_sigma2XTwin; }
468 
469 inline float MdtCalibHit::bFieldPerp() const { return m_bFieldPerp; }
470 
471 inline float MdtCalibHit::bFieldPara() const { return m_bFieldPara; }
472 
473 inline float MdtCalibHit::temperature() const { return m_temperature; }
474 
475 inline float MdtCalibHit::projSag() const { return m_projSag; }
476 
477 std::ostream &operator<<(std::ostream &stream, const MdtCalibHit &hit);
478 
479 MsgStream &operator<<(MsgStream &sl, const MdtCalibHit &hit);
480 
481 #endif // MUONCALIBEVENT_MDTCALIBHIT_H
MdtCalibHit::temperature
float temperature() const
retrieve the temperature
Definition: MdtCalibHit.h:473
MdtCalibHit::geometry
const MuonGM::MdtReadoutElement * geometry() const
retrieve the MdtReadoutElement
Definition: MdtCalibHit.h:407
MdtCalibHit::identify
const Identifier & identify() const
retrieve Identifier
Definition: MdtCalibHit.h:409
beamspotman.r
def r
Definition: beamspotman.py:676
MdtCalibHit::setLocalPos
void setLocalPos(const Amg::Vector3D &localPos)
sets the position in the station coordinates
Definition: MdtCalibHit.h:354
MdtCalibHit::m_timeOfFlight
float m_timeOfFlight
time of flight of the muon (CLHEP::ns)
Definition: MdtCalibHit.h:165
MdtCalibHit::setAdc
void setAdc(int adc)
sets the ADC counts
Definition: MdtCalibHit.h:350
MdtCalibHit::m_id
Identifier m_id
(ATLAS) Identifier
Definition: MdtCalibHit.h:149
MdtCalibHit::kNoValue
static const float kNoValue
constant to set values to invalid
Definition: MdtCalibHit.h:52
MdtCalibHit::setBackgroundTime
void setBackgroundTime(float bkgr)
sets the time correction due to background signal
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition: GeoMuonHits.h:27
MdtCalibHit::globalPointOfClosestApproach
const Amg::Vector3D & globalPointOfClosestApproach() const
retrieve the point of closest approach in global coordinates
Definition: MdtCalibHit.h:415
MdtCalibHit::distanceToReadout
double distanceToReadout() const
retrieve the distance to readout
Definition: MdtCalibHit.h:437
MdtCalibHit::setTubeAdcCal
void setTubeAdcCal(float adccal)
sets the tube mean ADC
Definition: MdtCalibHit.h:401
MdtCalibHit::m_adc
int m_adc
ADC counts.
Definition: MdtCalibHit.h:151
MdtCalibHit::sigma2Xtwin
float sigma2Xtwin() const
retrieve twin position variance
Definition: MdtCalibHit.h:467
MdtCalibHit::setBFieldPerp
void setBFieldPerp(float bfperp)
sets the B field perpendicular to the tube
Definition: MdtCalibHit.h:391
MdtCalibHit::timeOfFlight
double timeOfFlight() const
retrieve the timing correction due to time of flight of the muon
Definition: MdtCalibHit.h:445
MdtCalibHit::projSag
float projSag() const
retrieve the projected sag
Definition: MdtCalibHit.h:475
MdtCalibHit::adcCount
int adcCount() const
retrieve the ADC counts
Definition: MdtCalibHit.h:421
MdtCalibHit::m_tube_adccal
float m_tube_adccal
mean ADC of the tube (calibration)
Definition: MdtCalibHit.h:177
MdtCalibHit::radialResidual
double radialResidual() const
retrieve difference between driftcircle and distance to track (unsigned)
Definition: MdtCalibHit.h:453
MdtCalibHit::sigma2TimeFromTrackDistance
double sigma2TimeFromTrackDistance() const
retrieve the error squared of the time corresponding to distance to track
Definition: MdtCalibHit.h:451
MdtCalibHit::m_temperature
float m_temperature
local temperature
Definition: MdtCalibHit.h:174
MdtCalibHit::m_bFieldPara
float m_bFieldPara
local bfield parallel to the wire
Definition: MdtCalibHit.h:173
MdtCalibHit::m_localPointOfClosestApproach
Amg::Vector3D m_localPointOfClosestApproach
point of closest approach of track to wire in local coordinates
Definition: MdtCalibHit.h:155
MdtCalibHit::m_sigma2XTwin
float m_sigma2XTwin
the twin position variance
Definition: MdtCalibHit.h:179
MdtCalibHit::tubeT0
float tubeT0() const
retrieve the tube T0
Definition: MdtCalibHit.h:459
MdtCalibHit::bFieldPerp
float bFieldPerp() const
retrieve the Bfield perpendicular to the tube
Definition: MdtCalibHit.h:469
MdtCalibHit::sigma2DistanceToTrack
double sigma2DistanceToTrack() const
retrieve the error squared on the distance of the track to the wire
Definition: MdtCalibHit.h:435
MdtCalibHit::setTdc
void setTdc(int tdc)
sets TDC counts
Definition: MdtCalibHit.h:348
ALFA_EventTPCnv_Dict::t0
std::vector< ALFA_RawData_p1 > t0
Definition: ALFA_EventTPCnvDict.h:42
MdtCalibHit::setLocXtwin
void setLocXtwin(float xtwin)
sets twin local position
Definition: MdtCalibHit.h:403
MdtCalibHit::setSlewingTime
void setSlewingTime(double slew)
sets the time correction due to slewing
Definition: MdtCalibHit.h:379
MdtCalibHit::m_driftRadius
float m_driftRadius
drift radius
Definition: MdtCalibHit.h:158
MdtCalibHit::setTemperatureTime
void setTemperatureTime(float temp)
Definition: MdtCalibHit.h:88
MdtCalibHit::m_slewingTime
float m_slewingTime
extra time due to slewing (electronics)
Definition: MdtCalibHit.h:162
xAOD::identify
Identifier identify(const UncalibratedMeasurement *meas)
Returns the associated identifier.
Definition: MuonSpectrometer/MuonPhaseII/Event/xAOD/xAODMuonPrepData/Root/UtilFunctions.cxx:61
MuonCalib::IIdToFixedIdTool
Definition: IIdToFixedIdTool.h:40
MdtCalibHit::m_globalPosition
Amg::Vector3D m_globalPosition
position of the hit expressed in ATLAS global coordinates
Definition: MdtCalibHit.h:153
MdtPrepData.h
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
MdtCalibHit::tubeAdcCal
float tubeAdcCal() const
retrieve the tube mean ADC
Definition: MdtCalibHit.h:461
MdtCalibHit::trackResidual
double trackResidual() const
retrieve difference between driftcircle and distance to track (signed)
Definition: MdtCalibHit.h:455
MdtCalibHit::m_projSag
float m_projSag
projective sag
Definition: MdtCalibHit.h:175
MdtCalibHit::m_globalPointOfClosestApproach
Amg::Vector3D m_globalPointOfClosestApproach
point of closest approach of track to wire in global coordinates
Definition: MdtCalibHit.h:156
Muon::MdtPrepData::adc
int adc() const
Returns the ADC (typically range is 0 to 250)
Definition: MdtPrepData.h:146
MdtCalibHit::m_propagationTime
float m_propagationTime
along the wire
Definition: MdtCalibHit.h:164
AthenaPoolTestWrite.stream
string stream
Definition: AthenaPoolTestWrite.py:12
MdtCalibHit::setDistanceToReadout
void setDistanceToReadout(double dist)
sets the distance to read out
Definition: MdtCalibHit.h:387
MdtCalibHit::hitBase
MuonCalib::MdtCalibHitBase * hitBase(const MuonCalib::IIdToFixedIdTool &) const
return a pointer to the MdtCalibHit object to be used in the calibration framework
Definition: MdtCalibHit.cxx:29
MdtCalibHit::setGlobalPointOfClosestApproach
void setGlobalPointOfClosestApproach(const Amg::Vector3D &point)
sets point of closest approach in global coordinates
Definition: MdtCalibHit.h:356
MdtCalibHit::setTubeT0
void setTubeT0(float t0)
sets the tube t0
Definition: MdtCalibHit.h:399
MdtCalibHit::TemperatureTime
float TemperatureTime() const
Definition: MdtCalibHit.h:128
MdtCalibHit::sigmaDistanceToTrack
double sigmaDistanceToTrack() const
retrieve the error on the distance of the track to the wire
Definition: MdtCalibHit.h:433
MdtCalibHit::m_xtwin
float m_xtwin
the twin position
Definition: MdtCalibHit.h:178
MdtCalibHit::m_sigma2DistanceToTrack
float m_sigma2DistanceToTrack
square of sigma on m_signedDistanceToTrack
Definition: MdtCalibHit.h:168
MdtCalibHit::localPosition
const Amg::Vector3D & localPosition() const
retrieve the position in the station coordinates
Definition: MdtCalibHit.h:413
MdtCalibHit::globalPosition
const Amg::Vector3D & globalPosition() const
retrieve the position in ATLAS coordinates
Definition: MdtCalibHit.h:411
MdtCalibHit::propagationTime
double propagationTime() const
retrieve the timing correction due to the propagation of the signal
Definition: MdtCalibHit.h:443
GeoPrimitives.h
MdtCalibHit::m_sigma2DriftRadius
float m_sigma2DriftRadius
drift radius variance
Definition: MdtCalibHit.h:159
MdtCalibHit::signedDistanceToTrack
double signedDistanceToTrack() const
retrieve the distance of the track to the wire
Definition: MdtCalibHit.h:431
MdtCalibHit::m_sigma2TimeFromTrackDistance
float m_sigma2TimeFromTrackDistance
(square of) sigma on m_timeFromTrackDistance
Definition: MdtCalibHit.h:161
MdtCalibHit::setDriftTime
void setDriftTime(double t)
sets drift time
Definition: MdtCalibHit.h:362
MdtCalibHit::driftRadius
double driftRadius() const
retrieve drift radius
Definition: MdtCalibHit.h:425
MdtCalibHit::m_geometry
const MuonGM::MdtReadoutElement * m_geometry
MdtReadoutElement.
Definition: MdtCalibHit.h:152
MdtCalibHit::setDriftRadius
void setDriftRadius(double r, double sigmaR)
sets drift radius and drift radius error
Definition: MdtCalibHit.h:364
MdtCalibHit::xtwin
float xtwin() const
retrieve twin position
Definition: MdtCalibHit.h:463
MdtCalibHit::m_tube_t0
float m_tube_t0
the t0 of the tube
Definition: MdtCalibHit.h:176
MdtCalibHit::m_bFieldPerp
float m_bFieldPerp
local bfield perpendicular to the wire
Definition: MdtCalibHit.h:172
MuonGM::MdtReadoutElement
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MdtReadoutElement.h:51
MdtCalibHit::setLorentzTime
void setLorentzTime(double lor)
sets the time correction due to the magnetic field
Definition: MdtCalibHit.h:381
MdtCalibHit::setProjSag
void setProjSag(float sag)
sets the projected wire sag
Definition: MdtCalibHit.h:397
MdtCalibHit::timeFromTrackDistance
double timeFromTrackDistance() const
retrieve the time corresponding to the distance to track
Definition: MdtCalibHit.h:447
MdtCalibHit::sigmaTimeFromTrackDistance
double sigmaTimeFromTrackDistance() const
retrieve the error of the time corresponding to the distance to track
Definition: MdtCalibHit.h:449
MdtCalibHit::setIdentifier
void setIdentifier(const Identifier &id)
sets Identifier
Definition: MdtCalibHit.h:346
MdtCalibHit::m_distanceToReadout
float m_distanceToReadout
from hit to read-out side of tube
Definition: MdtCalibHit.h:166
MdtCalibHit::BackgroundTime
float BackgroundTime() const
MdtCalibHit::sigmaDriftRadius
double sigmaDriftRadius() const
retrieve the error on the radius of the drift circle
Definition: MdtCalibHit.h:427
MdtCalibHit::m_localPosition
Amg::Vector3D m_localPosition
position of the hit expressed in local (station) coordinates
Definition: MdtCalibHit.h:154
MdtCalibHit::WiresagTime
float WiresagTime() const
retrieve the timing correction due to wiresag
MdtCalibHit::setGeometry
void setGeometry(const MuonGM::MdtReadoutElement *geo)
sets the MdtReadoutElement
Definition: MdtCalibHit.h:360
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
operator<<
std::ostream & operator<<(std::ostream &stream, const MdtCalibHit &hit)
Definition: MdtCalibHit.cxx:102
MdtCalibHit::sigma2DriftRadius
double sigma2DriftRadius() const
retrieve the error squared on the radius of the drift circle
Definition: MdtCalibHit.h:429
MdtCalibHit
Definition: MdtCalibHit.h:50
MdtCalibHit::sigmaXtwin
float sigmaXtwin() const
retrieve twin position error
Definition: MdtCalibHit.h:465
MdtCalibHit::timeResidual
double timeResidual() const
retrieve difference between drifttime and timeFromTrackDistance
Definition: MdtCalibHit.h:457
MdtCalibHit::m_tdc
int m_tdc
TDC counts.
Definition: MdtCalibHit.h:150
Trk::PrepRawData::identify
Identifier identify() const
return the identifier
MdtCalibHit::slewingTime
double slewingTime() const
retrieve the timing correction due to slewing
Definition: MdtCalibHit.h:439
MdtCalibHit::localPointOfClosestApproach
const Amg::Vector3D & localPointOfClosestApproach() const
retrieve the point of closest approach in local coordinates
Definition: MdtCalibHit.h:417
MdtCalibHit::setSigma2LocXtwin
void setSigma2LocXtwin(float xtwin)
sets twin local position variance
Definition: MdtCalibHit.h:405
MdtCalibHit::setDistanceToTrack
void setDistanceToTrack(double dist, double sigmaDist)
sets the distance to the fitted track and its error
Definition: MdtCalibHit.h:369
Muon::MdtPrepData::tdc
int tdc() const
Returns the TDC (typically range is 0 to 2500).
Definition: MdtPrepData.h:145
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:220
MdtCalibHit::lorentzTime
double lorentzTime() const
retrieve the timing correction due to the magnetic field (lorentz angle)
Definition: MdtCalibHit.h:441
MdtCalibHit::dump
std::ostream & dump(std::ostream &stream) const
ostream operator
Definition: MdtCalibHit.cxx:84
Muon::MdtPrepData
Class to represent measurements from the Monitored Drift Tubes.
Definition: MdtPrepData.h:33
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
MdtCalibHit::setPropagationTime
void setPropagationTime(double prop)
sets the time correction due to the propagation of the signal over the wire
Definition: MdtCalibHit.h:383
MdtCalibHit::bFieldPara
float bFieldPara() const
retrieve the Bfield parallel to the tube
Definition: MdtCalibHit.h:471
MdtCalibHit::m_backgroundTime
float m_backgroundTime
extra time due to background
Definition: MdtCalibHit.h:171
MdtCalibHit::setTimeFromTrackDistance
void setTimeFromTrackDistance(double t, double sigmaT)
sets the time of the distance to the fitted track (and its error)
Definition: MdtCalibHit.h:374
ReadFloatFromCool.adc
adc
Definition: ReadFloatFromCool.py:48
MuonCalib::MdtCalibHitBase
Definition: MdtCalibHitBase.h:38
LArCellConditions.geo
bool geo
Definition: LArCellConditions.py:46
MdtCalibHit::setTemperature
void setTemperature(float temp)
sets the temperature
Definition: MdtCalibHit.h:395
Pythia8_RapidityOrderMPI.val
val
Definition: Pythia8_RapidityOrderMPI.py:14
MdtCalibHit::setWiresagTime
void setWiresagTime(float wsag)
sets the time correction due to wire sag
Definition: MdtCalibHit.h:389
MdtCalibHit::m_driftTime
float m_driftTime
drift time after all corrections
Definition: MdtCalibHit.h:157
MdtCalibHit::m_signedDistanceToTrack
float m_signedDistanceToTrack
signed distance from track to wire
Definition: MdtCalibHit.h:167
MdtCalibHit::m_lorentzTime
float m_lorentzTime
extra time due to magnetic field
Definition: MdtCalibHit.h:163
MdtCalibHit::MdtCalibHit
MdtCalibHit()
default constructor
Definition: MdtCalibHit.h:182
MdtCalibHit::m_wiresagTime
float m_wiresagTime
extra time due to wiresag
Definition: MdtCalibHit.h:169
MdtCalibHit::setGlobalPos
void setGlobalPos(const Amg::Vector3D &globalPos)
sets the position in ATLAS coordinates
Definition: MdtCalibHit.h:352
MdtCalibHit::setLocalPointOfClosestApproach
void setLocalPointOfClosestApproach(const Amg::Vector3D &point)
sets point of closest approach in local coordinates
Definition: MdtCalibHit.h:358
MdtCalibHit::setTimeOfFlight
void setTimeOfFlight(double tof)
sets the time correction due to the muon time of flight
Definition: MdtCalibHit.h:385
MdtCalibHit::driftTime
double driftTime() const
retrieve drift time
Definition: MdtCalibHit.h:423
MdtCalibHit::tdcCount
int tdcCount() const
retrieve TDC counts
Definition: MdtCalibHit.h:419
MdtCalibHit::setPrepData
void setPrepData(const Muon::MdtPrepData *dig)
sets mdtPrepData
Definition: MdtCalibHit.h:340
MdtCalibHit::m_timeFromTrackDistance
float m_timeFromTrackDistance
for calibration or trackfit in time-domain
Definition: MdtCalibHit.h:160
MdtCalibHit::m_temperatureTime
float m_temperatureTime
extra time due to temperature
Definition: MdtCalibHit.h:170
MdtCalibHit::setBFieldPara
void setBFieldPara(float bfpara)
sets the B field parallel to the tube
Definition: MdtCalibHit.h:393
Identifier
Definition: IdentifierFieldParser.cxx:14