![]() |
ATLAS Offline Software
|
Represents 'corrected' measurements from the TRT (for example, corrected for wire sag). More...
#include <TRT_DriftCircleOnTrack.h>
Public Member Functions | |
| TRT_DriftCircleOnTrack () | |
| Default constructor - needed for POOL. | |
| TRT_DriftCircleOnTrack (const TRT_DriftCircleOnTrack &) | |
| Copy constructor. | |
| TRT_DriftCircleOnTrack & | operator= (const TRT_DriftCircleOnTrack &) |
| Assignment operator. | |
| TRT_DriftCircleOnTrack & | operator= (TRT_DriftCircleOnTrack &&) noexcept |
| Move assignment operator. | |
| 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. | |
| 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. | |
| virtual | ~TRT_DriftCircleOnTrack () |
| Destructor. | |
| virtual TRT_DriftCircleOnTrack * | clone () const override final |
| allows copying without losing the type information. | |
| virtual const Amg::Vector3D & | globalPosition () const override final |
| return the global position of this RIO_OnTrack | |
| virtual const Trk::Surface & | associatedSurface () const override final |
| returns the surface for the local to global transformation | |
| virtual bool | rioType (Trk::RIO_OnTrackType::Type type) const override final |
| Method checking the Rio On Track type. | |
| virtual const TRT_DriftCircle * | prepRawData () const override final |
| returns the PrepRawData - is a TRT_DriftCircle in this scope | |
| const ElementLinkToIDCTRT_DriftCircleContainer & | prepRawDataLink () const |
| virtual IdentifierHash | idDE () const override final |
| returns the DE hashID | |
| virtual const InDetDD::TRT_BaseElement * | detectorElement () const override final |
| returns the detector element, assoicated with the PRD of this class | |
| Trk::DriftCircleSide | side () const |
| returns the side on which the drift radius is. | |
| Trk::DriftCircleStatus | status () const |
| returns the status of the drift radius calibration. | |
| bool | highLevel () const |
| returns true if the high level threshold was passed | |
| double | timeOverThreshold () const |
| returns time over threshold in ns for valid digits; zero otherwise | |
| virtual MsgStream & | dump (MsgStream &out) const override final |
| returns some information about this RIO_OnTrack. | |
| virtual std::ostream & | dump (std::ostream &out) const override final |
| returns some information about this RIO_OnTrack. | |
| float | localAngle () const |
| float | positionAlongWire () const |
| std::unique_ptr< RIO_OnTrack > | uniqueClone () const |
| NVI clone returning unique_ptr. | |
| virtual bool | type (MeasurementBaseType::Type type) const override final |
| Extended method checking the type. | |
| Identifier | identify () const |
| return the identifier -extends MeasurementBase | |
| const LocalParameters & | localParameters () const |
| Interface method to get the LocalParameters. | |
| const Amg::MatrixX & | localCovariance () const |
| Interface method to get the localError. | |
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) | |
| 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. | |
| void | setGlobalPositionHelper () |
| @calculate and set the global coord of this hit. | |
Private Attributes | |
| Amg::Vector3D | m_globalPosition |
| global position to be cached | |
| float | m_localAngle |
| local angle to be written out | |
| float | m_positionAlongWire |
| local position along wire to be written out | |
| ElementLinkToIDCTRT_DriftCircleContainer | m_rio |
| IdentifierHash | m_idDE |
| the IdentifierHash - probably not used | |
| Trk::DriftCircleStatus | m_status |
| the information how the (possibly signed) drift radius should be understood | |
| bool | m_highLevel |
| the high level flag | |
| double | m_timeOverThreshold |
| the time over threshold in nsec | |
| const InDetDD::TRT_BaseElement * | m_detEl |
| corresponding detector element | |
Friends | |
| class | Trk::ITrkEventCnvTool |
Represents 'corrected' measurements from the TRT (for example, corrected for wire sag).
The equivalent 'uncorrected' class is InDet::TRT_DriftCircle*
Definition at line 53 of file TRT_DriftCircleOnTrack.h.
| InDet::TRT_DriftCircleOnTrack::TRT_DriftCircleOnTrack | ( | ) |
Default constructor - needed for POOL.
Definition at line 92 of file TRT_DriftCircleOnTrack.cxx.
|
default |
Copy constructor.
| 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.
| 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.
|
virtualdefault |
Destructor.
|
finaloverridevirtual |
returns the surface for the local to global transformation
Implements Trk::RIO_OnTrack.
Definition at line 154 of file TRT_DriftCircleOnTrack.cxx.
|
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.
|
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.
|
finaloverridevirtual |
returns some information about this RIO_OnTrack.
Reimplemented from Trk::RIO_OnTrack.
Definition at line 211 of file TRT_DriftCircleOnTrack.cxx.
|
finaloverridevirtual |
returns some information about this RIO_OnTrack.
Reimplemented from Trk::RIO_OnTrack.
Definition at line 225 of file TRT_DriftCircleOnTrack.cxx.
|
finaloverridevirtual |
return the global position of this RIO_OnTrack
Implements Trk::RIO_OnTrack.
Definition at line 160 of file TRT_DriftCircleOnTrack.cxx.
|
inline |
returns true if the high level threshold was passed
Definition at line 234 of file TRT_DriftCircleOnTrack.h.
|
inlinefinaloverridevirtual |
returns the DE hashID
Implements Trk::RIO_OnTrack.
Definition at line 219 of file TRT_DriftCircleOnTrack.h.
|
inlineinherited |
return the identifier -extends MeasurementBase
Definition at line 152 of file RIO_OnTrack.h.
|
inline |
Definition at line 244 of file TRT_DriftCircleOnTrack.h.
|
inlineinherited |
Interface method to get the localError.
Definition at line 138 of file MeasurementBase.h.
|
inlineinherited |
Interface method to get the LocalParameters.
Definition at line 132 of file MeasurementBase.h.
|
inlinestaticinherited |
Definition at line 25 of file TrkObjectCounter.h.
| InDet::TRT_DriftCircleOnTrack & InDet::TRT_DriftCircleOnTrack::operator= | ( | const TRT_DriftCircleOnTrack & | rot | ) |
Assignment operator.
Definition at line 112 of file TRT_DriftCircleOnTrack.cxx.
|
noexcept |
Move assignment operator.
Definition at line 130 of file TRT_DriftCircleOnTrack.cxx.
|
inline |
Definition at line 249 of file TRT_DriftCircleOnTrack.h.
|
inlinefinaloverridevirtual |
returns the PrepRawData - is a TRT_DriftCircle in this scope
Implements Trk::RIO_OnTrack.
Definition at line 202 of file TRT_DriftCircleOnTrack.h.
|
inline |
Definition at line 214 of file TRT_DriftCircleOnTrack.h.
|
inlinefinaloverridevirtual |
Method checking the Rio On Track type.
Implements Trk::RIO_OnTrack.
Definition at line 104 of file TRT_DriftCircleOnTrack.h.
|
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.
|
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.
| 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.
|
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.
|
inline |
returns time over threshold in ns for valid digits; zero otherwise
Definition at line 239 of file TRT_DriftCircleOnTrack.h.
|
inlinefinaloverridevirtualinherited |
Extended method checking the type.
Implements Trk::MeasurementBase.
Definition at line 110 of file RIO_OnTrack.h.
|
inlineinherited |
NVI clone returning unique_ptr.
Definition at line 97 of file RIO_OnTrack.h.
|
friend |
Definition at line 56 of file TRT_DriftCircleOnTrack.h.
|
private |
corresponding detector element
Definition at line 191 of file TRT_DriftCircleOnTrack.h.
|
private |
global position to be cached
Definition at line 167 of file TRT_DriftCircleOnTrack.h.
|
private |
the high level flag
Definition at line 185 of file TRT_DriftCircleOnTrack.h.
|
private |
the IdentifierHash - probably not used
Definition at line 178 of file TRT_DriftCircleOnTrack.h.
|
protectedinherited |
Identifier of the RIO_OnTrack (comes from the associated Trk::PrepRawData)
Definition at line 149 of file RIO_OnTrack.h.
|
private |
local angle to be written out
Definition at line 170 of file TRT_DriftCircleOnTrack.h.
|
protectedinherited |
Definition at line 112 of file MeasurementBase.h.
|
protectedinherited |
Definition at line 111 of file MeasurementBase.h.
|
private |
local position along wire to be written out
Definition at line 173 of file TRT_DriftCircleOnTrack.h.
|
private |
Definition at line 175 of file TRT_DriftCircleOnTrack.h.
|
private |
the information how the (possibly signed) drift radius should be understood
Definition at line 182 of file TRT_DriftCircleOnTrack.h.
|
private |
the time over threshold in nsec
Definition at line 188 of file TRT_DriftCircleOnTrack.h.
|
inlinestaticinherited |
Definition at line 22 of file TrkObjectCounter.h.