![]() |
ATLAS Offline Software
|
Class to represent sTgc measurements. More...
#include <sTgcPrepData.h>
Public Types | |
| enum class | Author : uint8_t { unKnown = 0 , RdoToPrdConverter , TrigProcessor , SimpleClusterBuilder , Caruana } |
| enum class | Quality : uint8_t { unKnown = 0 } |
Public Member Functions | |
| sTgcPrepData ()=default | |
| sTgcPrepData (const sTgcPrepData &)=delete | |
| sTgcPrepData (sTgcPrepData &&) noexcept=default | |
| sTgcPrepData & | operator= (const sTgcPrepData &)=delete |
| sTgcPrepData & | operator= (sTgcPrepData &&) noexcept=default |
| sTgcPrepData (const Identifier &RDOId, const IdentifierHash &idDE, Amg::Vector2D &&locpos, std::vector< Identifier > &&rdoList, Amg::MatrixX &&locErrMat, const MuonGM::sTgcReadoutElement *detEl, const int charge, const short int time, std::vector< uint16_t > &&stripNumbers, std::vector< short int > &&stripTimes, std::vector< int > &&stripCharges) | |
| Constructor. | |
| sTgcPrepData (const Identifier &RDOId, const IdentifierHash &idDE, Amg::Vector2D &&locpos, std::vector< Identifier > &&rdoList, Amg::MatrixX &&locErrMat, const MuonGM::sTgcReadoutElement *detEl, const int charge=0, const short int time=0) | |
| virtual | ~sTgcPrepData ()=default |
| Destructor: | |
| virtual const Amg::Vector3D & | globalPosition () const override final |
| Returns the global position. | |
| virtual const MuonGM::sTgcReadoutElement * | detectorElement () const override final |
| Returns the detector element corresponding to this PRD. | |
| virtual Trk::PrepRawDataType | prdType () const override |
| Interface method returning the prdType. | |
| virtual MsgStream & | dump (MsgStream &stream) const override final |
| Dumps information about the PRD. | |
| virtual std::ostream & | dump (std::ostream &stream) const override final |
| Dumps information about the PRD. | |
| int | charge () const |
| Returns the bcBitMap of this PRD bit2 for Previous BC, bit1 for Current BC, bit0 for Next BC. | |
| short int | time () const |
| const std::vector< uint16_t > & | stripNumbers () const |
| returns the list of strip numbers | |
| const std::vector< short int > & | stripTimes () const |
| returns the list of times | |
| const std::vector< int > & | stripCharges () const |
| returns the list of charges | |
| Quality | quality () const |
| void | setQuality (const Quality q) |
| Author | author () const |
| void | setAuthor (const Author a) |
| virtual IdentifierHash | collectionHash () const |
| Returns the IdentifierHash corresponding to the PRD collection in the PRD container. | |
| 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 |
Protected Attributes | |
| CxxUtils::CachedUniquePtr< const Amg::Vector3D > | m_globalPosition |
| Global position of measurement. | |
Private Attributes | |
| const MuonGM::sTgcReadoutElement * | m_detEl {nullptr} |
| Cached pointer to the detector element - should never be zero. | |
| int | m_charge {0} |
| short int | m_time {0} |
| std::vector< uint16_t > | m_stripNumbers {} |
| @list of strip numbers, time and charge, of the strips associated to the PRD | |
| std::vector< short int > | m_stripTimes {} |
| strip times for the sTGCs will be available for the commissioning of the NSW. | |
| std::vector< int > | m_stripCharges {} |
| Quality | m_quality {Quality::unKnown} |
| Author | m_author {Author::unKnown} |
| 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) | |
Class to represent sTgc measurements.
Definition at line 20 of file sTgcPrepData.h.
|
strong |
| Enumerator | |
|---|---|
| unKnown | |
| RdoToPrdConverter | |
| TrigProcessor | |
| SimpleClusterBuilder | |
| Caruana | |
Definition at line 99 of file sTgcPrepData.h.
|
strong |
| Enumerator | |
|---|---|
| unKnown | |
Definition at line 107 of file sTgcPrepData.h.
|
default |
|
delete |
|
defaultnoexcept |
| Muon::sTgcPrepData::sTgcPrepData | ( | const Identifier & | RDOId, |
| const IdentifierHash & | idDE, | ||
| Amg::Vector2D && | locpos, | ||
| std::vector< Identifier > && | rdoList, | ||
| Amg::MatrixX && | locErrMat, | ||
| const MuonGM::sTgcReadoutElement * | detEl, | ||
| const int | charge, | ||
| const short int | time, | ||
| std::vector< uint16_t > && | stripNumbers, | ||
| std::vector< short int > && | stripTimes, | ||
| std::vector< int > && | stripCharges ) |
Constructor.
| RDOId | The identifier of the central strip of the cluster |
| 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) |
| bcBitMap | bitmap storing in which bunches the channel fired |
Definition at line 10 of file sTgcPrepData.cxx.
| Muon::sTgcPrepData::sTgcPrepData | ( | const Identifier & | RDOId, |
| const IdentifierHash & | idDE, | ||
| Amg::Vector2D && | locpos, | ||
| std::vector< Identifier > && | rdoList, | ||
| Amg::MatrixX && | locErrMat, | ||
| const MuonGM::sTgcReadoutElement * | detEl, | ||
| const int | charge = 0, | ||
| const short int | time = 0 ) |
Definition at line 29 of file sTgcPrepData.cxx.
|
virtualdefault |
Destructor:
|
inline |
Definition at line 114 of file sTgcPrepData.h.
|
inline |
Returns the bcBitMap of this PRD bit2 for Previous BC, bit1 for Current BC, bit0 for Next BC.
Definition at line 153 of file sTgcPrepData.h.
|
inlinevirtualinherited |
Returns the IdentifierHash corresponding to the PRD collection in the PRD container.
Definition at line 97 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 Trk::PrepRawData.
Definition at line 138 of file sTgcPrepData.h.
|
finaloverridevirtual |
Dumps information about the PRD.
Reimplemented from Muon::MuonCluster.
Definition at line 42 of file sTgcPrepData.cxx.
|
finaloverridevirtual |
Dumps information about the PRD.
Reimplemented from Muon::MuonCluster.
Definition at line 49 of file sTgcPrepData.cxx.
|
inherited |
|
inlinefinaloverridevirtual |
Returns the global position.
Implements Muon::MuonCluster.
Definition at line 142 of file sTgcPrepData.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.
|
delete |
|
defaultnoexcept |
|
inlineoverridevirtual |
Interface method returning the prdType.
Implements Trk::PrepRawData.
Definition at line 75 of file sTgcPrepData.h.
|
inline |
Definition at line 111 of file sTgcPrepData.h.
|
inherited |
return the List of rdo identifiers (pointers)
|
inline |
Definition at line 115 of file sTgcPrepData.h.
|
inherited |
TEMP for testing: might make some classes friends later ...
|
inline |
Definition at line 112 of file sTgcPrepData.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 155 of file sTgcPrepData.h.
|
inlinevirtualinherited |
Interface method checking the type.
Reimplemented in InDet::PixelCluster, and InDet::SCT_Cluster.
Definition at line 133 of file PrepRawData.h.
|
private |
Definition at line 134 of file sTgcPrepData.h.
|
private |
Definition at line 120 of file sTgcPrepData.h.
|
privateinherited |
PrepRawData ID, not const because of DataPool.
Definition at line 156 of file PrepRawData.h.
|
private |
Cached pointer to the detector element - should never be zero.
Definition at line 119 of file sTgcPrepData.h.
|
protectedinherited |
Global position of measurement.
Calculated on demand and cached
Definition at line 89 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 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.
|
private |
Definition at line 133 of file sTgcPrepData.h.
|
privateinherited |
|
private |
Definition at line 131 of file sTgcPrepData.h.
|
private |
@list of strip numbers, time and charge, of the strips associated to the PRD
Definition at line 123 of file sTgcPrepData.h.
|
private |
strip times for the sTGCs will be available for the commissioning of the NSW.
Later the tdo (time) will not be in the datastream due to high occupancy. Then this an empty vector which does not take much space Patrick Scholer 3.12.2019
Definition at line 130 of file sTgcPrepData.h.
|
private |
Definition at line 121 of file sTgcPrepData.h.
|
inlinestaticinherited |
Definition at line 22 of file TrkObjectCounter.h.