Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
MdtCalibInput Class Reference

#include <MdtCalibInput.h>

Collaboration diagram for MdtCalibInput:

Public Types

enum  BFieldComp { BFieldComp::alongWire = 0, BFieldComp::alongTrack = 1 }
 

Public Member Functions

 MdtCalibInput (const Identifier &id, const int16_t adc, const int16_t tdc, const MuonGMR4::MdtReadoutElement *reEle, const ActsGeometryContext &gctx)
 Minimal constructor in the PhaseII geomerty setup. More...
 
 MdtCalibInput (const Identifier &id, const int16_t adc, const int16_t tdc, const MuonGM::MdtReadoutElement *reEle)
 Minimal constructor in the legacy geomerty setup. More...
 
 MdtCalibInput (const MdtDigit &digit, const MuonGM::MuonDetectorManager &detMgr)
 Constructor taking the Mdt digit & the legacy II detector manager. More...
 
 MdtCalibInput (const MdtDigit &digit, const MuonGMR4::MuonDetectorManager &detMgr, const ActsGeometryContext &gctx)
 Constructor taking the Mdt digit & the Phase II detector manager. More...
 
 MdtCalibInput (const Muon::MdtPrepData &prd)
 Constructor taking the MdtPrepdata. More...
 
 MdtCalibInput (const xAOD::MdtDriftCircle &prd, const ActsGeometryContext &gctx)
 Constructor taking taking the xAOD::MdtDriftCircle. More...
 
 MdtCalibInput (MdtCalibInput &&other)=default
 
MdtCalibInputoperator= (MdtCalibInput &&other)=default
 
 ~MdtCalibInput ()
 
const Identifieridentify () const
 Returns the Identifier of the hit. More...
 
int16_t tdc () const
 Returns the tdc counts of the hit. More...
 
int16_t adc () const
 Returns the amount of accumulated charge. More...
 
const MuonGM::MdtReadoutElementlegacyDescriptor () const
 Returns the legacy readout element. More...
 
const MuonGMR4::MdtReadoutElementdecriptor () const
 Returns the R4 readout element. More...
 
const Amg::Vector3DclosestApproach () const
 Returns the point of closest approach to the wire. More...
 
void setClosestApproach (const Amg::Vector3D &approach)
 Sets the closest approach. More...
 
const Amg::Vector3DtrackDirection () const
 Returns the track direction (Can be zero) More...
 
void setTrackDirection (const Amg::Vector3D &trackDir, bool hasPhi)
 Sets the direction of the externally determined track. More...
 
bool trackDirHasPhi () const
 Returns whether the track has a phi constaint or not. More...
 
double timeOfFlight () const
 Returns the time of flight. More...
 
void setTimeOfFlight (const double toF)
 Sets the time of flight (Usually globPos.mag() * inverseSpeed of light) More...
 
double triggerTime () const
 Returns the trigger offset time. More...
 
void setTriggerTime (const double trigTime)
 Sets the trigger offset time. More...
 
double distanceToTrack () const
 Returns the distance to track (signed) More...
 
Amg::Vector2D projectMagneticField (const Amg::Vector3D &fieldInGlob) const
 Splits the B-field into the components that point along the transverse track direction & along the tube wire. More...
 
double signalPropagationDistance () const
 Calculates the distance that the signal has to travel along the wire. More...
 
const Trk::StraightLineSurfacelegacySurface () const
 Returns the assocaited ideal surface (Throw exception if no legacy RE is available) More...
 
const Amg::Vector3DsurfaceCenter () const
 Returns the center of the associated surface. More...
 
double tubeLength () const
 Returns the tube length. More...
 
double readOutSide () const
 Returns the sign of the readout position in local coordinates. More...
 

Private Types

using ReadoutEle_t = std::variant< const MuonGM::MdtReadoutElement *, const MuonGMR4::MdtReadoutElement * >
 Variant type to store the legacy & Phase-II style readout geometry in a single variable. More...
 

Private Member Functions

const Amg::Transform3DlocalToGlobal () const
 set whether the
