|
ATLAS Offline Software
|
Class to represent the calibrated clusters created from CSC strips.
More...
#include <CscClusterOnTrack.h>
|
| 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. More...
|
|
| 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. More...
|
|
virtual CscClusterOnTrack * | clone () const override final |
| Clone this ROT. More...
|
|
virtual const CscPrepData * | prepRawData () const override final |
| Returns the CscPrepData - is a CscPrepData in this scope. More...
|
|
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. More...
|
|
virtual const Trk::Surface & | associatedSurface () const override final |
| Returns the surface on which this measurement was taken. More...
|
|
CscClusterStatus | status () const |
| Returns Csc position measurement status flag. More...
|
|
CscTimeStatus | timeStatus () const |
| Returns Csc time measurement status flag. More...
|
|
float | time () const |
| Return the time(ns) More...
|
|
virtual MsgStream & | dump (MsgStream &stream) const override final |
| Dumps information about the PRD. More...
|
|
virtual std::ostream & | dump (std::ostream &stream) const override final |
| Dumps information about the PRD. More...
|
|
virtual const Amg::Vector3D & | globalPosition () const override |
| Returns global position. More...
|
|
virtual double | positionAlongStrip () const |
|
virtual IdentifierHash | collectionHash () const |
| Returns the hashID of the PRD collection. More...
|
|
virtual IdentifierHash | idDE () const override |
| Returns an invalid hash. More...
|
|
virtual bool | rioType (Trk::RIO_OnTrackType::Type type) const override final |
| Method checking the Rio On Track type. More...
|
|
std::unique_ptr< RIO_OnTrack > | uniqueClone () 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::MatrixX & | localCovariance () const |
| Interface method to get the localError. More...
|
|
Class to represent the calibrated clusters created from CSC strips.
Definition at line 46 of file CscClusterOnTrack.h.
◆ CscClusterOnTrack() [1/4]
Muon::CscClusterOnTrack::CscClusterOnTrack |
( |
| ) |
|
◆ CscClusterOnTrack() [2/4]
◆ CscClusterOnTrack() [3/4]
Constructor with parameters : The base class owns local position, error matrix.
Everything else has ownership elsewhere.
- Parameters
-
[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.
44 m_detEl( RIO->detectorElement() ),
◆ CscClusterOnTrack() [4/4]
◆ ~CscClusterOnTrack()
Muon::CscClusterOnTrack::~CscClusterOnTrack |
( |
| ) |
|
|
virtualdefault |
◆ associatedSurface()
|
inlinefinaloverridevirtual |
◆ clone()
|
inlinefinaloverridevirtual |
◆ collectionHash()
◆ detectorElement()
|
inlinefinaloverridevirtual |
◆ dump() [1/2]
MsgStream & Muon::CscClusterOnTrack::dump |
( |
MsgStream & |
stream | ) |
const |
|
finaloverridevirtual |
◆ dump() [2/2]
std::ostream & Muon::CscClusterOnTrack::dump |
( |
std::ostream & |
stream | ) |
const |
|
finaloverridevirtual |
◆ globalPosition()
◆ idDE()
|
inlineoverridevirtualinherited |
◆ identify()
return the identifier -extends MeasurementBase
Definition at line 152 of file RIO_OnTrack.h.
◆ localCovariance()
◆ localParameters()
◆ numberOfInstantiations()
◆ operator=()
◆ positionAlongStrip()
virtual double Muon::MuonClusterOnTrack::positionAlongStrip |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ prepRawData()
|
inlinefinaloverridevirtual |
◆ prepRawDataLink()
◆ rioType()
|
inlinefinaloverridevirtualinherited |
◆ setValues()
|
inlinefinaloverrideprivatevirtual |
◆ status()
◆ time()
float Muon::CscClusterOnTrack::time |
( |
| ) |
const |
|
inline |
◆ timeStatus()
◆ type()
|
inlinefinaloverridevirtualinherited |
◆ 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.
98 return std::unique_ptr<RIO_OnTrack>(
clone());
◆ Trk::ITrkEventCnvTool
◆ m_detEl
◆ m_globalPosition
cache global position, the global position has to be calculated in the inheriting classes
Definition at line 94 of file MuonClusterOnTrack.h.
◆ m_identifier
◆ m_localCovariance
◆ m_localParams
LocalParameters Trk::MeasurementBase::m_localParams |
|
protectedinherited |
◆ m_positionAlongStrip
double Muon::MuonClusterOnTrack::m_positionAlongStrip |
|
protectedinherited |
The position along the strip - used to calculate the GlobalPosition.
Definition at line 97 of file MuonClusterOnTrack.h.
◆ m_rio
◆ m_status
◆ m_time
float Muon::CscClusterOnTrack::m_time |
|
private |
◆ m_timeStatus
◆ s_numberOfInstantiations
The documentation for this class was generated from the following files:
ElementType cachedElement() const
Return the cached element, if any.
CscTimeStatus m_timeStatus
cluster time measurement status
virtual RIO_OnTrack * clone() const override=0
Pseudo-constructor, needed to avoid excessive RTTI.
Eigen::Matrix< double, 2, 1 > Vector2D
virtual const MuonCluster * prepRawData() const override=0
Returns the Trk::PrepRawData - is a MuonCluster in this scope.
CxxUtils::CachedUniquePtr< const Amg::Vector3D > m_globalPosition
cache global position, the global position has to be calculated in the inheriting classes
virtual MsgStream & dump(MsgStream &stream) const override
Dumps information about the PRD.
virtual IdentifierHash collectionHash() const
Returns the IdentifierHash corresponding to the PRD collection in the PRD container.
virtual const Trk::PlaneSurface & surface() const override
access to chamber surface (phi orientation), uses the first gas gap
bool isValid() const
Test to see if the link can be dereferenced.
virtual const MuonGM::CscReadoutElement * detectorElement() const override final
Returns the detector element, associated with the PRD of this class.
virtual bool type(MeasurementBaseType::Type type) const override final
Extended method checking the type.
MuonClusterOnTrack()
Pool constructor.
virtual const MuonGM::MuonClusterReadoutElement * detectorElement() const override=0
Returns the detector element, associated with the PRD of this class.
CscTimeStatus timeStatus() const
Returns Csc time measurement status flag.
std::string toString(CscStripStatus cstat)
Return a string description of a CSC cluster status flag.
const MuonGM::CscReadoutElement * m_detEl
The detector element, associated with this measurement.
bool contains(const std::string &s, const std::string ®x)
does a string contain the substring
ElementLinkToIDC_CSC_Container m_rio
PrepRawData object assoicated with this measurement.
@ CscStatusUndefined
Undefined, should not happen, most likely indicates a problem.
LocalParameters m_localParams
float time() const
Return the time(ns)
bool setElement(ElementType element)
Set to point to an element.
CscClusterStatus m_status
cluster position measurement status
Eigen::Matrix< double, 3, 1 > Vector3D
const LocalParameters & localParameters() const
Interface method to get the LocalParameters.
Amg::MatrixX m_localCovariance
static std::atomic_size_t s_numberOfInstantiations
Identifier m_identifier
Identifier of the RIO_OnTrack (comes from the associated Trk::PrepRawData)
@ CscTimeStatusUndefined
Time is not assessed indicating potential bug.
Identifier identify() const
return the identifier -extends MeasurementBase
CscClusterStatus status() const
Returns Csc position measurement status flag.
T * get(TKey *tobj)
get a TObject* from a TKey* (why can't a TObject be a TKey?)
virtual double positionAlongStrip() const
virtual void localToGlobal(const Amg::Vector2D &locp, const Amg::Vector3D &mom, Amg::Vector3D &glob) const override final
Specified for PlaneSurface: LocalToGlobal method without dynamic memory allocation.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
double m_positionAlongStrip
The position along the strip - used to calculate the GlobalPosition.
MuonClusterOnTrack & operator=(const MuonClusterOnTrack &)