![]() |
ATLAS Offline Software
|
Class to represent the calibrated clusters created from CSC strips. More...
#include <CscClusterOnTrack.h>
Public Member Functions | |
| CscClusterOnTrack () | |
| CscClusterOnTrack (const CscClusterOnTrack &) | |
| CscClusterOnTrack & | operator= (const CscClusterOnTrack &) |
| CscClusterOnTrack (const CscPrepData *RIO, Trk::LocalParameters &&locpos, Amg::MatrixX &&locerr, double positionAlongStrip, CscClusterStatus status, CscTimeStatus timeStatus=Muon::CscTimeStatusUndefined, float time=9999.0) | |
| Constructor with parameters : The base class owns local position, error matrix. | |
| CscClusterOnTrack (const ElementLinkToIDC_CSC_Container &RIO, Trk::LocalParameters &&locpos, Amg::MatrixX &&locerr, const Identifier &id, const MuonGM::CscReadoutElement *detEL, double positionAlongStrip, CscClusterStatus status, CscTimeStatus timeStatus=Muon::CscTimeStatusUndefined, float time=9999.0) | |
| virtual | ~CscClusterOnTrack () |
| Destructor. | |
| virtual CscClusterOnTrack * | clone () const override final |
| Clone this ROT. | |
| virtual const CscPrepData * | prepRawData () const override final |
| Returns the CscPrepData - is a CscPrepData in this scope. | |
| const ElementLinkToIDC_CSC_Container & | prepRawDataLink () const |
| virtual const MuonGM::CscReadoutElement * | detectorElement () const override final |
| Returns the detector element, associated with the PRD of this class. | |
| virtual const Trk::Surface & | associatedSurface () const override final |
| Returns the surface on which this measurement was taken. | |
| CscClusterStatus | status () const |
| Returns Csc position measurement status flag. | |
| CscTimeStatus | timeStatus () const |
| Returns Csc time measurement status flag. | |
| float | time () const |
| Return the time(ns) | |
| virtual MsgStream & | dump (MsgStream &stream) const override final |
| Dumps information about the PRD. | |
| virtual std::ostream & | dump (std::ostream &stream) const override final |
| Dumps information about the PRD. | |
| 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 *) override final |
| this method is only used by the custom convertors. | |
Private Attributes | |
| ElementLinkToIDC_CSC_Container | m_rio |
| PrepRawData object assoicated with this measurement. | |
| const MuonGM::CscReadoutElement * | m_detEl |
| The detector element, associated with this measurement. | |
| CscClusterStatus | m_status |
| cluster position measurement status | |
| CscTimeStatus | m_timeStatus |
| cluster time measurement status | |
| float | m_time |
Friends | |
| class | Trk::ITrkEventCnvTool |
Class to represent the calibrated clusters created from CSC strips.
Definition at line 46 of file CscClusterOnTrack.h.
| Muon::CscClusterOnTrack::CscClusterOnTrack | ( | ) |
Definition at line 22 of file CscClusterOnTrack.cxx.
|
default |
| Muon::CscClusterOnTrack::CscClusterOnTrack | ( | const CscPrepData * | RIO, |
| Trk::LocalParameters && | locpos, | ||
| Amg::MatrixX && | locerr, | ||
| double | positionAlongStrip, | ||
| CscClusterStatus | status, | ||
| CscTimeStatus | timeStatus = Muon::CscTimeStatusUndefined, | ||
| float | time = 9999.0 ) |
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. |
| [in] | status | Required Measure of 'quality' of cluster - see CscClusterStatus for more info. |
| [in] | time | Required |
Definition at line 35 of file CscClusterOnTrack.cxx.
| Muon::CscClusterOnTrack::CscClusterOnTrack | ( | const ElementLinkToIDC_CSC_Container & | RIO, |
| Trk::LocalParameters && | locpos, | ||
| Amg::MatrixX && | locerr, | ||
| const Identifier & | id, | ||
| const MuonGM::CscReadoutElement * | detEL, | ||
| double | positionAlongStrip, | ||
| CscClusterStatus | status, | ||
| CscTimeStatus | timeStatus = Muon::CscTimeStatusUndefined, | ||
| float | time = 9999.0 ) |
Definition at line 54 of file CscClusterOnTrack.cxx.
|
virtualdefault |
Destructor.
|
inlinefinaloverridevirtual |
Returns the surface on which this measurement was taken.
(i.e. a surface of a detector element)
Implements Trk::RIO_OnTrack.
Definition at line 172 of file CscClusterOnTrack.h.
|
inlinefinaloverridevirtual |
Clone this ROT.
Implements Muon::MuonClusterOnTrack.
Definition at line 149 of file CscClusterOnTrack.h.
|
inlinevirtualinherited |
Returns the hashID of the PRD collection.
Definition at line 111 of file MuonClusterOnTrack.h.
|
inlinefinaloverridevirtual |
Returns the detector element, associated with the PRD of this class.
Implements Muon::MuonClusterOnTrack.
Definition at line 167 of file CscClusterOnTrack.h.
|
finaloverridevirtual |
Dumps information about the PRD.
Reimplemented from Muon::MuonClusterOnTrack.
Definition at line 92 of file CscClusterOnTrack.cxx.
|
finaloverridevirtual |
Dumps information about the PRD.
Reimplemented from Muon::MuonClusterOnTrack.
Definition at line 108 of file CscClusterOnTrack.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.
| CscClusterOnTrack & Muon::CscClusterOnTrack::operator= | ( | const CscClusterOnTrack & | rot | ) |
Definition at line 78 of file CscClusterOnTrack.cxx.
|
inlinevirtualinherited |
Definition at line 68 of file MuonClusterOnTrack.h.
|
inlinefinaloverridevirtual |
Returns the CscPrepData - is a CscPrepData in this scope.
Implements Muon::MuonClusterOnTrack.
Definition at line 154 of file CscClusterOnTrack.h.
|
inline |
Definition at line 162 of file CscClusterOnTrack.h.
|
inlinefinaloverridevirtualinherited |
Method checking the Rio On Track type.
Implements Trk::RIO_OnTrack.
Definition at line 78 of file MuonClusterOnTrack.h.
|
inlinefinaloverrideprivatevirtual |
this method is only used by the custom convertors.
Implements Muon::MuonClusterOnTrack.
Definition at line 193 of file CscClusterOnTrack.h.
|
inline |
Returns Csc position measurement status flag.
Definition at line 178 of file CscClusterOnTrack.h.
|
inline |
Return the time(ns)
Definition at line 188 of file CscClusterOnTrack.h.
|
inline |
Returns Csc time measurement status flag.
Definition at line 183 of file CscClusterOnTrack.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 50 of file CscClusterOnTrack.h.
|
private |
The detector element, associated with this measurement.
Definition at line 133 of file CscClusterOnTrack.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 130 of file CscClusterOnTrack.h.
|
private |
cluster position measurement status
Definition at line 136 of file CscClusterOnTrack.h.
|
private |
Definition at line 141 of file CscClusterOnTrack.h.
|
private |
cluster time measurement status
Definition at line 139 of file CscClusterOnTrack.h.
|
inlinestaticinherited |
Definition at line 22 of file TrkObjectCounter.h.