More...
 
Amg::Vector3D center () const
 Translational part of the local -> global transform. More...
 

Private Attributes

Identifier m_id {}
 Tube identifier. More...
 
int16_t m_adc {0}
 Adc counts of the hit. More...
 
int16_t m_tdc {0}
 Tdc counts of the hit. More...
 
const ActsGeometryContextm_gctx {nullptr}
 Geometry context, needed to fetch the alignment. More...
 
ReadoutEle_t m_RE {}
 Pointer to the associated readout element. More...
 
IdentifierHash m_hash {}
 Measurement hash of the Identifier (needed for Phase II) More...
 
Amg::Vector3D m_approach {center()}
 Point of closest approach of the track. More...
 
Amg::Vector3D m_trackDir {Amg::Vector3D::Zero()}
 Global track direction. More...
 
bool m_trackHasPhi {false}
 Does the track direction contain a phi constraint. More...
 
double m_ToF {center().mag() * s_inverseSpeed}
 
double m_trigTime {0.}
 Trigger time. More...
 
double m_distToTrack {0.}
 Distance to track (signed) More...
 

Static Private Attributes

static constexpr double s_inverseSpeed {1. / Gaudi::Units::c_light}
 Time of flight. More...
 

Detailed Description

Definition at line 34 of file MdtCalibInput.h.

Member Typedef Documentation

◆ ReadoutEle_t

Variant type to store the legacy & Phase-II style readout geometry in a single variable.

Definition at line 158 of file MdtCalibInput.h.

Member Enumeration Documentation

◆ BFieldComp

Enumerator
alongWire 
alongTrack 

Definition at line 124 of file MdtCalibInput.h.

124  {
125  alongWire = 0,
126  alongTrack = 1,
127  };

Constructor & Destructor Documentation

◆ MdtCalibInput() [1/7]

MdtCalibInput::MdtCalibInput ( const Identifier id,
const int16_t  adc,
const int16_t  tdc,
const MuonGMR4::MdtReadoutElement reEle,
const ActsGeometryContext gctx 
)

Minimal constructor in the PhaseII geomerty setup.

It takes all necessary ingredients to run later the calibration loop.

Parameters
idIdentifier of the hit to calibrate
adcRecorded adc counts from the tube
tdcRecorded tdc counts from the tube
detMgrPointer to the associated readout element
gctxGeometry context to globally align the tube within ATLAS

Definition at line 32 of file MdtCalibInput.cxx.

36  :
37  m_id{id},
38  m_adc{adc},
39  m_tdc{tdc},
40  m_gctx{&gctx},
41  m_RE{reEle},
42  m_hash{std::get<const MuonGMR4::MdtReadoutElement*>(m_RE)->measurementHash(m_id)} {}

◆ MdtCalibInput() [2/7]

MdtCalibInput::MdtCalibInput ( const Identifier id,
const int16_t  adc,
const int16_t  tdc,
const MuonGM::MdtReadoutElement reEle 
)

Minimal constructor in the legacy geomerty setup.

It takes all necessary ingredients to run later the calibration loop.

Parameters
idIdentifier of the hit to calibrate
adcRecorded adc counts from the tube
tdcRecorded tdc counts from the tube
reElePointer to the associated readout element

Definition at line 50 of file MdtCalibInput.cxx.

53  :
54  m_id{id},
55  m_adc{adc},
56  m_tdc{tdc},
57  m_RE{reEle} {}

◆ MdtCalibInput() [3/7]

MdtCalibInput::MdtCalibInput ( const MdtDigit digit,
const MuonGM::MuonDetectorManager detMgr 
)

Constructor taking the Mdt digit & the legacy II detector manager.

Parameters
digitDigit containing all adc & tdc information
detMgrReference to the Detector manager to fetch the Proper readout element
gctxGeometry context to globally align the tube within ATLAS

Definition at line 59 of file MdtCalibInput.cxx.

60  :
61  MdtCalibInput(digit.identify(), digit.adc(), digit.tdc(),
62  detMgr.getMdtReadoutElement(digit.identify())) {}

