![]() |
ATLAS Offline Software
|
#include <SiCluster.h>
Public Member Functions | |
| 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 | |
| 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). | |
Virtual methods | |
| Amg::Vector3D | m_globalPosition = Amg::Vector3D::Zero() |
| InDet::SiWidth | m_width {} |
| col, row, and width in mm | |
| const InDetDD::SiDetectorElement * | m_detEl = nullptr |
| Not owning points (ownned by the store. | |
| bool | m_gangedPixel = false |
| const InDet::SiWidth & | width () const |
| return width class reference | |
| const Amg::Vector3D & | globalPosition () const |
| return global position reference | |
| void | setGangedPixel (bool ganged) |
| set the flag of this cluster containing a gangedPixel | |
| bool | gangedPixel () const |
| return the flag of this cluster containing a gangedPixel | |
| virtual const InDetDD::SiDetectorElement * | 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 |
| Interface method checking the type. | |
| virtual MsgStream & | dump (MsgStream &stream) const override |
| dump information about the SiCluster | |
| virtual std::ostream & | dump (std::ostream &stream) const override |
| dump information about the SiCluster | |
| void | setDetectorElement (const InDetDD::SiDetectorElement *detEl) |
| Set the m_detEl and calculate globalPostion. | |
Definition at line 39 of file SiCluster.h.
|
default |
|
default |
Copy constructor.
|
default |
Move constructor.
|
virtualdefault |
Destructor:
| InDet::SiCluster::SiCluster | ( | const Identifier & | RDOId, |
| const Amg::Vector2D & | locpos, | ||
| std::vector< Identifier > && | rdoList, | ||
| const InDet::SiWidth & | width, | ||
| const InDetDD::SiDetectorElement * | detEl, | ||
| Amg::MatrixX && | locErrMat ) |
Constructor with parameters using ref or omitting Amg::MatrixX.
If omitted we have any empty one.
Definition at line 22 of file SiCluster.cxx.
| InDet::SiCluster::SiCluster | ( | const Identifier & | RDOId, |
| const Amg::Vector2D & | locpos, | ||
| std::vector< Identifier > && | rdoList, | ||
| const InDet::SiWidth & | width, | ||
| const InDetDD::SiDetectorElement * | detEl ) |
Definition at line 41 of file SiCluster.cxx.
| InDet::SiCluster::SiCluster | ( | const Identifier & | RDOId, |
| const Amg::Vector2D & | locpos, | ||
| const Amg::Vector3D & | globpos, | ||
| std::vector< Identifier > && | rdoList, | ||
| const InDet::SiWidth & | width, | ||
| const InDetDD::SiDetectorElement * | detEl, | ||
| Amg::MatrixX && | locErrMat ) |
Definition at line 58 of file SiCluster.cxx.
| InDet::SiCluster::SiCluster | ( | const Identifier & | RDOId, |
| const Amg::Vector2D & | locpos, | ||
| const Amg::Vector3D & | globpos, | ||
| std::vector< Identifier > && | rdoList, | ||
| const InDet::SiWidth & | width, | ||
| const InDetDD::SiDetectorElement * | detEl ) |
Definition at line 73 of file SiCluster.cxx.
|
finaloverridevirtual |
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.
|
overridevirtual |
dump information about the SiCluster
Reimplemented from Trk::PrepRawData.
Reimplemented in InDet::PixelCluster, and InDet::SCT_Cluster.
Definition at line 88 of file SiCluster.cxx.
|
overridevirtual |
dump information about the SiCluster
Reimplemented from Trk::PrepRawData.
Reimplemented in InDet::PixelCluster, and InDet::SCT_Cluster.
Definition at line 97 of file SiCluster.cxx.
| bool InDet::SiCluster::gangedPixel | ( | ) | const |
return the flag of this cluster containing a gangedPixel
|
inherited |
| const Amg::Vector3D & InDet::SiCluster::globalPosition | ( | ) | const |
return global position reference
|
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.
|
overridevirtual |
Interface method checking the type.
Implements Trk::PrepRawData.
Reimplemented in InDet::PixelCluster, and InDet::SCT_Cluster.
|
inherited |
return the List of rdo identifiers (pointers)
| void InDet::SiCluster::setDetectorElement | ( | const InDetDD::SiDetectorElement * | detEl | ) |
Set the m_detEl and calculate globalPostion.
| void InDet::SiCluster::setGangedPixel | ( | bool | ganged | ) |
set the flag of this cluster containing a gangedPixel
|
inherited |
TEMP for testing: might make some classes friends later ...
|
inlinevirtualinherited |
Interface method checking the type.
Reimplemented in InDet::PixelCluster, and InDet::SCT_Cluster.
Definition at line 133 of file PrepRawData.h.
| const InDet::SiWidth & InDet::SiCluster::width | ( | ) | const |
return width class reference
|
friend |
Definition at line 45 of file SiCluster.h.
|
friend |
Definition at line 49 of file SiCluster.h.
|
friend |
Definition at line 47 of file SiCluster.h.
|
friend |
Definition at line 46 of file SiCluster.h.
|
friend |
Definition at line 51 of file SiCluster.h.
|
friend |
Definition at line 52 of file SiCluster.h.
|
friend |
Definition at line 48 of file SiCluster.h.
|
friend |
Definition at line 50 of file SiCluster.h.
|
privateinherited |
PrepRawData ID, not const because of DataPool.
Definition at line 156 of file PrepRawData.h.
|
private |
Not owning points (ownned by the store.
Definition at line 139 of file SiCluster.h.
|
private |
Definition at line 140 of file SiCluster.h.
|
private |
Definition at line 135 of file SiCluster.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 |
|
inlinestaticinherited |
Definition at line 22 of file TrkObjectCounter.h.