![]() |
ATLAS Offline Software
|
Class to represent measurements from the Monitored Drift Tubes. More...
#include <MdtTwinPrepData.h>
Public Member Functions | |
| MdtTwinPrepData ()=default | |
| MdtTwinPrepData (const MdtTwinPrepData &)=default | |
| MdtTwinPrepData & | operator= (const MdtTwinPrepData &)=default |
| MdtTwinPrepData (const Identifier &id, const Amg::Vector2D &driftRadiusXTwin, const Amg::MatrixX &errDriftRadiusXTwin, const MuonGM::MdtReadoutElement *detEl, const int tdc, const int adc, const int tdcTwin, const int adcTwin, const MdtDriftCircleStatus status) | |
| Constructor with parameters: this class owns the pointers passed (except the MuonDetectorElement) | |
| virtual | ~MdtTwinPrepData ()=default |
| Destructor. | |
| const Amg::Vector3D & | globalPosition () const |
| Returns the global position of the hit using twin hit information. | |
| int | tdcTwin () const |
| Returns the TDC of twin tube(typically range is 0 to 2500). | |
| int | adcTwin () const |
| Returns the ADC of twin tube(typically range is 0 to 250) | |
| virtual MsgStream & | dump (MsgStream &stream) const |
| Dumps information about the PRD. | |
| virtual std::ostream & | dump (std::ostream &stream) const |
| Dumps information about the PRD. | |
| virtual const MuonGM::MdtReadoutElement * | detectorElement () const override |
| Returns the detector element corresponding to this PRD. | |
| virtual Trk::PrepRawDataType | prdType () const override |
| Interface method returning the prdType. | |
| unsigned int | dimension () const |
| Returns the dimension of the MdtPrepData. | |
| int | tdc () const |
| Returns the TDC (typically range is 0 to 2500). | |
| int | adc () const |
| Returns the ADC (typically range is 0 to 250) | |
| MdtDriftCircleStatus | status () const |
| Returns the status of the measurement. | |
| virtual IdentifierHash | collectionHash () const |
| Returns the IdentifierHash corresponding to the Mdt tube which was hit. | |
| 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 | |
| int | m_tdcTwin {0} |
| TDC value of twin tube - typical TDC spectra can go from 0 up to 2500. | |
| int | m_adcTwin {0} |
| ADC value of twin tube - typical ADC spectra can go from 0 up to 250. | |
| const MuonGM::MdtReadoutElement * | m_detEl {nullptr} |
| Cached pointer to detector element (not deleted in destructor, not written to disk) | |
| int | m_tdc {0} |
| TDC value - typical TDC spectra can go from 0 up to 2500. | |
| int | m_adc {0} |
| ADC value - typical ADC spectra can go from 0 up to 250. | |
| MdtDriftCircleStatus | m_status {MdtDriftCircleStatus::MdtStatusUnDefined} |
| enum to hold 'status' of measurement | |
| 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) | |
Friends | |
| class | ::MdtPrepDataContainerCnv |
Class to represent measurements from the Monitored Drift Tubes.
Definition at line 32 of file MdtTwinPrepData.h.
|
default |
|
default |
| Muon::MdtTwinPrepData::MdtTwinPrepData | ( | const Identifier & | id, |
| const Amg::Vector2D & | driftRadiusXTwin, | ||
| const Amg::MatrixX & | errDriftRadiusXTwin, | ||
| const MuonGM::MdtReadoutElement * | detEl, | ||
| const int | tdc, | ||
| const int | adc, | ||
| const int | tdcTwin, | ||
| const int | adcTwin, | ||
| const MdtDriftCircleStatus | status ) |
Constructor with parameters: this class owns the pointers passed (except the MuonDetectorElement)
| id | Identifier of the tube which generated DriftCircle, |
| collectionHash | IdentifierHash of the PRD collection in which the MdtTwinPrepData is stored |
| driftRadius | this local position object should contain the drift radius and xTwin(local position along tube) calculated from twin hit |
| errDriftRadius | the error on the driftRadius and xTwin (i.e. 2d error matix) |
| detEl | pointer to the associated detectr element (will not be owned by MdtTwinPrepData - i.e. will not be deleted) |
| tdc | TDC count |
| adc | ADC count |
| tdc | TDC twin count |
| adc | ADC twin count |
| status | enum to indicate whether the measurement is masked, in time, etc (see MdtTwinPrepDataStatus for details). |
Definition at line 15 of file MdtTwinPrepData.cxx.
|
virtualdefault |
Destructor.
|
inlineinherited |
Returns the ADC (typically range is 0 to 250)
Definition at line 146 of file MdtPrepData.h.
|
inline |
Returns the ADC of twin tube(typically range is 0 to 250)
Definition at line 100 of file MdtTwinPrepData.h.
|
inlinevirtualinherited |
Returns the IdentifierHash corresponding to the Mdt tube which was hit.
Definition at line 148 of file MdtPrepData.h.
|
inlineoverridevirtualinherited |
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 141 of file MdtPrepData.h.
|
inlineinherited |
Returns the dimension of the MdtPrepData.
Ordinary prepData has dimension one twin drift circles have dimension 2
Definition at line 85 of file MdtPrepData.h.
|
virtual |
Dumps information about the PRD.
Reimplemented from Muon::MdtPrepData.
Definition at line 27 of file MdtTwinPrepData.cxx.
|
virtual |
Dumps information about the PRD.
Reimplemented from Muon::MdtPrepData.
Definition at line 41 of file MdtTwinPrepData.cxx.
|
inherited |
|
inlinevirtual |
Returns the global position of the hit using twin hit information.
Reimplemented from Muon::MdtPrepData.
Definition at line 103 of file MdtTwinPrepData.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 |
|
inlineoverridevirtualinherited |
Interface method returning the prdType.
Implements Trk::PrepRawData.
Definition at line 80 of file MdtPrepData.h.
|
inherited |
return the List of rdo identifiers (pointers)
|
inherited |
TEMP for testing: might make some classes friends later ...
|
inlineinherited |
Returns the status of the measurement.
Definition at line 147 of file MdtPrepData.h.
|
inlineinherited |
Returns the TDC (typically range is 0 to 2500).
Definition at line 145 of file MdtPrepData.h.
|
inline |
Returns the TDC of twin tube(typically range is 0 to 2500).
Definition at line 99 of file MdtTwinPrepData.h.
|
inlinevirtualinherited |
Interface method checking the type.
Reimplemented in InDet::PixelCluster, and InDet::SCT_Cluster.
Definition at line 133 of file PrepRawData.h.
|
friend |
Definition at line 40 of file MdtTwinPrepData.h.
|
privateinherited |
ADC value - typical ADC spectra can go from 0 up to 250.
Definition at line 115 of file MdtPrepData.h.
|
private |
ADC value of twin tube - typical ADC spectra can go from 0 up to 250.
Definition at line 91 of file MdtTwinPrepData.h.
|
privateinherited |
PrepRawData ID, not const because of DataPool.
Definition at line 156 of file PrepRawData.h.
|
privateinherited |
Cached pointer to detector element (not deleted in destructor, not written to disk)
Definition at line 109 of file MdtPrepData.h.
|
protectedinherited |
Global position of measurement.
Calculated on demand and cached (not deleted in destructor, not written to disk)
Definition at line 124 of file MdtPrepData.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 |
|
privateinherited |
enum to hold 'status' of measurement
Definition at line 118 of file MdtPrepData.h.
|
privateinherited |
TDC value - typical TDC spectra can go from 0 up to 2500.
Definition at line 112 of file MdtPrepData.h.
|
private |
TDC value of twin tube - typical TDC spectra can go from 0 up to 2500.
Definition at line 88 of file MdtTwinPrepData.h.
|
inlinestaticinherited |
Definition at line 22 of file TrkObjectCounter.h.