|
| | PrepRawData () |
| | public because of DataPool
|
| | 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.
|
| | PrepRawData (const Identifier &clusId, const Amg::Vector2D &locpos, std::vector< Identifier > &&rdoList, Amg::MatrixX &&locerr) |
| | Full Constructor with r-value references.
|
| | 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.
|
| | PrepRawData (const Identifier &clusId, const Amg::Vector2D &locpos, Amg::MatrixX &&locerr) |
| 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 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.
|
| virtual bool | type (PrepRawDataType type) const |
| | Interface method checking the type.
|
| virtual PrepRawDataType | prdType () const =0 |
| | Interface method returning the prdType.
|
| virtual MsgStream & | dump (MsgStream &stream) const |
| | dump information about the PRD object.
|
| virtual std::ostream & | dump (std::ostream &stream) const |
| | dump information about the PRD object.
|
| void | setHashAndIndex (unsigned short collHash, unsigned short objIndex) |
| | TEMP for testing: might make some classes friends later ...
|
| const IdentContIndex & | getHashAndIndex () const |
Definition at line 61 of file PrepRawData.h.
| MsgStream & Trk::PrepRawData::dump |
( |
MsgStream & | stream | ) |
const |
|
virtual |
dump information about the PRD object.
Reimplemented in CscPrepData, CscStripPrepData, InDet::PixelCluster, InDet::SCT_Cluster, InDet::SiCluster, InDet::TRT_DriftCircle, Muon::CscPrepData, Muon::CscStripPrepData, Muon::MdtPrepData, Muon::MdtTwinPrepData, Muon::MMPrepData, Muon::MuonCluster, Muon::RpcCoinData, Muon::RpcPrepData, Muon::sTgcPrepData, and Muon::TgcPrepData.
Definition at line 79 of file PrepRawData.cxx.
80{
83
84 stream <<
"Local Position = (";
86
87 stream <<
"Local Covariance = (";
90 } else {
92 }
93
95 std::vector<Identifier>::const_iterator rdoIt = this->
rdoList().begin();
96 std::vector<Identifier>::const_iterator rdoItEnd = this->
rdoList().end();
97 for (; rdoIt != rdoItEnd; ++rdoIt) {
98 stream << rdoIt->getString() <<
", ";
99 }
101
104}
std::string getString() const
Provide a string form of the identifier - hexadecimal.
const Amg::Vector2D & localPosition() const
return the local position reference
Identifier identify() const
return the identifier
const Amg::MatrixX & localCovariance() const
return const ref to the error matrix
std::string toString(const Translation3D &translation, int precision=4)
GeoPrimitvesToStringConverter.
| std::ostream & Trk::PrepRawData::dump |
( |
std::ostream & | stream | ) |
const |
|
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 CscPrepData, CscStripPrepData, InDet::PixelCluster, InDet::SCT_Cluster, InDet::SiCluster, InDet::TRT_DriftCircle, Muon::CscPrepData, Muon::CscStripPrepData, Muon::MdtPrepData, Muon::MdtTwinPrepData, Muon::MMPrepData, Muon::MuonCluster, Muon::RpcCoinData, Muon::RpcPrepData, Muon::sTgcPrepData, and Muon::TgcPrepData.
Definition at line 107 of file PrepRawData.cxx.
108{
109 stream <<
"PrepRawData object" << std::endl;
111 stream <<
"Local Position = (";
112
114 stream <<
"Local Covariance = (";
117 } else {
119 }
121 <<
"\tIndex in collection: " <<
m_indexAndHash.objIndex() << std::endl;
125 }
128}