|
ATLAS Offline Software
|
Class to represent measurements from the Monitored Drift Tubes.
More...
#include <MdtTwinPrepData.h>
Class to represent measurements from the Monitored Drift Tubes.
Definition at line 32 of file MdtTwinPrepData.h.
◆ MdtTwinPrepData() [1/3]
Muon::MdtTwinPrepData::MdtTwinPrepData |
( |
| ) |
|
|
default |
◆ MdtTwinPrepData() [2/3]
◆ MdtTwinPrepData() [3/3]
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 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.
◆ ~MdtTwinPrepData()
virtual Muon::MdtTwinPrepData::~MdtTwinPrepData |
( |
| ) |
|
|
virtualdefault |
◆ adc()
int Muon::MdtPrepData::adc |
( |
| ) |
const |
|
inlineinherited |
Returns the ADC (typically range is 0 to 250)
Definition at line 146 of file MdtPrepData.h.
◆ adcTwin()
int Muon::MdtTwinPrepData::adcTwin |
( |
| ) |
const |
|
inline |
Returns the ADC of twin tube(typically range is 0 to 250)
Definition at line 100 of file MdtTwinPrepData.h.
◆ collectionHash()
◆ detectorElement()
|
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.
◆ dimension()
unsigned int Muon::MdtPrepData::dimension |
( |
| ) |
const |
|
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.
◆ dump() [1/2]
MsgStream & Muon::MdtTwinPrepData::dump |
( |
MsgStream & |
stream | ) |
const |
|
virtual |
◆ dump() [2/2]
std::ostream & Muon::MdtTwinPrepData::dump |
( |
std::ostream & |
stream | ) |
const |
|
virtual |
◆ getHashAndIndex()
◆ globalPosition()
◆ hasLocalCovariance()
bool Trk::PrepRawData::hasLocalCovariance |
( |
| ) |
const |
|
inherited |
◆ identify()
◆ localCovariance()
return const ref to the error matrix
◆ localPosition()
return the local position reference
◆ numberOfInstantiations()
◆ operator=()
◆ 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 |
|
inlineinherited |
Returns the TDC (typically range is 0 to 2500).
Definition at line 145 of file MdtPrepData.h.
◆ tdcTwin()
int Muon::MdtTwinPrepData::tdcTwin |
( |
| ) |
const |
|
inline |
Returns the TDC of twin tube(typically range is 0 to 2500).
Definition at line 99 of file MdtTwinPrepData.h.
◆ type()
|
inlineoverridevirtualinherited |
◆ ::MdtPrepDataContainerCnv
◆ m_adc
int Muon::MdtPrepData::m_adc {0} |
|
privateinherited |
ADC value - typical ADC spectra can go from 0 up to 250.
Definition at line 115 of file MdtPrepData.h.
◆ m_adcTwin
int Muon::MdtTwinPrepData::m_adcTwin {0} |
|
private |
ADC value of twin tube - typical ADC spectra can go from 0 up to 250.
Definition at line 91 of file MdtTwinPrepData.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 162 of file PrepRawData.h.
◆ m_localCovariance
See derived classes for definition of ErrorMatrix.
Definition at line 158 of file PrepRawData.h.
◆ m_localPos
see derived classes for definition of meaning of LocalPosition
Definition at line 154 of file PrepRawData.h.
◆ m_rdoList
std::vector<Identifier> Trk::PrepRawData::m_rdoList {} |
|
privateinherited |
Stores the identifiers of the RDOs.
Definition at line 156 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} |
|
privateinherited |
TDC value - typical TDC spectra can go from 0 up to 2500.
Definition at line 112 of file MdtPrepData.h.
◆ m_tdcTwin
int Muon::MdtTwinPrepData::m_tdcTwin {0} |
|
private |
TDC value of twin tube - typical TDC spectra can go from 0 up to 2500.
Definition at line 88 of file MdtTwinPrepData.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 bool type(Trk::PrepRawDataType type) const override
Interface method checking the type.
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
int tdcTwin() const
Returns the TDC of twin tube(typically range is 0 to 2500).
Identifier identify() const
return the identifier
int tdc() const
Returns the TDC (typically range is 0 to 2500).
const Amg::Vector2D & localPosition() const
return the local position reference
Eigen::Matrix< double, 3, 1 > Vector3D
int m_tdcTwin
TDC value of twin tube - typical TDC spectra can go from 0 up 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 MsgStream & dump(MsgStream &stream) const override
Dumps information about the PRD.
virtual const Trk::Surface & surface() const override final
Return surface associated with this detector element.
int adcTwin() const
Returns the ADC of twin tube(typically range is 0 to 250)
int m_adcTwin
ADC value of twin tube - typical ADC spectra can go from 0 up to 250.
MdtDriftCircleStatus status() const
Returns the status of the measurement.
virtual const MuonGM::MdtReadoutElement * detectorElement() const override
Returns the detector element corresponding to this PRD.
unsigned short collHash() const
Accessor to hash, obj index and combined index.