 |
ATLAS Offline Software
|
Class to represent measurements from the Monitored Drift Tubes.
More...
#include <MdtPrepData.h>
Class to represent measurements from the Monitored Drift Tubes.
Definition at line 32 of file MdtPrepData.h.
◆ MdtPrepData() [1/4]
Muon::MdtPrepData::MdtPrepData |
( |
| ) |
|
|
default |
◆ MdtPrepData() [2/4]
◆ MdtPrepData() [3/4]
◆ MdtPrepData() [4/4]
Constructor with parameters: this class owns the pointers passed (except the MuonDetectorElement)
- Parameters
-
id | Identifier of the tube which generated DriftCircle, |
collectionHash | IdentifierHash of the PRD collection in which the MdtPrepData is stored |
driftRadius | this local position object should contain the drift radius |
errDriftRadius | the error on the driftRadius (i.e. 1d error matix) |
detEl | pointer to the associated detectr element (will not be owned by MdtPrepData - i.e. will not be deleted) |
tdc | TDC count |
adc | ADC count |
status | enum to indicate whether the measurement is masked, in time, etc (see MdtPrepDataStatus for details). |
Definition at line 21 of file MdtPrepData.cxx.
◆ ~MdtPrepData()
Muon::MdtPrepData::~MdtPrepData |
( |
| ) |
|
|
virtualdefault |
◆ adc()
int Muon::MdtPrepData::adc |
( |
| ) |
const |
|
inline |
Returns the ADC (typically range is 0 to 250)
Definition at line 146 of file MdtPrepData.h.
◆ collectionHash()
◆ detectorElement()
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.
◆ dimension()
unsigned int Muon::MdtPrepData::dimension |
( |
| ) |
const |
|
inline |
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.
◆ dump() [1/2]
MsgStream & Muon::MdtPrepData::dump |
( |
MsgStream & |
stream | ) |
const |
|
overridevirtual |
◆ dump() [2/2]
std::ostream & Muon::MdtPrepData::dump |
( |
std::ostream & |
stream | ) |
const |
|
overridevirtual |
◆ getHashAndIndex()
◆ globalPosition()
Returns the global position of the CENTER of the drift tube (i.e.
it is important to realise that this is NOT the true position of the measurement). The reason that this is done here, and not simply through the detector element is that here it can be cached for better performance.
Reimplemented in Muon::MdtTwinPrepData.
Definition at line 133 of file MdtPrepData.h.
◆ hasLocalCovariance()
bool Trk::PrepRawData::hasLocalCovariance |
( |
| ) |
const |
|
inherited |
◆ identify()
◆ localCovariance()
return const ref to the error matrix
◆ localPosition()
return the local position reference
◆ numberOfInstantiations()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ prdType()
◆ rdoList()
return the List of rdo identifiers (pointers)
◆ setHashAndIndex()
void Trk::PrepRawData::setHashAndIndex |
( |
unsigned short |
collHash, |
|
|
unsigned short |
objIndex |
|
) |
| |
|
inherited |
TEMP for testing: might make some classes friends later ...
◆ status()
Returns the status of the measurement.
Definition at line 147 of file MdtPrepData.h.
◆ tdc()
int Muon::MdtPrepData::tdc |
( |
| ) |
const |
|
inline |
Returns the TDC (typically range is 0 to 2500).
Definition at line 145 of file MdtPrepData.h.
◆ type()
◆ ::MdtPrepDataContainerCnv
◆ Muon::MdtPrepDataContainerCnv_p1
◆ m_adc
int Muon::MdtPrepData::m_adc {0} |
|
private |
ADC value - typical ADC spectra can go from 0 up to 250.
Definition at line 115 of file MdtPrepData.h.
◆ m_clusId
◆ m_detEl
Cached pointer to detector element (not deleted in destructor, not written to disk)
Definition at line 109 of file MdtPrepData.h.
◆ m_globalPosition
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.
◆ m_indexAndHash
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.
◆ m_localCovariance
See derived classes for definition of ErrorMatrix.
Definition at line 163 of file PrepRawData.h.
◆ m_localPos
see derived classes for definition of meaning of LocalPosition
Definition at line 159 of file PrepRawData.h.
◆ m_rdoList
std::vector<Identifier> Trk::PrepRawData::m_rdoList {} |
|
privateinherited |
Stores the identifiers of the RDOs.
Definition at line 161 of file PrepRawData.h.
◆ m_status
enum to hold 'status' of measurement
Definition at line 118 of file MdtPrepData.h.
◆ m_tdc
int Muon::MdtPrepData::m_tdc {0} |
|
private |
TDC value - typical TDC spectra can go from 0 up to 2500.
Definition at line 112 of file MdtPrepData.h.
◆ s_numberOfInstantiations
The documentation for this class was generated from the following files:
int m_adc
ADC value - typical ADC spectra can go from 0 up to 250.
virtual PrepRawDataType prdType() const =0
Interface method returning the prdType.
virtual MsgStream & dump(MsgStream &stream) const
dump information about the PRD object.
const Amg::MatrixX & localCovariance() const
return const ref to the error matrix
const MuonGM::MdtReadoutElement * m_detEl
Cached pointer to detector element (not deleted in destructor, not written to disk)
int adc() const
Returns the ADC (typically range is 0 to 250)
int m_tdc
TDC value - typical TDC spectra can go from 0 up to 2500.
MdtDriftCircleStatus m_status
enum to hold 'status' of measurement
virtual bool type(PrepRawDataType type) const
Interface method checking the type.
PrepRawData & operator=(const PrepRawData &)=default
PrepRawData()
public because of DataPool
Identifier identify() const
return the identifier
int tdc() const
Returns the TDC (typically range is 0 to 2500).
const IdentContIndex & getHashAndIndex() const
static std::atomic_size_t s_numberOfInstantiations
CxxUtils::CachedUniquePtr< const Amg::Vector3D > m_globalPosition
Global position of measurement.
virtual const Trk::Surface & surface() const override final
Return surface associated with this detector element.
MdtDriftCircleStatus status() const
Returns the status of the measurement.
unsigned short collHash() const
Accessor to hash, obj index and combined index.