ATLAS Offline Software
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes | Private Member Functions | Private Attributes | Friends | List of all members
InDet::TRT_DriftCircleOnTrack Class Referencefinal

#include <TRT_DriftCircleOnTrack.h>

Inheritance diagram for InDet::TRT_DriftCircleOnTrack:
Collaboration diagram for InDet::TRT_DriftCircleOnTrack:

Public Member Functions

 TRT_DriftCircleOnTrack ()
 Default constructor - needed for POOL. More...
 
 TRT_DriftCircleOnTrack (const TRT_DriftCircleOnTrack &)
 Copy constructor. More...
 
TRT_DriftCircleOnTrackoperator= (const TRT_DriftCircleOnTrack &)
 Assignment operator. More...
 
TRT_DriftCircleOnTrackoperator= (TRT_DriftCircleOnTrack &&) noexcept
 Move assignment operator. More...
 
 TRT_DriftCircleOnTrack (const InDet::TRT_DriftCircle *RIO, Trk::LocalParameters &&driftRadius, Amg::MatrixX &&errDriftRadius, const IdentifierHash &idDE, double predictedLocZ, const Amg::Vector3D &predictedTrackDirection, const Trk::DriftCircleStatus status)
 Constructor with parameters and without externalPrediction. More...
 
 TRT_DriftCircleOnTrack (const ElementLinkToIDCTRT_DriftCircleContainer &RIO, const Trk::LocalParameters &driftRadius, const Amg::MatrixX &errDriftRadius, IdentifierHash idDE, const Identifier &id, double predictedLocZ, float localAngle, const Trk::DriftCircleStatus status, bool highLevel, double timeOverThreshold)
 Constructor used by the TP converters. More...
 
virtual ~TRT_DriftCircleOnTrack ()
 Destructor. More...
 
virtual TRT_DriftCircleOnTrackclone () const override final
 allows copying without losing the type information. More...
 
virtual const Amg::Vector3DglobalPosition () const override final
 return the global position of this RIO_OnTrack More...
 
virtual const Trk::SurfaceassociatedSurface () const override final
 returns the surface for the local to global transformation More...
 
virtual bool rioType (Trk::RIO_OnTrackType::Type type) const override final
 Method checking the Rio On Track type. More...
 
virtual const TRT_DriftCircleprepRawData () const override final
 returns the PrepRawData - is a TRT_DriftCircle in this scope More...
 
const ElementLinkToIDCTRT_DriftCircleContainerprepRawDataLink () const
 
virtual IdentifierHash idDE () const override final
 returns the DE hashID More...
 
virtual const InDetDD::TRT_BaseElementdetectorElement () const override final
 returns the detector element, assoicated with the PRD of this class More...
 
Trk::DriftCircleSide side () const
 returns the side on which the drift radius is. More...
 
Trk::DriftCircleStatus status () const
 returns the status of the drift radius calibration. More...
 
bool highLevel () const
 returns true if the high level threshold was passed More...
 
double timeOverThreshold () const
 returns time over threshold in ns for valid digits; zero otherwise More...
 
virtual MsgStream & dump (MsgStream &out) const override final
 returns some information about this RIO_OnTrack. More...
 
virtual std::ostream & dump (std::ostream &out) const override final
 returns some information about this RIO_OnTrack. More...
 
float localAngle () const
 
float positionAlongWire () const
 
std::unique_ptr< RIO_OnTrackuniqueClone () const
 NVI clone returning unique_ptr. More...
 
virtual bool type (MeasurementBaseType::Type type) const override final
 Extended method checking the type. More...
 
Identifier identify () const
 return the identifier -extends MeasurementBase More...
 
const LocalParameters & localParameters () const
 Interface method to get the LocalParameters. More...
 
const Amg::MatrixXlocalCovariance () const
 Interface method to get the localError. More...
 

Static Public Member Functions

static std::size_t numberOfInstantiations ()
 

Static Public Attributes

static std::atomic_size_t s_numberOfInstantiations
 

Protected Attributes

Identifier m_identifier {}
 Identifier of the RIO_OnTrack (comes from the associated Trk::PrepRawData) More...
 
LocalParameters m_localParams
 
