![]() |
ATLAS Offline Software
|
Class to represent calibrated clusters formed from TGC strips. More...
#include <MMClusterOnTrack.h>
Public Types | |
| enum | Author { unKnownAuthor = 64 , SimpleClusterBuilder , ClusterTimeProjectionClusterBuilder , uTPCClusterBuilder } |
Public Member Functions | |
| MMClusterOnTrack ()=default | |
| MMClusterOnTrack (const MMClusterOnTrack &)=default | |
| MMClusterOnTrack & | operator= (const MMClusterOnTrack &)=default |
| MMClusterOnTrack (MMClusterOnTrack &&)=default | |
| MMClusterOnTrack & | operator= (MMClusterOnTrack &&)=default |
| MMClusterOnTrack (const MMPrepData *RIO, Trk::LocalParameters &&locpos, Amg::MatrixX &&locerr, double positionAlongStrip, std::vector< float > &&stripDriftDists, std::vector< Amg::MatrixX > &&stripDriftDistErrors) | |
| Constructor with parameters : The base class owns local position, error matrix. | |
| MMClusterOnTrack (const ElementLinkToIDC_MM_Container &RIO, Trk::LocalParameters &&locpos, Amg::MatrixX &&locerr, const Identifier &id, const MuonGM::MMReadoutElement *detEl, double positionAlongStrip, std::vector< float > &&stripDriftDists, std::vector< Amg::MatrixX > &&stripDriftDistErrors) | |
| virtual | ~MMClusterOnTrack ()=default |
| Destructor. | |
| virtual MMClusterOnTrack * | clone () const |
| Clone this ROT. | |
| virtual const MMPrepData * | prepRawData () const |
| Returns the MMPrepData - is a TRT_DriftCircle in this scope. | |
| const ElementLinkToIDC_MM_Container & | prepRawDataLink () const |
| virtual const MuonGM::MMReadoutElement * | detectorElement () const |
| Returns the detector element, assoicated with the PRD of this class. | |
| virtual const Trk::Surface & | associatedSurface () const |
| Returns the surface on which this measurement was taken. | |
| const std::vector< float > & | stripDriftDists () const |
| const std::vector< Amg::MatrixX > & | stripDriftDistErrors () const |
| virtual MsgStream & | dump (MsgStream &stream) const |
| Dumps information about the PRD. | |
| virtual std::ostream & | dump (std::ostream &stream) const |
| Dumps information about the PRD. | |
| void | setAuthor (Author a) |
| Author | author () const |
| virtual const Amg::Vector3D & | globalPosition () const override |
| Returns global position. | |
| virtual double | positionAlongStrip () const |
| virtual IdentifierHash | collectionHash () const |
| Returns the hashID of the PRD collection. | |
| virtual IdentifierHash | idDE () const override |
| Returns an invalid hash. | |
| virtual bool | rioType (Trk::RIO_OnTrackType::Type type) const override final |
| Method checking the Rio On Track type. | |
| 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 | |
| CxxUtils::CachedUniquePtr< const Amg::Vector3D > | m_globalPosition |
| cache global position, the global position has to be calculated in the inheriting classes | |
| double | m_positionAlongStrip |
| The position along the strip - used to calculate the GlobalPosition. | |
| 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 *, const Trk::PrepRawData *) |
| Sets the DetElement and Trk::PrepRawData pointers after reading from disk. | |
Private Attributes | |
| ElementLinkToIDC_MM_Container | m_rio {} |
| PrepRawData object assoicated with this measurement. | |
| const MuonGM::MMReadoutElement * | m_detEl {nullptr} |
| The detector element, assoicated with this measurement. | |
| std::vector< float > | m_stripDriftDists {} |
| std::vector< Amg::MatrixX > | m_stripDriftDistErrors {} |
| Author | m_author {Author::unKnownAuthor} |
Friends | |
| class | Trk::ITrkEventCnvTool |
Class to represent calibrated clusters formed from TGC strips.
Definition at line 26 of file MMClusterOnTrack.h.
| Enumerator | |
|---|---|
| unKnownAuthor | |
| SimpleClusterBuilder | |
| ClusterTimeProjectionClusterBuilder | |
| uTPCClusterBuilder | |
Definition at line 89 of file MMClusterOnTrack.h.
|
default |
|
default |
|
default |
| Muon::MMClusterOnTrack::MMClusterOnTrack | ( | const MMPrepData * | RIO, |
| Trk::LocalParameters && | locpos, | ||
| Amg::MatrixX && | locerr, | ||
| double | positionAlongStrip, | ||
| std::vector< float > && | stripDriftDists, | ||
| std::vector< Amg::MatrixX > && | stripDriftDistErrors ) |
Constructor with parameters : The base class owns local position, error matrix.
Everything else has ownership elsewhere.
| [in] | RIO | Required (i.e. must not be NULL). Ownership is not taken. |
| [in] | locpos | Required (i.e. must not be NULL). Ownership is taken. |
| [in] | locerr | Required (i.e. must not be NULL). Ownership is taken. |
| [in] | positionAlongStrip | Required Used to calculate global position. |
Definition at line 13 of file MMClusterOnTrack.cxx.
| Muon::MMClusterOnTrack::MMClusterOnTrack | ( | const ElementLinkToIDC_MM_Container & | RIO, |
| Trk::LocalParameters && | locpos, | ||
| Amg::MatrixX && | locerr, | ||
| const Identifier & | id, | ||
| const MuonGM::MMReadoutElement * | detEl, | ||
| double | positionAlongStrip, | ||
| std::vector< float > && | stripDriftDists, | ||
| std::vector< Amg::MatrixX > && | stripDriftDistErrors ) |
Definition at line 27 of file MMClusterOnTrack.cxx.
|
virtualdefault |
Destructor.
|
inlinevirtual |
Returns the surface on which this measurement was taken.
(i.e. a surface of a detector element)
Implements Trk::RIO_OnTrack.
Definition at line 144 of file MMClusterOnTrack.h.
|
inline |
Definition at line 122 of file MMClusterOnTrack.h.
|
inlinevirtual |
Clone this ROT.
Implements Muon::MuonClusterOnTrack.
Definition at line 123 of file MMClusterOnTrack.h.
|
inlinevirtualinherited |
Returns the hashID of the PRD collection.
Definition at line 111 of file MuonClusterOnTrack.h.
|
inlinevirtual |
Returns the detector element, assoicated with the PRD of this class.
Implements Muon::MuonClusterOnTrack.
Definition at line 139 of file MMClusterOnTrack.h.
|
virtual |
Dumps information about the PRD.
Reimplemented from Muon::MuonClusterOnTrack.
Definition at line 45 of file MMClusterOnTrack.cxx.
|
virtual |
Dumps information about the PRD.
Reimplemented from Muon::MuonClusterOnTrack.
Definition at line 55 of file MMClusterOnTrack.cxx.
|
overridevirtualinherited |
Returns global position.
Implements Trk::RIO_OnTrack.
Definition at line 93 of file MuonClusterOnTrack.cxx.
|
inlineoverridevirtualinherited |
Returns an invalid hash.
Implements Trk::RIO_OnTrack.
Definition at line 116 of file MuonClusterOnTrack.h.
|
inlineinherited |
return the identifier -extends MeasurementBase
Definition at line 152 of file RIO_OnTrack.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.
|
default |
|
default |
|
inlinevirtualinherited |
Definition at line 68 of file MuonClusterOnTrack.h.
|
inlinevirtual |
Returns the MMPrepData - is a TRT_DriftCircle in this scope.
Implements Muon::MuonClusterOnTrack.
Definition at line 128 of file MMClusterOnTrack.h.
|
inline |
Definition at line 134 of file MMClusterOnTrack.h.
|
inlinefinaloverridevirtualinherited |
Method checking the Rio On Track type.
Implements Trk::RIO_OnTrack.
Definition at line 78 of file MuonClusterOnTrack.h.
|
inline |
Definition at line 119 of file MMClusterOnTrack.h.
|
inlineprivatevirtual |
Sets the DetElement and Trk::PrepRawData pointers after reading from disk.
Implements Muon::MuonClusterOnTrack.
Definition at line 161 of file MMClusterOnTrack.h.
|
inline |
Definition at line 155 of file MMClusterOnTrack.h.
|
inline |
Definition at line 150 of file MMClusterOnTrack.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 29 of file MMClusterOnTrack.h.
|
private |
Definition at line 112 of file MMClusterOnTrack.h.
|
private |
The detector element, assoicated with this measurement.
Definition at line 108 of file MMClusterOnTrack.h.
|
protectedinherited |
cache global position, the global position has to be calculated in the inheriting classes
Definition at line 94 of file MuonClusterOnTrack.h.
|
protectedinherited |
Identifier of the RIO_OnTrack (comes from the associated Trk::PrepRawData)
Definition at line 149 of file RIO_OnTrack.h.
|
protectedinherited |
Definition at line 112 of file MeasurementBase.h.
|
protectedinherited |
Definition at line 111 of file MeasurementBase.h.
|
protectedinherited |
The position along the strip - used to calculate the GlobalPosition.
Definition at line 97 of file MuonClusterOnTrack.h.
|
private |
PrepRawData object assoicated with this measurement.
Definition at line 105 of file MMClusterOnTrack.h.
|
private |
Definition at line 111 of file MMClusterOnTrack.h.
|
private |
Definition at line 110 of file MMClusterOnTrack.h.
|
inlinestaticinherited |
Definition at line 22 of file TrkObjectCounter.h.