◆ MdtCalibInput() [4/7]

MdtCalibInput::MdtCalibInput ( const MdtDigit digit,
const MuonGMR4::MuonDetectorManager detMgr,
const ActsGeometryContext gctx 
)

Constructor taking the Mdt digit & the Phase II detector manager.

Parameters
digitDigit containing all adc & tdc information
detMgrReference to the Detector manager to fetch the Proper readout element
gctxGeometry context to globally align the tube within ATLAS

Definition at line 44 of file MdtCalibInput.cxx.

46  :
47  MdtCalibInput(digit.identify(), digit.adc(), digit.tdc(),
48  detMgr.getMdtReadoutElement(digit.identify()), gctx){}

◆ MdtCalibInput() [5/7]

MdtCalibInput::MdtCalibInput ( const Muon::MdtPrepData prd)

Constructor taking the MdtPrepdata.

The

Definition at line 76 of file MdtCalibInput.cxx.

76  :
77  m_id{prd.identify()},
78  m_adc{static_cast<int16_t>(prd.adc())},
79  m_tdc{static_cast<int16_t>(prd.tdc())},
80  m_RE{prd.detectorElement()},
81  m_approach{prd.globalPosition()} {
82 }

◆ MdtCalibInput() [6/7]

MdtCalibInput::MdtCalibInput ( const xAOD::MdtDriftCircle prd,
const ActsGeometryContext gctx 
)

Constructor taking taking the xAOD::MdtDriftCircle.

Parameters
prdReference to the uncalibrated Drift circle
gctxGeometry context to place the drift circle globally within ATLAS

Definition at line 65 of file MdtCalibInput.cxx.

66  :
67  m_id{prd.identify()},
68  m_adc{prd.adc()},
69  m_tdc{prd.tdc()},
70  m_gctx{&gctx},
71  m_RE{prd.readoutElement()},
72  m_hash{prd.measurementHash()},

◆ MdtCalibInput() [7/7]

MdtCalibInput::MdtCalibInput ( MdtCalibInput &&  other)
default

◆ ~MdtCalibInput()

MdtCalibInput::~MdtCalibInput ( )
default

Member Function Documentation

◆ adc()

int16_t MdtCalibInput::adc ( ) const

Returns the amount of accumulated charge.

Definition at line 86 of file MdtCalibInput.cxx.

86 { return m_adc; }

◆ center()

Amg::Vector3D MdtCalibInput::center ( ) const
private

Translational part of the local -> global transform.

Definition at line 192 of file MdtCalibInput.cxx.

192  {
193  return localToGlobal().translation();
194 }

◆ closestApproach()

const Amg::Vector3D & MdtCalibInput::closestApproach ( ) const

Returns the point of closest approach to the wire.

Definition at line 105 of file MdtCalibInput.cxx.

105 {return m_approach; }

◆ decriptor()

const MuonGMR4::MdtReadoutElement * MdtCalibInput::decriptor ( ) const

Returns the R4 readout element.

Definition at line 96 of file MdtCalibInput.cxx.

96  {
97  return std::visit([](const auto& re) -> const MuonGMR4::MdtReadoutElement*{
98  using REType = std::decay_t<decltype(re)>;
99  if constexpr( std::is_same_v<REType, const MuonGMR4::MdtReadoutElement*>){
100  return re;
101  }
102  return nullptr;
103  }, m_RE);
104 }

◆ distanceToTrack()

double MdtCalibInput::distanceToTrack ( ) const

Returns the distance to track (signed)

Definition at line 156 of file MdtCalibInput.cxx.

156 { return m_distToTrack; }

◆ identify()

const Identifier & MdtCalibInput::identify ( ) const

Returns the Identifier of the hit.

Definition at line 84 of file MdtCalibInput.cxx.

84 { return m_id; }

◆ legacyDescriptor()

const MuonGM::MdtReadoutElement * MdtCalibInput::legacyDescriptor ( ) const

Returns the legacy readout element.

Definition at line 87 of file MdtCalibInput.cxx.