Amg::MatrixX m_localCovariance
 

Private Member Functions

virtual void setValues (const Trk::TrkDetElementBase *detEl, const Trk::PrepRawData *prd) override final
 ONLY for use in custom convertor Allows the custom convertor to reset values when persistying/reading back RoTs. More...
 
void setGlobalPositionHelper ()
 @calculate and set the global coord of this hit. More...
 

Private Attributes

Amg::Vector3D m_globalPosition
 global position to be cached More...
 
float m_localAngle
 local angle to be written out More...
 
float m_positionAlongWire
 local position along wire to be written out More...
 
ElementLinkToIDCTRT_DriftCircleContainer m_rio
 
IdentifierHash m_idDE
 the IdentifierHash - probably not used More...
 
Trk::DriftCircleStatus m_status
 the information how the (possibly signed) drift radius should be understood More...
 
bool m_highLevel
 the high level flag More...
 
double m_timeOverThreshold
 the time over threshold in nsec More...
 
const InDetDD::TRT_BaseElementm_detEl
 corresponding detector element More...
 

Friends

class Trk::ITrkEventCnvTool
 

Detailed Description

Represents 'corrected' measurements from the TRT (for example, corrected for wire sag). The equivalent 'uncorrected' class is InDet::TRT_DriftCircle*

Author
Edwar.nosp@m.d.Mo.nosp@m.yse@c.nosp@m.ern..nosp@m.ch
Andre.nosp@m.as.S.nosp@m.alzbu.nosp@m.rger.nosp@m.@cern.nosp@m..ch
Chris.nosp@m.tos..nosp@m.Anast.nosp@m.opou.nosp@m.los@c.nosp@m.ern..nosp@m.ch (Athena MT)

Definition at line 53 of file TRT_DriftCircleOnTrack.h.

Constructor & Destructor Documentation

◆ TRT_DriftCircleOnTrack() [1/4]

InDet::TRT_DriftCircleOnTrack::TRT_DriftCircleOnTrack ( )

Default constructor - needed for POOL.

Definition at line 92 of file TRT_DriftCircleOnTrack.cxx.

93  :
96  m_localAngle(std::numeric_limits<float>::quiet_NaN()),
97  m_positionAlongWire(std::numeric_limits<float>::quiet_NaN()),
98  m_rio(),
99  m_idDE(),
101  m_highLevel(false),
103  m_detEl(nullptr)
104 {}

◆ TRT_DriftCircleOnTrack() [2/4]

InDet::TRT_DriftCircleOnTrack::TRT_DriftCircleOnTrack ( const TRT_DriftCircleOnTrack )
default

Copy constructor.

◆ TRT_DriftCircleOnTrack() [3/4]

InDet::TRT_DriftCircleOnTrack::TRT_DriftCircleOnTrack ( const InDet::TRT_DriftCircle RIO,
Trk::LocalParameters &&  driftRadius,
Amg::MatrixX &&  errDriftRadius,
const IdentifierHash idDE,
double  predictedLocZ,
const Amg::Vector3D predictedTrackDirection,
const Trk::DriftCircleStatus  status 
)

Constructor with parameters and without externalPrediction.

Definition at line 25 of file TRT_DriftCircleOnTrack.cxx.

34  : Trk::RIO_OnTrack(std::move(driftRadius), std::move(errDriftRadius), RIO->identify())
36  , m_positionAlongWire(predictedLocZ)
37  , m_idDE(idDE)
38  , m_status(status)
39  , m_highLevel(RIO->highLevel())
41  , m_detEl(RIO->detectorElement())
42 {
43 
44  m_rio.setElement(RIO);
45  const Trk::Surface& detElSurf = m_detEl->surface(RIO->identify());
46  if (detElSurf.type() == Trk::SurfaceType::Line) {
47  const Trk::StraightLineSurface& slsf =
48  static_cast<const Trk::StraightLineSurface&>(detElSurf);
50  slsf.localToGlobal(m_localParams, predictedTrackDirection, predictedLocZ);
51  }
52  Amg::Vector3D loc_gDirection = predictedTrackDirection;
53  const double dr = m_localParams[Trk::driftRadius];
54 
55  // scaling the direction with drift radius
56  if (dr != 0.) {
57  m_localAngle = std::atan2(loc_gDirection.y(), loc_gDirection.x());
58  } else {
59  m_localAngle = 0.;
60  }
61 }

