![]() |
ATLAS Offline Software
|
Class representing clusters from the CSC. More...
#include <CscPrepData.h>
Public Member Functions | |
| CscPrepData () | |
| CscPrepData (const CscPrepData &)=default | |
| CscPrepData (CscPrepData &&) noexcept=default | |
| CscPrepData & | operator= (const CscPrepData &)=default |
| CscPrepData & | operator= (CscPrepData &&) noexcept=default |
| CscPrepData (const Identifier &RDOId, const IdentifierHash &idDE, const Amg::Vector2D &locpos, const std::vector< Identifier > &rdoList, const Amg::MatrixX &locErrMat, const MuonGM::CscReadoutElement *detEl, const int charge, const double time, const CscClusterStatus status, const CscTimeStatus timeStatus=Muon::CscTimeStatusUndefined) | |
| Full constructor. | |
| CscPrepData (const Identifier &RDOId, const IdentifierHash &idDE, const Amg::Vector2D &locpos, std::vector< Identifier > &&rdoList, Amg::MatrixX &&locErrMat, const MuonGM::CscReadoutElement *detEl, const int charge, const double time, const CscClusterStatus status, const CscTimeStatus timeStatus=Muon::CscTimeStatusUndefined) | |
| virtual | ~CscPrepData () |
| Destructor. | |
| virtual const Amg::Vector3D & | globalPosition () const override final |
| Returns the global position. | |
| virtual const MuonGM::CscReadoutElement * | detectorElement () const override final |
| Return the detector element corresponding to this PRD. | |
| virtual Trk::PrepRawDataType | prdType () const override final |
| Interface method returning the prdType. | |
| int | charge () const |
| Returns the charge. | |
| double | time () const |
| Returns the time. | |
| CscClusterStatus | status () const |
| Returns the Csc status (position measurement) flag. | |
| CscTimeStatus | timeStatus () const |
| Returns the Csc time status flag. | |
| 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 IdentifierHash | collectionHash () const |
| Returns the IdentifierHash corresponding to the PRD collection in the PRD container. | |
| Identifier | identify () const |
| return the identifier | |
| const Amg::Vector2D & | localPosition () const |
| return the local position reference | |
| const std::vector< Identifier > & | rdoList () const |
| return the List of rdo identifiers (pointers) | |
| const Amg::MatrixX & | localCovariance () const |
| return const ref to the error matrix | |
| bool | hasLocalCovariance () const |
| returns localCovariance().size()!=0 | |
| virtual bool | type (PrepRawDataType type) const |
| Interface method checking the type. | |
| void | setHashAndIndex (unsigned short collHash, unsigned short objIndex) |
| TEMP for testing: might make some classes friends later ... | |
| const IdentContIndex & | getHashAndIndex () const |
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 |
| Global position of measurement. | |
Private Attributes | |
| const MuonGM::CscReadoutElement * | m_detEl |
| Pointer to the detector element. | |
| int | m_charge |
| double | m_time |
| CscClusterStatus | m_status |
| CscTimeStatus | m_timeStatus |
| Identifier | m_clusId { 0 } |
| PrepRawData ID, not const because of DataPool. | |
| Amg::Vector2D | m_localPos {} |
| see derived classes for definition of meaning of LocalPosition | |
| std::vector< Identifier > | m_rdoList {} |
| Stores the identifiers of the RDOs. | |
| Amg::MatrixX | m_localCovariance {} |
| See derived classes for definition of ErrorMatrix. | |
| IdentContIndex | m_indexAndHash |
| Stores its own position (index) in collection plus the hash id for the collection (needed for the EL to IDC) | |
Friends | |
| class | ::CscPrepDataContainerCnv |
| class | Muon::CscPrepDataContainerCnv_p1 |
Class representing clusters from the CSC.
Definition at line 38 of file CscPrepData.h.
| Muon::CscPrepData::CscPrepData | ( | ) |
Definition at line 64 of file CscPrepData.cxx.
|
default |
|
defaultnoexcept |
| Muon::CscPrepData::CscPrepData | ( | const Identifier & | RDOId, |
| const IdentifierHash & | idDE, | ||
| const Amg::Vector2D & | locpos, | ||
| const std::vector< Identifier > & | rdoList, | ||
| const Amg::MatrixX & | locErrMat, | ||
| const MuonGM::CscReadoutElement * | detEl, | ||
| const int | charge, | ||
| const double | time, | ||
| const CscClusterStatus | status, | ||
| const CscTimeStatus | timeStatus = Muon::CscTimeStatusUndefined ) |
Full constructor.
| RDOId | The identifier of the central strip of the cluster |
| idDE | The IdenifierHash of the collection used to store this object (i.e. of Muon::CscPrepDataCollection) |
| locpos | The local coords of the measurement (this object will now own the LocalPostion) |
| rdoList | Vector of all the Identifiers of the strips used in this cluster |
| locErrMat | The error of the measurement (this object will now own the ErrorMatrix) |
| detEl | The pointer to the Detector Element on which this measurement was made (must NOT be zero). Ownership is NOT taken (the pointer is assumed to belong to GeoModel and will not be deleted) |
| charge | The charge measured by the CSC |
| time | The time measured by the CSC |
| status | The status of the position measurement. See Muon::CscClusterStatus for more information. |
| timestatus | The status of the time measurement (peak strip due to max charge). See Muon::CscTimeStatus for more information. |
Definition at line 22 of file CscPrepData.cxx.
| Muon::CscPrepData::CscPrepData | ( | const Identifier & | RDOId, |
| const IdentifierHash & | idDE, | ||
| const Amg::Vector2D & | locpos, | ||
| std::vector< Identifier > && | rdoList, | ||
| Amg::MatrixX && | locErrMat, | ||
| const MuonGM::CscReadoutElement * | detEl, | ||
| const int | charge, | ||
| const double | time, | ||
| const CscClusterStatus | status, | ||
| const CscTimeStatus | timeStatus = Muon::CscTimeStatusUndefined ) |
Definition at line 40 of file CscPrepData.cxx.
|
virtualdefault |
Destructor.
|
inline |
|
inlinevirtualinherited |
Returns the IdentifierHash corresponding to the PRD collection in the PRD container.
Definition at line 97 of file MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonPrepRawData/MuonPrepRawData/MuonCluster.h.
|
inlinefinaloverridevirtual |
Return the detector element corresponding to this PRD.
The pointer will be zero if the det el is not defined (i.e. it was not passed in by the ctor)
Implements Trk::PrepRawData.
Definition at line 147 of file CscPrepData.h.
|
finaloverridevirtual |
Dumps information about the PRD.
Reimplemented from Muon::MuonCluster.
Definition at line 74 of file CscPrepData.cxx.
|
finaloverridevirtual |
Dumps information about the PRD.
Reimplemented from Muon::MuonCluster.
Definition at line 93 of file CscPrepData.cxx.
|
inherited |
|
inlinefinaloverridevirtual |
Returns the global position.
Implements Muon::MuonCluster.
Definition at line 173 of file CscPrepData.h.
|
inherited |
returns localCovariance().size()!=0
|
inherited |
return the identifier
|
inherited |
return const ref to the error matrix
|
inherited |
return the local position reference
|
inlinestaticinherited |
Definition at line 25 of file TrkObjectCounter.h.
|
default |
|
defaultnoexcept |
|
inlinefinaloverridevirtual |
Interface method returning the prdType.
Implements Trk::PrepRawData.
Definition at line 110 of file CscPrepData.h.
|
inherited |
return the List of rdo identifiers (pointers)
|
inherited |
TEMP for testing: might make some classes friends later ...
|
inline |
Returns the Csc status (position measurement) flag.
Definition at line 162 of file CscPrepData.h.
|
inline |
|
inline |
Returns the Csc time status flag.
Definition at line 167 of file CscPrepData.h.
|
inlinevirtualinherited |
Interface method checking the type.
Reimplemented in InDet::PixelCluster, and InDet::SCT_Cluster.
Definition at line 133 of file PrepRawData.h.
|
friend |
Definition at line 46 of file CscPrepData.h.
|
friend |
Definition at line 47 of file CscPrepData.h.
|
private |
Definition at line 137 of file CscPrepData.h.
|
privateinherited |
PrepRawData ID, not const because of DataPool.
Definition at line 156 of file PrepRawData.h.
|
private |
Pointer to the detector element.
This is owned by this object and is therefore not deleted.
Definition at line 136 of file CscPrepData.h.
|
protectedinherited |
Global position of measurement.
Calculated on demand and cached
Definition at line 89 of file MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonPrepRawData/MuonPrepRawData/MuonCluster.h.
|
privateinherited |
Stores its own position (index) in collection plus the hash id for the collection (needed for the EL to IDC)
Definition at line 167 of file PrepRawData.h.
|
privateinherited |
See derived classes for definition of ErrorMatrix.
Definition at line 163 of file PrepRawData.h.
|
privateinherited |
see derived classes for definition of meaning of LocalPosition
Definition at line 159 of file PrepRawData.h.
|
privateinherited |
|
private |
Definition at line 139 of file CscPrepData.h.
|
private |
Definition at line 138 of file CscPrepData.h.
|
private |
Definition at line 140 of file CscPrepData.h.
|
inlinestaticinherited |
Definition at line 22 of file TrkObjectCounter.h.