87  {
88  return std::visit([](const auto& re) -> const MuonGM::MdtReadoutElement*{
89  using REType = std::decay_t<decltype(re)>;
90  if constexpr( std::is_same_v<REType, const MuonGM::MdtReadoutElement*>){
91  return re;
92  }
93  return nullptr;
94  }, m_RE);
95 }

◆ legacySurface()

const Trk::StraightLineSurface & MdtCalibInput::legacySurface ( ) const

Returns the assocaited ideal surface (Throw exception if no legacy RE is available)

Definition at line 138 of file MdtCalibInput.cxx.

138  {
140  assert(re != nullptr);
141  return re->surface(identify());
142 }

◆ localToGlobal()

const Amg::Transform3D & MdtCalibInput::localToGlobal ( ) const
private

set whether the

Local to global transformation of the tube

Definition at line 181 of file MdtCalibInput.cxx.

181  {
182  return std::visit([this](const auto& re) ->const Amg::Transform3D&{
183  using REType = std::decay_t<decltype(re)>;
184  if constexpr(std::is_same_v<REType, const MuonGMR4::MdtReadoutElement*>){
185  assert(m_gctx != nullptr);
186  return re->localToGlobalTrans(*m_gctx, m_hash);
187  } else if (std::is_same_v<REType, const MuonGM::MdtReadoutElement*>) {
188  return re->localToGlobalTransf(identify());
189  }
190  }, m_RE);
191 }

◆ operator=()

MdtCalibInput& MdtCalibInput::operator= ( MdtCalibInput &&  other)
default

◆ projectMagneticField()

Amg::Vector2D MdtCalibInput::projectMagneticField ( const Amg::Vector3D fieldInGlob) const

Splits the B-field into the components that point along the transverse track direction & along the tube wire.

Rotate the B-field into the rest frame of the tube (Z-axis along the wire)

In the local coordinate system, the wire points along the z-axis

Convert kilo tesla into tesla... Waaait whaat?

Definition at line 125 of file MdtCalibInput.cxx.

125  {
126  const Amg::Transform3D trf{localToGlobal().inverse()};
128  const Amg::Vector3D locBField = trf.linear() * fieldInGlob;
130  const Amg::Vector3D locTrkDir = trf.linear() * trackDirection();
131 
132  const double perpendComp = locTrkDir.block<2,1>(0,0).dot(locBField.block<2,1>(0,0))
133  / locTrkDir.perp();
134  const double paralelComp = locBField.z();
136  return 1000. * Amg::Vector2D{paralelComp, perpendComp};
137 }

◆ readOutSide()

double MdtCalibInput::readOutSide ( ) const

Returns the sign of the readout position in local coordinates.

By convention the new readout geometry points along the negative z-axis

Definition at line 169 of file MdtCalibInput.cxx.

169  {
171  const double roSide = std::visit([this](const auto& re) ->double{
172  using REType = std::decay_t<decltype(re)>;
173  if constexpr(std::is_same_v<REType, const MuonGMR4::MdtReadoutElement*>){
174  return re->getParameters().readoutSide;
175  } else if (std::is_same_v<REType, const MuonGM::MdtReadoutElement*>) {
176  return re->tubeFrame_localROPos(identify()).z() > 0. ? 1. : -1.;
177  }
178  }, m_RE);
179  return roSide;
180 }

◆ setClosestApproach()

void MdtCalibInput::setClosestApproach ( const Amg::Vector3D approach)

Sets the closest approach.

Definition at line 106 of file MdtCalibInput.cxx.

106  {
107  m_approach = approach;
108 }

◆ setTimeOfFlight()

void MdtCalibInput::setTimeOfFlight ( const double  toF)

Sets the time of flight (Usually globPos.mag() * inverseSpeed of light)

Definition at line 116 of file MdtCalibInput.cxx.

116 { m_ToF = toF; }

◆ setTrackDirection()

void MdtCalibInput::setTrackDirection ( const Amg::Vector3D trackDir,
bool  hasPhi 
)

Sets the direction of the externally determined track.