◆ TRT_DriftCircleOnTrack() [4/4]

InDet::TRT_DriftCircleOnTrack::TRT_DriftCircleOnTrack ( const ElementLinkToIDCTRT_DriftCircleContainer RIO,
const Trk::LocalParameters driftRadius,
const Amg::MatrixX errDriftRadius,
IdentifierHash  idDE,
const Identifier id,
double  predictedLocZ,
float  localAngle,
const Trk::DriftCircleStatus  status,
bool  highLevel,
double  timeOverThreshold 
)

Constructor used by the TP converters.

Definition at line 64 of file TRT_DriftCircleOnTrack.cxx.

78  , m_positionAlongWire(predictedLocZ)
79  , m_rio(RIO)
80  , m_idDE(idDE)
81  , m_status(status)
84  , m_detEl(nullptr)
85 {}

◆ ~TRT_DriftCircleOnTrack()

InDet::TRT_DriftCircleOnTrack::~TRT_DriftCircleOnTrack ( )
virtualdefault

Destructor.

Member Function Documentation

◆ associatedSurface()

const Trk::Surface & InDet::TRT_DriftCircleOnTrack::associatedSurface ( ) const
finaloverridevirtual

returns the surface for the local to global transformation

Implements Trk::RIO_OnTrack.

Definition at line 154 of file TRT_DriftCircleOnTrack.cxx.

155 {
156  assert(0!=m_detEl);
157  return (m_detEl->surface(identify()));
158 }

◆ clone()

TRT_DriftCircleOnTrack * InDet::TRT_DriftCircleOnTrack::clone ( ) const
inlinefinaloverridevirtual

allows copying without losing the type information.

Used in Trk::Track

Implements Trk::RIO_OnTrack.

Definition at line 196 of file TRT_DriftCircleOnTrack.h.

197  {
198  return new TRT_DriftCircleOnTrack(*this);
199  }

◆ detectorElement()

const InDetDD::TRT_BaseElement * InDet::TRT_DriftCircleOnTrack::detectorElement ( ) const
inlinefinaloverridevirtual

returns the detector element, assoicated with the PRD of this class

Implements Trk::RIO_OnTrack.

Definition at line 224 of file TRT_DriftCircleOnTrack.h.

225  {
226  return m_detEl;
227  }

◆ dump() [1/2]

MsgStream & InDet::TRT_DriftCircleOnTrack::dump ( MsgStream &  out) const
finaloverridevirtual

returns some information about this RIO_OnTrack.

Reimplemented from Trk::RIO_OnTrack.

Definition at line 211 of file TRT_DriftCircleOnTrack.cxx.

212 {
214  std::string name("TRT_DriftCircleOnTrack: ");
215  sl <<name<< "\t identifier = "<< identify()<<endmsg;
216  sl <<name<< "\t time-over-threshold = " << timeOverThreshold()
217  << (highLevel() ? " with TR flag ON":" with TR flag OFF") << endmsg;
218  sl <<name<< "\t driftradius = ("
219  << (localParameters())[Trk::loc1] << ") " <<endmsg;
220  sl <<name<< "\t has Error Matrix: "<<endmsg;
221  sl<<localCovariance()<<endmsg;
222  return sl;
223 }

◆ dump() [2/2]

std::ostream & InDet::TRT_DriftCircleOnTrack::dump ( std::ostream &  out) const
finaloverridevirtual

returns some information about this RIO_OnTrack.

Reimplemented from Trk::RIO_OnTrack.

Definition at line 225 of file TRT_DriftCircleOnTrack.cxx.

226 {
227  sl << "TRT_DriftCircleOnTrack {"<<std::endl;
228 
230 
231  sl << "Global position (x,y,z) = (";
232  this->globalPosition();
233  sl <<this->globalPosition().x()<<", "
234  <<this->globalPosition().y()<<", "
235  <<this->globalPosition().z()<<")"<<std::endl;
236 
237  sl << "\t time-over-threshold = " << timeOverThreshold()
238  << (highLevel() ? " with TR flag ON":" with TR flag OFF")<<std::endl;
239  sl<<"}"<<std::endl;
240 
241  return sl;
242 }

