ATLAS Offline Software
|
#include <PrepRawData.h>
Public Member Functions | |
PrepRawData () | |
public because of DataPool More... | |
PrepRawData (const PrepRawData &)=default | |
PrepRawData (PrepRawData &&) noexcept=default | |
PrepRawData & | operator= (const PrepRawData &)=default |
PrepRawData & | operator= (PrepRawData &&) noexcept=default |
virtual | ~PrepRawData ()=default |
PrepRawData (const Identifier &clusId, const Amg::Vector2D &locpos, const std::vector< Identifier > &rdoList, const Amg::MatrixX &locerr) | |
Full Constructor using lvalue references. More... | |
PrepRawData (const Identifier &clusId, const Amg::Vector2D &locpos, std::vector< Identifier > &&rdoList, Amg::MatrixX &&locerr) | |
Full Constructor with r-value references. More... | |
PrepRawData (const Identifier &clusId, const Amg::Vector2D &locpos, const Amg::MatrixX &locerr) | |
Constructor - same as above, but no need to pass a vector of Identifiers (i.e. More... | |
PrepRawData (const Identifier &clusId, const Amg::Vector2D &locpos, Amg::MatrixX &&locerr) | |
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... | |
virtual const TrkDetElementBase * | detectorElement () const =0 |
return the detector element corresponding to this PRD The pointer will be zero if the det el is not defined (i.e. More... | |
virtual bool | type (PrepRawDataType type) const =0 |
Interface method checking the type. More... | |
virtual MsgStream & | dump (MsgStream &stream) const |
dump information about the PRD object. More... | |
virtual std::ostream & | dump (std::ostream &stream) const |
dump information about the PRD object. 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 |
Private Attributes | |
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 | ::PrepRawDataCnv_p1 |
class | Muon::RpcPrepDataContainerCnv_p1 |
Definition at line 61 of file PrepRawData.h.
Trk::PrepRawData::PrepRawData | ( | ) |
|
default |
|
defaultnoexcept |
|
virtualdefault |
Trk::PrepRawData::PrepRawData | ( | const Identifier & | clusId, |
const Amg::Vector2D & | locpos, | ||
const std::vector< Identifier > & | rdoList, | ||
const Amg::MatrixX & | locerr | ||
) |
Full Constructor using lvalue references.
clusId | Identifier of the tube, strip etc which has produced this Trk::PrepRawData. |
locpos | LocalPosition of the measurement (see Trk::LocalPosition for more discussion about what this means). |
rdoList | Vector the Identifiers tubes, strips etc which produced this Trk::PrepRawData (cluster). |
locerr | Errors of the above measurement. |
Definition at line 16 of file PrepRawData.cxx.
Trk::PrepRawData::PrepRawData | ( | const Identifier & | clusId, |
const Amg::Vector2D & | locpos, | ||
std::vector< Identifier > && | rdoList, | ||
Amg::MatrixX && | locerr | ||
) |
Trk::PrepRawData::PrepRawData | ( | const Identifier & | clusId, |
const Amg::Vector2D & | locpos, | ||
const Amg::MatrixX & | locerr | ||
) |
Constructor - same as above, but no need to pass a vector of Identifiers (i.e.
for DriftCircles)
clusId | Identifier of the tube, strip etc which has produced this Trk::PrepRawData. |
locpos | LocalPosition of the measurement (see Trk::LocalPosition for more discussion about what this means). |
locerr | Errors of the above measurement. It is not required to pass this (e.g. for Trigger clients) in which case a null pointer is passed |
Definition at line 43 of file PrepRawData.cxx.
Trk::PrepRawData::PrepRawData | ( | const Identifier & | clusId, |
const Amg::Vector2D & | locpos, | ||
Amg::MatrixX && | locerr | ||
) |
Definition at line 55 of file PrepRawData.cxx.
|
pure virtual |
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)
Implemented in Muon::MuonCluster, Muon::RpcPrepData, InDet::SiCluster, Muon::CscPrepData, Muon::MMPrepData, InDet::TRT_DriftCircle, Muon::CscStripPrepData, Muon::TgcPrepData, Muon::sTgcPrepData, Muon::MdtPrepData, and HGTD_Cluster.
|
virtual |
dump information about the PRD object.
Reimplemented in InDet::PixelCluster, Muon::MMPrepData, Muon::CscPrepData, InDet::TRT_DriftCircle, Muon::CscStripPrepData, Muon::TgcPrepData, Muon::sTgcPrepData, InDet::SCT_Cluster, Muon::RpcPrepData, InDet::SiCluster, Muon::MdtPrepData, Muon::MuonCluster, Muon::MdtTwinPrepData, and Muon::RpcCoinData.
Definition at line 79 of file PrepRawData.cxx.
|
virtual |
dump information about the PRD object.
I would like to make this pure virtual, but I don't want to risk screwing up the muon classes for the moment
Reimplemented in InDet::PixelCluster, Muon::MMPrepData, Muon::CscPrepData, InDet::TRT_DriftCircle, Muon::CscStripPrepData, Muon::TgcPrepData, Muon::sTgcPrepData, InDet::SCT_Cluster, Muon::RpcPrepData, InDet::SiCluster, Muon::MdtPrepData, Muon::MuonCluster, Muon::MdtTwinPrepData, and Muon::RpcCoinData.
Definition at line 107 of file PrepRawData.cxx.
const IdentContIndex& Trk::PrepRawData::getHashAndIndex | ( | ) | const |
bool Trk::PrepRawData::hasLocalCovariance | ( | ) | const |
returns localCovariance().size()!=0
Identifier Trk::PrepRawData::identify | ( | ) | const |
return the identifier
const Amg::MatrixX& Trk::PrepRawData::localCovariance | ( | ) | const |
return const ref to the error matrix
const Amg::Vector2D& Trk::PrepRawData::localPosition | ( | ) | const |
return the local position reference
|
inlinestaticinherited |
Definition at line 25 of file TrkObjectCounter.h.
|
default |
|
defaultnoexcept |
const std::vector<Identifier>& Trk::PrepRawData::rdoList | ( | ) | const |
return the List of rdo identifiers (pointers)
void Trk::PrepRawData::setHashAndIndex | ( | unsigned short | collHash, |
unsigned short | objIndex | ||
) |
TEMP for testing: might make some classes friends later ...
|
pure virtual |
Interface method checking the type.
Implemented in Muon::MuonCluster, Muon::RpcPrepData, InDet::PixelCluster, Muon::CscPrepData, Muon::MMPrepData, InDet::TRT_DriftCircle, Muon::CscStripPrepData, Muon::TgcPrepData, Muon::sTgcPrepData, InDet::SCT_Cluster, InDet::SiCluster, Muon::MdtPrepData, and HGTD_Cluster.
|
friend |
Definition at line 147 of file PrepRawData.h.
|
friend |
Definition at line 148 of file PrepRawData.h.
|
private |
PrepRawData ID, not const because of DataPool.
Definition at line 151 of file PrepRawData.h.
|
private |
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.
|
private |
See derived classes for definition of ErrorMatrix.
Definition at line 158 of file PrepRawData.h.
|
private |
see derived classes for definition of meaning of LocalPosition
Definition at line 154 of file PrepRawData.h.
|
private |
Stores the identifiers of the RDOs.
Definition at line 156 of file PrepRawData.h.
|
inlinestaticinherited |
Definition at line 22 of file TrkObjectCounter.h.