Parameters
trackDirDirection vector of the track (global frame)
hasPhiFlag whether the track direction contains phi information

Definition at line 110 of file MdtCalibInput.cxx.

110  {
111  m_trackDir = trackDir;
112  m_trackHasPhi = hasPhi;
113 }

◆ setTriggerTime()

void MdtCalibInput::setTriggerTime ( const double  trigTime)

Sets the trigger offset time.

Definition at line 119 of file MdtCalibInput.cxx.

119 { m_trigTime = trigTime; }

◆ signalPropagationDistance()

double MdtCalibInput::signalPropagationDistance ( ) const

Calculates the distance that the signal has to travel along the wire.

Definition at line 143 of file MdtCalibInput.cxx.

143  {
144  const double propDist = std::visit([this](const auto& re) ->double {
145  using REType = std::decay_t<decltype(re)>;
146  if constexpr(std::is_same_v<REType, const MuonGMR4::MdtReadoutElement*>){
147  assert(m_gctx != nullptr);
148  return re->distanceToReadout(*m_gctx, m_hash, closestApproach());
149  } else if (std::is_same_v<REType, const MuonGM::MdtReadoutElement*>) {
150  return re->distanceFromRO(closestApproach(), identify()) -
151  re->RODistanceFromTubeCentre(identify());
152  }
153  }, m_RE);
154  return propDist;
155 }

◆ surfaceCenter()

const Amg::Vector3D & MdtCalibInput::surfaceCenter ( ) const

Returns the center of the associated surface.

Definition at line 121 of file MdtCalibInput.cxx.

121  {
122  return legacyDescriptor()->surface(identify()).center();
123 }

◆ tdc()

int16_t MdtCalibInput::tdc ( ) const

Returns the tdc counts of the hit.

Definition at line 85 of file MdtCalibInput.cxx.

85 { return m_tdc; }

◆ timeOfFlight()

double MdtCalibInput::timeOfFlight ( ) const

Returns the time of flight.

Definition at line 115 of file MdtCalibInput.cxx.

115 { return m_ToF; }

◆ trackDirection()

const Amg::Vector3D & MdtCalibInput::trackDirection ( ) const

Returns the track direction (Can be zero)

Definition at line 109 of file MdtCalibInput.cxx.

109 { return m_trackDir; }

◆ trackDirHasPhi()

bool MdtCalibInput::trackDirHasPhi ( ) const

Returns whether the track has a phi constaint or not.

Definition at line 114 of file MdtCalibInput.cxx.

114 { return m_trackHasPhi; }

◆ triggerTime()

double MdtCalibInput::triggerTime ( ) const

Returns the trigger offset time.

Definition at line 118 of file MdtCalibInput.cxx.

118 { return m_trigTime; }

◆ tubeLength()

double MdtCalibInput::tubeLength ( ) const

Returns the tube length.

Definition at line 158 of file MdtCalibInput.cxx.

158  {
159  const double tubeLength = std::visit([this](const auto& re) ->double{
160  using REType = std::decay_t<decltype(re)>;
161  if constexpr(std::is_same_v<REType, const MuonGMR4::MdtReadoutElement*>){
162  return re->tubeLength(m_hash);
163  } else if (std::is_same_v<REType, const MuonGM::MdtReadoutElement*>) {
164  return re->tubeLength(identify());
165  }
166  }, m_RE);
167  return tubeLength;
168  }

Member Data Documentation

◆ m_adc

int16_t MdtCalibInput::m_adc {0}
private

Adc counts of the hit.

Definition at line 151 of file MdtCalibInput.h.

◆ m_approach

Amg::Vector3D MdtCalibInput::m_approach {center()}
private

Point of closest approach of the track.

Definition at line 164 of file MdtCalibInput.h.

◆ m_distToTrack

double MdtCalibInput::m_distToTrack {0.}
private

Distance to track (signed)

Definition at line 175 of file MdtCalibInput.h.

◆ m_gctx

const ActsGeometryContext* MdtCalibInput::m_gctx {nullptr}
private