◆ globalPosition()

const Amg::Vector3D & InDet::TRT_DriftCircleOnTrack::globalPosition ( ) const
finaloverridevirtual

return the global position of this RIO_OnTrack

Todo:
convention about z coordinate

Implements Trk::RIO_OnTrack.

Definition at line 160 of file TRT_DriftCircleOnTrack.cxx.

160  {
161 
162  return m_globalPosition;
163 }

◆ highLevel()

bool InDet::TRT_DriftCircleOnTrack::highLevel ( ) const
inline

returns true if the high level threshold was passed

Definition at line 234 of file TRT_DriftCircleOnTrack.h.

235  {
236  return m_highLevel;
237  }

◆ idDE()

IdentifierHash InDet::TRT_DriftCircleOnTrack::idDE ( ) const
inlinefinaloverridevirtual

returns the DE hashID

Implements Trk::RIO_OnTrack.

Definition at line 219 of file TRT_DriftCircleOnTrack.h.

220  {
221  return m_idDE;
222  }

◆ identify()

Identifier Trk::RIO_OnTrack::identify ( ) const
inlineinherited

return the identifier -extends MeasurementBase

Definition at line 152 of file RIO_OnTrack.h.

153  { return m_identifier; }

◆ localAngle()

float InDet::TRT_DriftCircleOnTrack::localAngle ( ) const
inline

Definition at line 244 of file TRT_DriftCircleOnTrack.h.

245  {
246  return m_localAngle;
247  }

◆ localCovariance()

const Amg::MatrixX & Trk::MeasurementBase::localCovariance ( ) const
inlineinherited

Interface method to get the localError.

Definition at line 138 of file MeasurementBase.h.

139 {
140  return m_localCovariance;
141 }

◆ localParameters()

const Trk::LocalParameters & Trk::MeasurementBase::localParameters ( ) const
inlineinherited

Interface method to get the LocalParameters.

Definition at line 132 of file MeasurementBase.h.

133 {
134  return m_localParams;
135 }

◆ numberOfInstantiations()

static std::size_t Trk::ObjectCounter< Trk::RIO_OnTrack >::numberOfInstantiations ( )
inlinestaticinherited

Definition at line 25 of file TrkObjectCounter.h.

26  {
27 #ifndef NDEBUG
28  return s_numberOfInstantiations.load();
29 #endif
30  return 0;
31  }

◆ operator=() [1/2]

InDet::TRT_DriftCircleOnTrack & InDet::TRT_DriftCircleOnTrack::operator= ( const TRT_DriftCircleOnTrack rot)

Assignment operator.

Definition at line 112 of file TRT_DriftCircleOnTrack.cxx.

113 {
114  if ( &rot != this) {
116  m_globalPosition = rot.m_globalPosition;
117  m_rio = rot.m_rio;
118  m_localAngle = rot.m_localAngle;
119  m_positionAlongWire = rot.m_positionAlongWire;
120  m_idDE = rot.m_idDE;
121  m_status = rot.m_status;
122  m_highLevel = rot.m_highLevel;
123  m_timeOverThreshold = rot.m_timeOverThreshold;
124  m_detEl = rot.m_detEl;
125  }
126  return *this;
127 }

◆ operator=() [2/2]

InDet::TRT_DriftCircleOnTrack & InDet::TRT_DriftCircleOnTrack::operator= ( InDet::TRT_DriftCircleOnTrack &&  rot)
noexcept

Move assignment operator.

Definition at line 130 of file TRT_DriftCircleOnTrack.cxx.

131  {
132  if ( &rot != this) {
134  m_globalPosition = std::move(rot.m_globalPosition);
135  m_rio = rot.m_rio;
138  m_idDE = rot.m_idDE;
139  m_status = rot.m_status;
140  m_highLevel = rot.m_highLevel;
142  m_detEl = rot.m_detEl;
143  }
144  return *this;
145 }

◆ positionAlongWire()

float InDet::TRT_DriftCircleOnTrack::positionAlongWire ( ) const
inline

