ATLAS Offline Software
Loading...
Searching...
No Matches
MdtCalibOutput.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef MDTCALIBINTEFACES_MDTCALIBOUTPUT_H
5#define MDTCALIBINTEFACES_MDTCALIBOUTPUT_H
6
8#include <iostream>
9
11public:
12 MdtCalibOutput() = default;
14 double driftRadius() const;
16 double driftRadiusUncert() const;
18 void setDriftRadius(const double radius,
19 const double uncert);
21 double driftTime() const;
23 void setDriftTime(const double driftTime);
24
26 double tubeT0() const;
28 void setTubeT0(const double T0);
29
31 void setPropagationTime(const double T0);
33 double signalPropagationTime() const;
34
35
38 double slewingTime() const;
40 void setSlewingTime(const double slewTime);
42 double lorentzTime() const;
44 void setLorentzTime(const double time);
46 double temperatureTime() const;
48 void setTemperatureTime(const double tempTime);
50 void setMeanAdc(const double adc);
52 double meanAdc() const;
54 double backgroundTime() const;
56 void setBackgroundTime(const double bkgTime);
59 void setDriftUncertSigProp(const double uncert);
62 double driftUncertSigProp() const;
66 void setStatus(const MdtDriftCircleStatus stat);
67private:
68 double m_driftR{0.};
69 double m_driftUncert{0.};
70 double m_tubeT0{0.};
71 double m_sigPropTime{0.};
72 double m_driftTime{0.};
73 double m_slewingTime{0.};
74 double m_lorentzTime{0.};
75 double m_tempTime{0.};
76 double m_meanAdc{0.};
77 double m_bkgTime{0.};
80 MdtDriftCircleStatus m_status{MdtDriftCircleStatus::MdtStatusUnDefined};
81};
82
83std::ostream& operator<<(std::ostream& ostr, const MdtCalibOutput& calibResult);
84#endif
85
std::ostream & operator<<(std::ostream &ostr, const MdtCalibOutput &calibResult)
double backgroundTime() const
Return the time correction arising from background processes.
void setSlewingTime(const double slewTime)
Sets the slewing time.
void setDriftTime(const double driftTime)
Sets the drift time.
void setBackgroundTime(const double bkgTime)
Sets the background time correction.
double driftRadiusUncert() const
Returns the uncertainty on the drift radius.
void setStatus(const MdtDriftCircleStatus stat)
double driftRadius() const
Returns the drift radius of the calibrated object.
double driftTime() const
Returns the drift time inside the tube.
double m_radUncertFromProp
Uncertainty on the drift radius from the propagation.
void setTemperatureTime(const double tempTime)
Sets the temperature time correction.
MdtDriftCircleStatus m_status
void setDriftUncertSigProp(const double uncert)
Sets the uncertainty on the drift radius arising from the unknown position along the wires.
void setTubeT0(const double T0)
Sets the tube T0.
double driftUncertSigProp() const
Returns the uncertainty on the drift radius arising from the unknown position along the wire.
void setLorentzTime(const double time)
Sets the Lorentz time.
void setDriftRadius(const double radius, const double uncert)
Sets the charge drift radius and its associated uncertainty.
Muon::MdtDriftCircleStatus MdtDriftCircleStatus
void setMeanAdc(const double adc)
Sets the mean tube adc.
MdtDriftCircleStatus status() const
Status of the calibration.
double temperatureTime() const
Returns the time corrections stemming from temperature & pressure corrections.
double signalPropagationTime() const
Returns the signal propagation time.
MdtCalibOutput()=default
double lorentzTime() const
Returns the time corrections from the signal propgation inside a magnetic field.
double tubeT0() const
Returns the point in time where the muon typically enters the chamber.
void setPropagationTime(const double T0)
Sets the signal propagation time in the tube wire.
double meanAdc() const
Returns the mean tube adc.
double slewingTime() const
Returns the slewing time (Needed time that the accumulated charge passes the electronic threshold to ...
MdtDriftCircleStatus
Enum to represent the 'status' of Mdt measurements e.g.