Geometry context, needed to fetch the alignment.

Definition at line 156 of file MdtCalibInput.h.

◆ m_hash

IdentifierHash MdtCalibInput::m_hash {}
private

Measurement hash of the Identifier (needed for Phase II)

Definition at line 162 of file MdtCalibInput.h.

◆ m_id

Identifier MdtCalibInput::m_id {}
private

Tube identifier.

Definition at line 149 of file MdtCalibInput.h.

◆ m_RE

ReadoutEle_t MdtCalibInput::m_RE {}
private

Pointer to the associated readout element.

Definition at line 160 of file MdtCalibInput.h.

◆ m_tdc

int16_t MdtCalibInput::m_tdc {0}
private

Tdc counts of the hit.

Definition at line 153 of file MdtCalibInput.h.

◆ m_ToF

double MdtCalibInput::m_ToF {center().mag() * s_inverseSpeed}
private

Definition at line 171 of file MdtCalibInput.h.

◆ m_trackDir

Amg::Vector3D MdtCalibInput::m_trackDir {Amg::Vector3D::Zero()}
private

Global track direction.

Definition at line 166 of file MdtCalibInput.h.

◆ m_trackHasPhi

bool MdtCalibInput::m_trackHasPhi {false}
private

Does the track direction contain a phi constraint.

Definition at line 168 of file MdtCalibInput.h.

◆ m_trigTime

double MdtCalibInput::m_trigTime {0.}
private

Trigger time.

Definition at line 173 of file MdtCalibInput.h.

◆ s_inverseSpeed

constexpr double MdtCalibInput::s_inverseSpeed {1. / Gaudi::Units::c_light}
staticconstexprprivate

Time of flight.

Definition at line 170 of file MdtCalibInput.h.