Definition at line 249 of file TRT_DriftCircleOnTrack.h.

250  {
251  return m_positionAlongWire;
252  }

◆ prepRawData()

const TRT_DriftCircle * InDet::TRT_DriftCircleOnTrack::prepRawData ( ) const
inlinefinaloverridevirtual

returns the PrepRawData - is a TRT_DriftCircle in this scope

Implements Trk::RIO_OnTrack.

Definition at line 202 of file TRT_DriftCircleOnTrack.h.

203  {
204  // ask first if it is valid ...
205  // otherwise it always returns nullptr ...
206  if (m_rio.isValid()) {
207  return m_rio.cachedElement();
208  }
209  return nullptr;
210  }

◆ prepRawDataLink()

const ElementLinkToIDCTRT_DriftCircleContainer & InDet::TRT_DriftCircleOnTrack::prepRawDataLink ( ) const
inline

Definition at line 214 of file TRT_DriftCircleOnTrack.h.

215  {
216  return m_rio;
217  }

◆ rioType()

virtual bool InDet::TRT_DriftCircleOnTrack::rioType ( Trk::RIO_OnTrackType::Type  type) const
inlinefinaloverridevirtual

Method checking the Rio On Track type.

Implements Trk::RIO_OnTrack.

Definition at line 104 of file TRT_DriftCircleOnTrack.h.

105  {
107  }

◆ setGlobalPositionHelper()

void InDet::TRT_DriftCircleOnTrack::setGlobalPositionHelper ( )
private

@calculate and set the global coord of this hit.

The detector element surface is used. Can be used from the convertor after setValues if the element is constructed without a detEl

Definition at line 168 of file TRT_DriftCircleOnTrack.cxx.

169 {
170 
171  //default
172  Amg::Vector3D loc3Dframe(0., 0., m_positionAlongWire);
173  if (side() != Trk::NONE) {
174  // get global position where track and drift radius intersect.
175  double Sf, Cf;
176  sincos(m_localAngle, &Sf, &Cf);
177  double x = localParameters()[Trk::driftRadius] * Sf;
178  double y = localParameters()[Trk::driftRadius] * Cf;
179  /*
180  double x = localParameters()[Trk::driftRadius]*std::sin(m_localAngle);
181  double y = localParameters()[Trk::driftRadius]*std::cos(m_localAngle);
182  */
183  // get local position
184  loc3Dframe = Amg::Vector3D(x, y, m_positionAlongWire);
185  }
186 
187  //We need a surface for the global position
188  const Trk::StraightLineSurface* slsf =
189  dynamic_cast<const Trk::StraightLineSurface*>(&(associatedSurface()));
190  if (slsf) {
191  m_globalPosition = Amg::Vector3D(slsf->transform() * loc3Dframe);
192  } else {
193  throw GaudiException("Dynamic_cast to StraightLineSurface failed!",
194  "TRT_DriftCircleOnTrack::setGlobalPosition()",
195  StatusCode::FAILURE);
196  }
197 }

◆ setValues()

void InDet::TRT_DriftCircleOnTrack::setValues ( const Trk::TrkDetElementBase detEl,
const Trk::PrepRawData prd 
)
finaloverrideprivatevirtual

ONLY for use in custom convertor Allows the custom convertor to reset values when persistying/reading back RoTs.

Implements Trk::RIO_OnTrack.

Definition at line 201 of file TRT_DriftCircleOnTrack.cxx.

203 {
204  m_detEl = dynamic_cast<const InDetDD::TRT_BaseElement* >(detEl);
205  // If we have a m_detEL we can set the global position
206  if (m_detEl) {
208  }
209 }

◆ side()

Trk::DriftCircleSide InDet::TRT_DriftCircleOnTrack::side ( ) const

returns the side on which the drift radius is.

(for more information see the definition of TrkEventPrimitives/DriftCirlceSide)

Definition at line 147 of file TRT_DriftCircleOnTrack.cxx.

147  {
148  if (m_status == Trk::UNDECIDED) return Trk::NONE;
149  if (localParameters()[Trk::driftRadius] < 0. ) return Trk::LEFT;
150  return Trk::RIGHT;
151 }

◆ status()

