ATLAS Offline Software
MdtCalibTwinOutput.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef MDTCALIBINTEFACES_MDTCALIBTWINOUTPUT_H
5 #define MDTCALIBINTEFACES_MDTCALIBTWINOUTPUT_H
6 
9 
10 
12  public:
14  MdtCalibTwinOutput () = default;
15 
16  MdtCalibTwinOutput(const MdtCalibInput& primHit,
17  const MdtCalibInput& twinHit,
18  const MdtCalibOutput& primRes,
19  const MdtCalibOutput& twinRes);
20 
21  int primaryAdc() const;
22  int twinAdc() const;
23 
24  int primaryTdc() const;
25  int twinTdc() const;
26 
27  double primaryDriftR() const;
28  double twinDriftR() const;
29 
30  double uncertPrimaryR() const;
31  double uncertTwinR() const;
32 
33 
34  Identifier primaryID() const;
35  Identifier twinID() const;
36 
37 
38  void setLocZ(const double locZ, const double locZuncert);
39 
40  double locZ() const;
41  double sigmaZ() const;
42 
45 
46  private:
48  int m_primAdc{0};
49  int m_primTdc{0};
50  double m_primDriftR{0.};
51  double m_primDriftUncert{0.};
53 
55  int m_twinAdc{0};
56  int m_twinTdc{0};
57  double m_twinDriftR{0.};
58  double m_twinDriftUncert{0.};
60 
61  double m_locZ{0.};
62  double m_locZuncert{0.};
63 };
64 
65 std::ostream& operator<<(std::ostream& ostr, const MdtCalibTwinOutput& output);
66 #endif
MdtCalibTwinOutput::twinStatus
MdtDriftCircleStatus twinStatus() const
Definition: MdtCalibTwinOutput.cxx:55
MdtCalibTwinOutput::m_twinStatus
MdtDriftCircleStatus m_twinStatus
Definition: MdtCalibTwinOutput.h:59
MdtCalibTwinOutput::m_twinTdc
int m_twinTdc
Definition: MdtCalibTwinOutput.h:56
MdtCalibInput.h
MdtCalibTwinOutput::m_primAdc
int m_primAdc
Definition: MdtCalibTwinOutput.h:48
MdtCalibOutput::MdtDriftCircleStatus
Muon::MdtDriftCircleStatus MdtDriftCircleStatus
Definition: MdtCalibOutput.h:63
MdtCalibInput
Definition: MdtCalibInput.h:35
MdtCalibTwinOutput::twinAdc
int twinAdc() const
Definition: MdtCalibTwinOutput.cxx:37
MdtCalibTwinOutput::m_locZ
double m_locZ
Definition: MdtCalibTwinOutput.h:61
MdtCalibTwinOutput::m_primTdc
int m_primTdc
Definition: MdtCalibTwinOutput.h:49
MdtCalibTwinOutput::m_twinId
Identifier m_twinId
Definition: MdtCalibTwinOutput.h:54
Muon::MdtDriftCircleStatus
MdtDriftCircleStatus
Enum to represent the 'status' of Mdt measurements e.g.
Definition: MdtDriftCircleStatus.h:25
MdtCalibTwinOutput::sigmaZ
double sigmaZ() const
Definition: MdtCalibTwinOutput.cxx:49
MdtCalibTwinOutput::twinTdc
int twinTdc() const
Definition: MdtCalibTwinOutput.cxx:38
MdtCalibTwinOutput::twinDriftR
double twinDriftR() const
Definition: MdtCalibTwinOutput.cxx:51
MdtCalibTwinOutput::uncertPrimaryR
double uncertPrimaryR() const
Definition: MdtCalibTwinOutput.cxx:52
MdtCalibTwinOutput::m_twinDriftR
double m_twinDriftR
Definition: MdtCalibTwinOutput.h:57
MdtCalibTwinOutput::primaryTdc
int primaryTdc() const
Definition: MdtCalibTwinOutput.cxx:35
MdtCalibTwinOutput::uncertTwinR
double uncertTwinR() const
Definition: MdtCalibTwinOutput.cxx:53
MdtCalibTwinOutput::m_locZuncert
double m_locZuncert
Definition: MdtCalibTwinOutput.h:62
MdtCalibOutput.h
MdtCalibTwinOutput::locZ
double locZ() const
Definition: MdtCalibTwinOutput.cxx:48
MdtCalibTwinOutput::m_twinDriftUncert
double m_twinDriftUncert
Definition: MdtCalibTwinOutput.h:58
MdtCalibOutput
Definition: MdtCalibOutput.h:10
merge.output
output
Definition: merge.py:17
MdtCalibTwinOutput::twinID
Identifier twinID() const
Definition: MdtCalibTwinOutput.cxx:41
MdtCalibTwinOutput::m_twinAdc
int m_twinAdc
Definition: MdtCalibTwinOutput.h:55
MdtCalibTwinOutput::m_primDriftUncert
double m_primDriftUncert
Definition: MdtCalibTwinOutput.h:51
MdtCalibTwinOutput::primaryStatus
MdtDriftCircleStatus primaryStatus() const
Definition: MdtCalibTwinOutput.cxx:54
MdtCalibTwinOutput::m_primId
Identifier m_primId
Definition: MdtCalibTwinOutput.h:47
MdtCalibTwinOutput::m_primStatus
MdtDriftCircleStatus m_primStatus
Definition: MdtCalibTwinOutput.h:52
operator<<
std::ostream & operator<<(std::ostream &ostr, const MdtCalibTwinOutput &output)
Definition: MdtCalibTwinOutput.cxx:7
MdtCalibTwinOutput
Definition: MdtCalibTwinOutput.h:11
MdtCalibTwinOutput::MdtCalibTwinOutput
MdtCalibTwinOutput()=default
MdtCalibTwinOutput::m_primDriftR
double m_primDriftR
Definition: MdtCalibTwinOutput.h:50
MdtCalibTwinOutput::primaryAdc
int primaryAdc() const
Definition: MdtCalibTwinOutput.cxx:34
MdtCalibTwinOutput::setLocZ
void setLocZ(const double locZ, const double locZuncert)
Definition: MdtCalibTwinOutput.cxx:43
Muon::MdtStatusUnDefined
@ MdtStatusUnDefined
Undefined.
Definition: MdtDriftCircleStatus.h:43
MdtCalibTwinOutput::primaryDriftR
double primaryDriftR() const
Definition: MdtCalibTwinOutput.cxx:50
MdtCalibTwinOutput::primaryID
Identifier primaryID() const
Definition: MdtCalibTwinOutput.cxx:40
Identifier
Definition: IdentifierFieldParser.cxx:14