The documentation for this class was generated from the following files:
MdtCalibInput::m_trackDir
Amg::Vector3D m_trackDir
Global track direction.
Definition: MdtCalibInput.h:166
MdtCalibInput::m_trackHasPhi
bool m_trackHasPhi
Does the track direction contain a phi constraint.
Definition: MdtCalibInput.h:168
xAOD::MdtDriftCircle_v1::tdc
int16_t tdc() const
Returns the TDC (typically range is 0 to 2500)
Amg::Vector2D
Eigen::Matrix< double, 2, 1 > Vector2D
Definition: GeoPrimitives.h:48
MdtCalibInput::legacyDescriptor
const MuonGM::MdtReadoutElement * legacyDescriptor() const
Returns the legacy readout element.
Definition: MdtCalibInput.cxx:87
xAOD::MdtDriftCircle_v1::measurementHash
IdentifierHash measurementHash() const
Returns the hash of the measurement channel (tube (x) layer)
Definition: MdtDriftCircle_v1.cxx:29
xAOD::MdtDriftCircle_v1::identify
const Identifier & identify() const
: Returns the Athena identifier of the drift circle.
Definition: MdtDriftCircle_v1.cxx:39
MdtCalibInput::closestApproach
const Amg::Vector3D & closestApproach() const
Returns the point of closest approach to the wire.
Definition: MdtCalibInput.cxx:105
MdtCalibInput::m_approach
Amg::Vector3D m_approach
Point of closest approach of the track.
Definition: MdtCalibInput.h:164
checkRpcDigits.digit
digit
Definition: checkRpcDigits.py:186
Trk::Surface::center
const Amg::Vector3D & center() const
Returns the center position of the Surface.
Muon::MdtPrepData::adc
int adc() const
Returns the ADC (typically range is 0 to 250)
Definition: MdtPrepData.h:146
xAOD::int16_t
setScaleOne setStatusOne setSaturated int16_t
Definition: gFexGlobalRoI_v1.cxx:55
MdtCalibInput::identify
const Identifier & identify() const
Returns the Identifier of the hit.
Definition: MdtCalibInput.cxx:84
xAOD::MdtDriftCircle_v1::readoutElement
const MuonGMR4::MdtReadoutElement * readoutElement() const
Retrieve the associated MdtReadoutElement.
MdtCalibInput::m_ToF
double m_ToF
Definition: MdtCalibInput.h:171
MdtCalibInput::m_hash
IdentifierHash m_hash
Measurement hash of the Identifier (needed for Phase II)
Definition: MdtCalibInput.h:162
MdtCalibInput::localToGlobal
const Amg::Transform3D & localToGlobal() const
set whether the
Definition: MdtCalibInput.cxx:181
MdtCalibInput::m_tdc
int16_t m_tdc
Tdc counts of the hit.
Definition: MdtCalibInput.h:153
MuonGM::MuonDetectorManager::getMdtReadoutElement
const MdtReadoutElement * getMdtReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:204
MuonGM::MdtReadoutElement
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MdtReadoutElement.h:51
MdtCalibInput::m_gctx
const ActsGeometryContext * m_gctx
Geometry context, needed to fetch the alignment.
Definition: MdtCalibInput.h:156
MdtCalibInput::tubeLength
double tubeLength() const
Returns the tube length.
Definition: MdtCalibInput.cxx:158
MdtCalibInput::m_trigTime
double m_trigTime
Trigger time.
Definition: MdtCalibInput.h:173
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition: GeoPrimitives.h:46
MdtCalibInput::m_distToTrack
double m_distToTrack
Distance to track (signed)
Definition: MdtCalibInput.h:175
Muon::MdtPrepData::globalPosition
virtual const Amg::Vector3D & globalPosition() const
Returns the global position of the CENTER of the drift tube (i.e.
Definition: MdtPrepData.h:133
dot.dot
def dot(G, fn, nodesToHighlight=[])
Definition: dot.py:5
Trk::PrepRawData::identify
Identifier identify() const
return the identifier
xAOD::MdtDriftCircle_v1::adc
int16_t adc() const
Returns the ADC (typically range is 0 to 250)
Muon::MdtPrepData::tdc
int tdc() const
Returns the TDC (typically range is 0 to 2500).
Definition: MdtPrepData.h:145
MuonGMR4::MdtReadoutElement
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MdtReadoutElement.h:22
MdtCalibInput::m_RE
ReadoutEle_t m_RE
Pointer to the associated readout element.
Definition: MdtCalibInput.h:160
xAOD::MdtDriftCircle_v1::localCirclePosition
Amg::Vector3D localCirclePosition() const
: Return the measurement's position vector in the local frame.
Definition: MdtDriftCircle_v1.cxx:33
MdtCalibInput::adc
int16_t adc() const
Returns the amount of accumulated charge.
Definition: MdtCalibInput.cxx:86
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
MdtCalibInput::m_adc
int16_t m_adc
Adc counts of the hit.
Definition: MdtCalibInput.h:151
re
const boost::regex re(r_e)
MuonGM::MdtReadoutElement::surface
virtual const Trk::Surface & surface() const override final
Return surface associated with this detector element.
Definition: MuonDetDescr/MuonReadoutGeometry/src/MdtReadoutElement.cxx:885
MdtCalibInput::m_id
Identifier m_id
Tube identifier.
Definition: MdtCalibInput.h:149
CaloLCW_tf.trf
trf
Definition: CaloLCW_tf.py:20
MdtCalibInput::trackDirection
const Amg::Vector3D & trackDirection() const
Returns the track direction (Can be zero)
Definition: MdtCalibInput.cxx:109
MdtCalibInput::tdc
int16_t tdc() const
Returns the tdc counts of the hit.
Definition: MdtCalibInput.cxx:85
Muon::MdtPrepData::detectorElement
virtual const MuonGM::MdtReadoutElement * detectorElement() const override
Returns the detector element corresponding to this PRD.
Definition: MdtPrepData.h:141
MdtCalibInput::MdtCalibInput
MdtCalibInput(const Identifier &id, const int16_t adc, const int16_t tdc, const MuonGMR4::MdtReadoutElement *reEle, const ActsGeometryContext &gctx)
Minimal constructor in the PhaseII geomerty setup.
Definition: MdtCalibInput.cxx:32