Trk::DriftCircleStatus InDet::TRT_DriftCircleOnTrack::status ( ) const
inline

returns the status of the drift radius calibration.

(for more information see the definition of TrkEventPrimitives/DriftCirlceStatus)

Definition at line 229 of file TRT_DriftCircleOnTrack.h.

230  {
231  return m_status;
232  }

◆ timeOverThreshold()

double InDet::TRT_DriftCircleOnTrack::timeOverThreshold ( ) const
inline

returns time over threshold in ns for valid digits; zero otherwise

Definition at line 239 of file TRT_DriftCircleOnTrack.h.

240  {
241  return m_timeOverThreshold;
242  }

◆ type()

virtual bool Trk::RIO_OnTrack::type ( MeasurementBaseType::Type  type) const
inlinefinaloverridevirtualinherited

Extended method checking the type.

Implements Trk::MeasurementBase.

Definition at line 110 of file RIO_OnTrack.h.

111  {
113  }

◆ uniqueClone()

std::unique_ptr<RIO_OnTrack> Trk::RIO_OnTrack::uniqueClone ( ) const
inlineinherited

NVI clone returning unique_ptr.

Definition at line 97 of file RIO_OnTrack.h.

97  {
98  return std::unique_ptr<RIO_OnTrack>(clone());
99  };

Friends And Related Function Documentation

◆ Trk::ITrkEventCnvTool

friend class Trk::ITrkEventCnvTool
friend

Definition at line 56 of file TRT_DriftCircleOnTrack.h.

Member Data Documentation

◆ m_detEl

const InDetDD::TRT_BaseElement* InDet::TRT_DriftCircleOnTrack::m_detEl
private

corresponding detector element

Definition at line 191 of file TRT_DriftCircleOnTrack.h.

◆ m_globalPosition

Amg::Vector3D InDet::TRT_DriftCircleOnTrack::m_globalPosition
private

global position to be cached

Definition at line 167 of file TRT_DriftCircleOnTrack.h.

◆ m_highLevel

bool InDet::TRT_DriftCircleOnTrack::m_highLevel
private

the high level flag

Definition at line 185 of file TRT_DriftCircleOnTrack.h.

◆ m_idDE

IdentifierHash InDet::TRT_DriftCircleOnTrack::m_idDE
private

the IdentifierHash - probably not used

Definition at line 178 of file TRT_DriftCircleOnTrack.h.

◆ m_identifier

Identifier Trk::RIO_OnTrack::m_identifier {}
protectedinherited

Identifier of the RIO_OnTrack (comes from the associated Trk::PrepRawData)

Definition at line 149 of file RIO_OnTrack.h.

◆ m_localAngle

float InDet::TRT_DriftCircleOnTrack::m_localAngle
private

local angle to be written out

Definition at line 170 of file TRT_DriftCircleOnTrack.h.

◆ m_localCovariance

Amg::MatrixX Trk::MeasurementBase::m_localCovariance
protectedinherited

Definition at line 112 of file MeasurementBase.h.

◆ m_localParams

LocalParameters Trk::MeasurementBase::m_localParams
protectedinherited

Definition at line 111 of file MeasurementBase.h.

◆ m_positionAlongWire

float InDet::TRT_DriftCircleOnTrack::m_positionAlongWire
private

local position along wire to be written out

Definition at line 173 of file TRT_DriftCircleOnTrack.h.

◆ m_rio

ElementLinkToIDCTRT_DriftCircleContainer InDet::TRT_DriftCircleOnTrack::m_rio
private

Definition at line 175 of file TRT_DriftCircleOnTrack.h.

◆ m_status

Trk::DriftCircleStatus InDet::TRT_DriftCircleOnTrack::m_status
private

the information how the (possibly signed) drift radius should be understood

Definition at line 182 of file TRT_DriftCircleOnTrack.h.

◆ m_timeOverThreshold

double InDet::TRT_DriftCircleOnTrack::m_timeOverThreshold
private

the time over threshold in nsec

Definition at line 188 of file TRT_DriftCircleOnTrack.h.

◆ s_numberOfInstantiations

std::atomic_size_t Trk::ObjectCounter< Trk::RIO_OnTrack >::s_numberOfInstantiations
inlinestaticinherited

