![]() |
ATLAS Offline Software
|
Class representing the raw data of one CSC strip (for clusters look at Muon::CscPrepData). More...
#include <CscStripPrepData.h>
Public Member Functions | |
| CscStripPrepData () | |
| CscStripPrepData (const CscStripPrepData &) | |
| CscStripPrepData & | operator= (const CscStripPrepData &) |
| CscStripPrepData (const Identifier &RDOId, const IdentifierHash &collectionHash, const Amg::Vector2D &locpos, const Amg::MatrixX &locErrMat, const MuonGM::CscReadoutElement *detEl, const std::vector< float > &sampleCharges, float timeOfFirstSample, unsigned short samplingRate) | |
| Constructor. | |
| CscStripPrepData (const Identifier &RDOId, const IdentifierHash &collectionHash, const Amg::Vector2D &locpos, Amg::MatrixX &&locErrMat, const MuonGM::CscReadoutElement *detEl, const std::vector< float > &sampleCharges, float timeOfFirstSample, unsigned short samplingRate) | |
| virtual | ~CscStripPrepData () |
| Destructor: | |
| const Amg::Vector3D & | globalPosition () const |
| return global position reference | |
| virtual const MuonGM::CscReadoutElement * | detectorElement () const override final |
| return the detector element corresponding to this PRD The pointer will be zero if the det el is not defined (i.e. | |
| virtual Trk::PrepRawDataType | prdType () const override final |
| Interface method checking the type. | |
| virtual const IdentifierHash | collectionHash () const final |
| returns the IdentifierHash corresponding to the channel. | |
| const std::vector< float > & | sampleCharges () const |
| Return the time samples. | |
| double | timeOfFirstSample () const |
| return the time of the first sample | |
| bool | samplingPhase () const |
| return the sampling phase | |
| unsigned short | samplingTime () const |
| return the sampling time in ns: the time between samplings | |
| virtual MsgStream & | dump (MsgStream &stream) const override final |
| dump information about the PRD | |
| virtual std::ostream & | dump (std::ostream &stream) const override final |
| dump information about the PRD | |
| void | set_samplingPhase () |
| set the sampling phase | |
| 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 |
Private Attributes | |
| IdentifierHash | m_collectionHash |
| The IdenifierHash of the collection used to store this PRD. | |
| CxxUtils::CachedUniquePtr< const Amg::Vector3D > | m_globalPosition |
| The global position is calculated 'on the fly' and is not written to disk. | |
| const MuonGM::CscReadoutElement * | m_detEl |
| std::vector< float > | m_sampleCharges |
| float | m_timeOfFirstSample |
| unsigned short | m_samplingTime |
| bool | m_samplingPhase |
| 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 | ::CscStripPrepDataContainerCnv |
| class | Muon::CscStripPrepDataContainerCnv_p1 |
Class representing the raw data of one CSC strip (for clusters look at Muon::CscPrepData).
Definition at line 39 of file CscStripPrepData.h.
| Muon::CscStripPrepData::CscStripPrepData | ( | ) |
Definition at line 69 of file CscStripPrepData.cxx.
| Muon::CscStripPrepData::CscStripPrepData | ( | const CscStripPrepData & | RIO | ) |
Definition at line 81 of file CscStripPrepData.cxx.
| Muon::CscStripPrepData::CscStripPrepData | ( | const Identifier & | RDOId, |
| const IdentifierHash & | collectionHash, | ||
| const Amg::Vector2D & | locpos, | ||
| const Amg::MatrixX & | locErrMat, | ||
| const MuonGM::CscReadoutElement * | detEl, | ||
| const std::vector< float > & | sampleCharges, | ||
| float | timeOfFirstSample, | ||
| unsigned short | samplingRate ) |
Constructor.
| RDOId | The identifier of the strip |
| collectionHash | 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) |
| 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) |
| sampleCharges | The vector of charges measured by the strip. |
| timeOfFirstSample | The time measured by the CSC |
| samplingRate | The sampling rate. |
Definition at line 23 of file CscStripPrepData.cxx.
| Muon::CscStripPrepData::CscStripPrepData | ( | const Identifier & | RDOId, |
| const IdentifierHash & | collectionHash, | ||
| const Amg::Vector2D & | locpos, | ||
| Amg::MatrixX && | locErrMat, | ||
| const MuonGM::CscReadoutElement * | detEl, | ||
| const std::vector< float > & | sampleCharges, | ||
| float | timeOfFirstSample, | ||
| unsigned short | samplingRate ) |
Definition at line 43 of file CscStripPrepData.cxx.
|
virtualdefault |
Destructor:
|
inlinefinalvirtual |
returns the IdentifierHash corresponding to the channel.
Definition at line 157 of file CscStripPrepData.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 152 of file CscStripPrepData.h.
|
finaloverridevirtual |
dump information about the PRD
Reimplemented from Trk::PrepRawData.
Definition at line 109 of file CscStripPrepData.cxx.
|
finaloverridevirtual |
dump information about the PRD
Reimplemented from Trk::PrepRawData.
Definition at line 127 of file CscStripPrepData.cxx.
|
inherited |
|
inline |
return global position reference
Definition at line 140 of file CscStripPrepData.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.
| CscStripPrepData & Muon::CscStripPrepData::operator= | ( | const CscStripPrepData & | RIO | ) |
Definition at line 93 of file CscStripPrepData.cxx.
|
inlinefinaloverridevirtual |
Interface method checking the type.
Implements Trk::PrepRawData.
Definition at line 94 of file CscStripPrepData.h.
|
inherited |
return the List of rdo identifiers (pointers)
|
inline |
Return the time samples.
Definition at line 162 of file CscStripPrepData.h.
|
inline |
return the sampling phase
Definition at line 177 of file CscStripPrepData.h.
|
inline |
return the sampling time in ns: the time between samplings
Definition at line 172 of file CscStripPrepData.h.
|
inline |
set the sampling phase
Definition at line 182 of file CscStripPrepData.h.
|
inherited |
TEMP for testing: might make some classes friends later ...
|
inline |
return the time of the first sample
Definition at line 167 of file CscStripPrepData.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 47 of file CscStripPrepData.h.
|
friend |
Definition at line 48 of file CscStripPrepData.h.
|
privateinherited |
PrepRawData ID, not const because of DataPool.
Definition at line 156 of file PrepRawData.h.
|
private |
The IdenifierHash of the collection used to store this PRD.
Definition at line 125 of file CscStripPrepData.h.
|
private |
Definition at line 128 of file CscStripPrepData.h.
|
private |
The global position is calculated 'on the fly' and is not written to disk.
Definition at line 127 of file CscStripPrepData.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 129 of file CscStripPrepData.h.
|
private |
Definition at line 132 of file CscStripPrepData.h.
|
private |
Definition at line 131 of file CscStripPrepData.h.
|
private |
Definition at line 130 of file CscStripPrepData.h.
|
inlinestaticinherited |
Definition at line 22 of file TrkObjectCounter.h.