![]() |
ATLAS Offline Software
|
Class to represent RPC measurements. More...
#include <RpcPrepData.h>
Public Member Functions | |
RpcPrepData ()=default | |
RpcPrepData (const RpcPrepData &)=default | |
RpcPrepData (RpcPrepData &&) noexcept=default | |
RpcPrepData & | operator= (const RpcPrepData &)=default |
RpcPrepData & | operator= (RpcPrepData &&) noexcept=default |
RpcPrepData (const Identifier &RDOId, const IdentifierHash &idDE, const Amg::Vector2D &locpos, const std::vector< Identifier > &rdoList, const Amg::MatrixX &locErrMat, const MuonGM::RpcReadoutElement *detEl, const float time, const int triggerInfo, const int ambiguityFlag) | |
Constructor. More... | |
RpcPrepData (const Identifier &RDOId, const IdentifierHash &idDE, const Amg::Vector2D &locpos, std::vector< Identifier > &&rdoList, Amg::MatrixX &&locErrMat, const MuonGM::RpcReadoutElement *detEl, const float time, const int triggerInfo, const int ambiguityFlag) | |
RpcPrepData (const Identifier &RDOId, const IdentifierHash &idDE, const Amg::Vector2D &locpos, const std::vector< Identifier > &rdoList, const Amg::MatrixX &locErrMat, const MuonGM::RpcReadoutElement *detEl, const float time, const float timeOverThresh, const int triggerInfo, const int ambiguityFlag) | |
Extra constructor containing the time over threshold variable. More... | |
RpcPrepData (const Identifier &RDOId, const IdentifierHash &idDE, const Amg::Vector2D &locpos, std::vector< Identifier > &&rdoList, Amg::MatrixX &&locErrMat, const MuonGM::RpcReadoutElement *detEl, const float time, const float timeOverThresh, const int triggerInfo, const int ambiguityFlag) | |
RpcPrepData (const Identifier &RDOId, const IdentifierHash &idDE, const Amg::Vector2D &locpos, const std::vector< Identifier > &rdoList, const Amg::MatrixX &locErrMat, const MuonGM::RpcReadoutElement *detEl, const float time, const int ambiguityFlag) | |
Extra Constructor without TriggerInfo for a slimmed version of RpcPrepData to come. More... | |
RpcPrepData (const Identifier &RDOId, const IdentifierHash &idDE, const Amg::Vector2D &locpos, std::vector< Identifier > &&rdoList, Amg::MatrixX &&locErrMat, const MuonGM::RpcReadoutElement *detEl, const float time, const int ambiguityFlag) | |
virtual | ~RpcPrepData ()=default |
Destructor: More... | |
float | time () const |
Returns the time. More... | |
virtual const Amg::Vector3D & | globalPosition () const override |
Returns the global position. More... | |
virtual const MuonGM::RpcReadoutElement * | detectorElement () const override final |
Returns the detector element corresponding to this PRD. More... | |
virtual bool | type (Trk::PrepRawDataType type) const override final |
Interface method checking the type. More... | |
int | triggerInfo () const |
Returns the trigger coincidence - usually false, unless ijk>5 or highpt&&ijk==0. More... | |
int | ambiguityFlag () const |
Returns the number of ambiguities associated with this RpcPrepData. More... | |
float | timeOverThreshold () const |
Returns the time over threshold. More... | |
virtual MsgStream & | dump (MsgStream &stream) const override |
Dumps information about the PRD. More... | |
virtual std::ostream & | dump (std::ostream &stream) const override |
Dumps information about the PRD. More... | |
virtual IdentifierHash | collectionHash () const |
Returns the IdentifierHash corresponding to the PRD collection in the PRD container. More... | |
Identifier | identify () const |
return the identifier More... | |
const Amg::Vector2D & | localPosition () const |
return the local position reference More... | |
const std::vector< Identifier > & | rdoList () const |
return the List of rdo identifiers (pointers) More... | |
const Amg::MatrixX & | localCovariance () const |
return const ref to the error matrix More... | |
bool | hasLocalCovariance () const |
returns localCovariance().size()!=0 More... | |
void | setHashAndIndex (unsigned short collHash, unsigned short objIndex) |
TEMP for testing: might make some classes friends later ... More... | |
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. More... | |
Private Attributes | |
const MuonGM::RpcReadoutElement * | m_detEl {nullptr} |
Cached pointer to the detector element - should never be zero. More... | |
float | m_time {0.f} |
Float since PRD produced from RDO, and RDO should contain the time calculated from the bcid and the RPC clock ticks. More... | |
float | m_timeOverThreshold {-1.f} |
time over threshold (BIS78 chips only) More... | |
int | m_triggerInfo {0} |
usually false, unless ijk>5 or highpt&&ijk==0 More... | |
int | m_ambiguityFlag {0} |
Trigger ambiguities. More... | |
Identifier | m_clusId { 0 } |
PrepRawData ID, not const because of DataPool. More... | |
Amg::Vector2D | m_localPos {} |
see derived classes for definition of meaning of LocalPosition More... | |
std::vector< Identifier > | m_rdoList {} |
Stores the identifiers of the RDOs. More... | |
Amg::MatrixX | m_localCovariance {} |
See derived classes for definition of ErrorMatrix. More... | |
IdentContIndex | m_indexAndHash |
Stores its own position (index) in collection plus the hash id for the collection (needed for the EL to IDC) More... | |
Friends | |
class | Muon::RpcRdoToPrepDataToolMT |
class | ::RpcPrepDataContainerCnv |
class | Muon::RpcPrepDataContainerCnv_p1 |
class | Muon::RpcPrepDataContainerCnv_p2 |
Class to represent RPC measurements.
Definition at line 34 of file RpcPrepData.h.
|
default |
|
default |
|
defaultnoexcept |
Muon::RpcPrepData::RpcPrepData | ( | const Identifier & | RDOId, |
const IdentifierHash & | idDE, | ||
const Amg::Vector2D & | locpos, | ||
const std::vector< Identifier > & | rdoList, | ||
const Amg::MatrixX & | locErrMat, | ||
const MuonGM::RpcReadoutElement * | detEl, | ||
const float | time, | ||
const int | triggerInfo, | ||
const int | ambiguityFlag | ||
) |
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) |
time | The time measured by the RPC |
triggerInfo | The trigger info flag - see m_triggerInfo for more definition. |
ambiguityFlag | The ambiguity flag - see m_ambiguityFlag for more definition. |
Definition at line 21 of file RpcPrepData.cxx.
Muon::RpcPrepData::RpcPrepData | ( | const Identifier & | RDOId, |
const IdentifierHash & | idDE, | ||
const Amg::Vector2D & | locpos, | ||
std::vector< Identifier > && | rdoList, | ||
Amg::MatrixX && | locErrMat, | ||
const MuonGM::RpcReadoutElement * | detEl, | ||
const float | time, | ||
const int | triggerInfo, | ||
const int | ambiguityFlag | ||
) |
Definition at line 68 of file RpcPrepData.cxx.
Muon::RpcPrepData::RpcPrepData | ( | const Identifier & | RDOId, |
const IdentifierHash & | idDE, | ||
const Amg::Vector2D & | locpos, | ||
const std::vector< Identifier > & | rdoList, | ||
const Amg::MatrixX & | locErrMat, | ||
const MuonGM::RpcReadoutElement * | detEl, | ||
const float | time, | ||
const float | timeOverThresh, | ||
const int | triggerInfo, | ||
const int | ambiguityFlag | ||
) |
Extra constructor containing the time over threshold variable.
Definition at line 37 of file RpcPrepData.cxx.
Muon::RpcPrepData::RpcPrepData | ( | const Identifier & | RDOId, |
const IdentifierHash & | idDE, | ||
const Amg::Vector2D & | locpos, | ||
std::vector< Identifier > && | rdoList, | ||
Amg::MatrixX && | locErrMat, | ||
const MuonGM::RpcReadoutElement * | detEl, | ||
const float | time, | ||
const float | timeOverThresh, | ||
const int | triggerInfo, | ||
const int | ambiguityFlag | ||
) |
Definition at line 84 of file RpcPrepData.cxx.
Muon::RpcPrepData::RpcPrepData | ( | const Identifier & | RDOId, |
const IdentifierHash & | idDE, | ||
const Amg::Vector2D & | locpos, | ||
const std::vector< Identifier > & | rdoList, | ||
const Amg::MatrixX & | locErrMat, | ||
const MuonGM::RpcReadoutElement * | detEl, | ||
const float | time, | ||
const int | ambiguityFlag | ||
) |
Extra Constructor without TriggerInfo for a slimmed version of RpcPrepData to come.
Definition at line 55 of file RpcPrepData.cxx.
Muon::RpcPrepData::RpcPrepData | ( | const Identifier & | RDOId, |
const IdentifierHash & | idDE, | ||
const Amg::Vector2D & | locpos, | ||
std::vector< Identifier > && | rdoList, | ||
Amg::MatrixX && | locErrMat, | ||
const MuonGM::RpcReadoutElement * | detEl, | ||
const float | time, | ||
const int | ambiguityFlag | ||
) |
Definition at line 102 of file RpcPrepData.cxx.
|
virtualdefault |
Destructor:
|
inline |
Returns the number of ambiguities associated with this RpcPrepData.
Definition at line 212 of file RpcPrepData.h.
|
inlinevirtualinherited |
Returns the IdentifierHash corresponding to the PRD collection in the PRD container.
Definition at line 104 of file MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonPrepRawData/MuonPrepRawData/MuonCluster.h.
|
inlinefinaloverridevirtual |
Returns 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 Muon::MuonCluster.
Definition at line 202 of file RpcPrepData.h.
|
overridevirtual |
Dumps information about the PRD.
Reimplemented from Muon::MuonCluster.
Reimplemented in Muon::RpcCoinData.
Definition at line 119 of file RpcPrepData.cxx.
|
overridevirtual |
Dumps information about the PRD.
Reimplemented from Muon::MuonCluster.
Reimplemented in Muon::RpcCoinData.
Definition at line 134 of file RpcPrepData.cxx.
|
inherited |
|
inlineoverridevirtual |
Returns the global position.
Implements Muon::MuonCluster.
Definition at line 218 of file RpcPrepData.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 |
|
inherited |
return the List of rdo identifiers (pointers)
|
inherited |
TEMP for testing: might make some classes friends later ...
|
inline |
|
inline |
|
inline |
Returns the trigger coincidence - usually false, unless ijk>5 or highpt&&ijk==0.
Definition at line 207 of file RpcPrepData.h.
|
inlinefinaloverridevirtual |
Interface method checking the type.
Implements Muon::MuonCluster.
Definition at line 143 of file RpcPrepData.h.
|
friend |
Definition at line 44 of file RpcPrepData.h.
|
friend |
Definition at line 45 of file RpcPrepData.h.
|
friend |
Definition at line 46 of file RpcPrepData.h.
|
friend |
Definition at line 37 of file RpcPrepData.h.
|
private |
Trigger ambiguities.
Definition at line 187 of file RpcPrepData.h.
|
privateinherited |
PrepRawData ID, not const because of DataPool.
Definition at line 151 of file PrepRawData.h.
|
private |
Cached pointer to the detector element - should never be zero.
Definition at line 169 of file RpcPrepData.h.
|
protectedinherited |
Global position of measurement.
Calculated on demand and cached
Definition at line 96 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 162 of file PrepRawData.h.
|
privateinherited |
See derived classes for definition of ErrorMatrix.
Definition at line 158 of file PrepRawData.h.
|
privateinherited |
see derived classes for definition of meaning of LocalPosition
Definition at line 154 of file PrepRawData.h.
|
privateinherited |
Stores the identifiers of the RDOs.
Definition at line 156 of file PrepRawData.h.
|
private |
Float since PRD produced from RDO, and RDO should contain the time calculated from the bcid and the RPC clock ticks.
(as bcid*25+ticks*3.125).
Definition at line 173 of file RpcPrepData.h.
|
private |
time over threshold (BIS78 chips only)
Definition at line 178 of file RpcPrepData.h.
|
private |
usually false, unless ijk>5 or highpt&&ijk==0
Definition at line 182 of file RpcPrepData.h.
|
inlinestaticinherited |
Definition at line 22 of file TrkObjectCounter.h.