Definition at line 22 of file TrkObjectCounter.h.


The documentation for this class was generated from the following files:
InDet::TRT_DriftCircleOnTrack::side
Trk::DriftCircleSide side() const
returns the side on which the drift radius is.
Definition: TRT_DriftCircleOnTrack.cxx:147
Trk::LocalParameters
Definition: LocalParameters.h:98
InDet::TRT_DriftCircleOnTrack::m_globalPosition
Amg::Vector3D m_globalPosition
global position to be cached
Definition: TRT_DriftCircleOnTrack.h:167
InDet::TRT_DriftCircleOnTrack::status
Trk::DriftCircleStatus status() const
returns the status of the drift radius calibration.
Definition: TRT_DriftCircleOnTrack.h:229
InDet::TRT_DriftCircleOnTrack::idDE
virtual IdentifierHash idDE() const override final
returns the DE hashID
Definition: TRT_DriftCircleOnTrack.h:219
Trk::RIO_OnTrack::dump
virtual MsgStream & dump(MsgStream &out) const override
returns the some information about this RIO_OnTrack.
Definition: RIO_OnTrack.cxx:32
Trk::NONE
@ NONE
it was not possible to determine the which side of the straw the track passed;
Definition: DriftCircleSide.h:18
Amg::MatrixX
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Definition: EventPrimitives.h:27
InDet::TRT_DriftCircleOnTrack::m_detEl
const InDetDD::TRT_BaseElement * m_detEl
corresponding detector element
Definition: TRT_DriftCircleOnTrack.h:191
Trk::RIO_OnTrack::clone
virtual RIO_OnTrack * clone() const override=0
Pseudo-constructor, needed to avoid excessive RTTI.
InDet::TRT_DriftCircleOnTrack::m_localAngle
float m_localAngle
local angle to be written out
Definition: TRT_DriftCircleOnTrack.h:170
InDet::TRT_DriftCircle::timeOverThreshold
double timeOverThreshold() const
returns Time over threshold in ns
InDet::TRT_DriftCircle::detectorElement
virtual const InDetDD::TRT_BaseElement * detectorElement() const override final
return the detector element corresponding to this PRD
InDet::TRT_DriftCircleOnTrack::associatedSurface
virtual const Trk::Surface & associatedSurface() const override final
returns the surface for the local to global transformation
Definition: TRT_DriftCircleOnTrack.cxx:154
InDet::TRT_DriftCircleOnTrack::highLevel
bool highLevel() const
returns true if the high level threshold was passed
Definition: TRT_DriftCircleOnTrack.h:234
InDet::TRT_DriftCircleOnTrack::TRT_DriftCircleOnTrack
TRT_DriftCircleOnTrack()
Default constructor - needed for POOL.
Definition: TRT_DriftCircleOnTrack.cxx:92
python.TurnDataReader.dr
dr
Definition: TurnDataReader.py:112
x
#define x
Trk::RIO_OnTrack::type
virtual bool type(MeasurementBaseType::Type type) const override final
Extended method checking the type.
Definition: RIO_OnTrack.h:110
Trk::UNDECIDED
@ UNDECIDED
sign of drift radius has not been determined
Definition: DriftCircleStatus.h:20
InDet::TRT_DriftCircleOnTrack::m_rio
ElementLinkToIDCTRT_DriftCircleContainer m_rio
Definition: TRT_DriftCircleOnTrack.h:175
InDet::TRT_DriftCircleOnTrack::setGlobalPositionHelper
void setGlobalPositionHelper()
@calculate and set the global coord of this hit.
Definition: TRT_DriftCircleOnTrack.cxx:168
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
Trk::driftRadius
@ driftRadius
trt, straws
Definition: ParamDefs.h:53
Trk::RIGHT
@ RIGHT
the drift radius is positive (see Trk::AtaStraightLine)
Definition: DriftCircleSide.h:22
InDet::TRT_DriftCircleOnTrack::m_highLevel
bool m_highLevel
the high level flag
Definition: TRT_DriftCircleOnTrack.h:185
InDet::TRT_DriftCircleOnTrack::m_timeOverThreshold
double m_timeOverThreshold
the time over threshold in nsec
Definition: TRT_DriftCircleOnTrack.h:188
Trk::RIO_OnTrack::operator=
RIO_OnTrack & operator=(const RIO_OnTrack &rot)=default
Assignment operator.
Trk::MeasurementBase::m_localParams
LocalParameters m_localParams
Definition: MeasurementBase.h:111
InDet::TRT_DriftCircleOnTrack::m_status
Trk::DriftCircleStatus m_status
the information how the (possibly signed) drift radius should be understood
Definition: TRT_DriftCircleOnTrack.h:182
Trk::MeasurementBase::localCovariance
const Amg::MatrixX & localCovariance() const
Interface method to get the localError.
Definition: MeasurementBase.h:138
Trk::RIO_OnTrackType::TRT_DriftCircle
@ TRT_DriftCircle
Definition: RIO_OnTrack.h:59
Trk::PrepRawData::identify
Identifier identify() const
return the identifier
InDet::TRT_DriftCircleOnTrack::timeOverThreshold
double timeOverThreshold() const
returns time over threshold in ns for valid digits; zero otherwise
Definition: TRT_DriftCircleOnTrack.h:239
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
Trk::StraightLineSurface::localToGlobal
virtual void localToGlobal(const Amg::Vector2D &locp, const Amg::Vector3D &mom, Amg::Vector3D &glob) const override final
Specified for StraightLineSurface: LocalToGlobal method without dynamic memory allocation.
Definition: StraightLineSurface.cxx:139
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
Trk::MeasurementBaseType::RIO_OnTrack
@ RIO_OnTrack
Definition: MeasurementBase.h:49
Trk::MeasurementBase::localParameters
const LocalParameters & localParameters() const
Interface method to get the LocalParameters.
Definition: MeasurementBase.h:132
Trk::MeasurementBase::m_localCovariance
Amg::MatrixX m_localCovariance
Definition: MeasurementBase.h:112
Trk::ObjectCounter< Trk::RIO_OnTrack >::s_numberOfInstantiations
static std::atomic_size_t s_numberOfInstantiations
Definition: TrkObjectCounter.h:22
InDet::TRT_DriftCircleOnTrack::localAngle
float localAngle() const
Definition: TRT_DriftCircleOnTrack.h:244
y
#define y
InDet::TRT_DriftCircle::highLevel
bool highLevel() const
returns true if the high level threshold was passed
Trk::RIO_OnTrack::m_identifier
Identifier m_identifier
Identifier of the RIO_OnTrack (comes from the associated Trk::PrepRawData)
Definition: RIO_OnTrack.h:149
InDet::TRT_DriftCircleOnTrack::m_idDE
IdentifierHash m_idDE
the IdentifierHash - probably not used
Definition: TRT_DriftCircleOnTrack.h:178
Trk::RIO_OnTrack::identify
Identifier identify() const
return the identifier -extends MeasurementBase
Definition: RIO_OnTrack.h:152
Trk::LEFT
@ LEFT
the drift radius is negative (see Trk::AtaStraightLine)
Definition: DriftCircleSide.h:20
InDet::TRT_DriftCircleOnTrack::m_positionAlongWire
float m_positionAlongWire
local position along wire to be written out
Definition: TRT_DriftCircleOnTrack.h:173
InDet::TRT_DriftCircleOnTrack::globalPosition
virtual const Amg::Vector3D & globalPosition() const override final
return the global position of this RIO_OnTrack
Definition: TRT_DriftCircleOnTrack.cxx:160
Trk::SurfaceType::Line
@ Line
Trk::loc1
@ loc1
Definition: ParamDefs.h:34
Trk::Surface
Definition: Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h:75
Trk::Surface::transform
const Amg::Transform3D & transform() const
Returns HepGeom::Transform3D by reference.
InDetDD::TRT_BaseElement::surface
virtual const Trk::Surface & surface() const override final
Element Surface: access to the Surface (straw layer)
Trk::Surface::type
constexpr virtual SurfaceType type() const =0
Returns the Surface type to avoid dynamic casts.
Trk::StraightLineSurface
Definition: StraightLineSurface.h:51
InDetDD::TRT_BaseElement
Definition: TRT_BaseElement.h:57