Class representing the raw data of one CSC strip (for clusters look at Muon::CscPrepData).
More...
#include <CscStripPrepData.h>
|
| CscStripPrepData () |
|
| CscStripPrepData (const CscStripPrepData &) |
|
CscStripPrepData & | operator= (const CscStripPrepData &) |
|
| CscStripPrepData (const Identifier &RDOId, const IdentifierHash &collectionHash, const Amg::Vector2D &locpos, const Amg::MatrixX &locErrMat, const MuonGM::CscReadoutElement *detEl, const std::vector< float > &sampleCharges, float timeOfFirstSample, unsigned short samplingRate) |
| Constructor. More...
|
|
| CscStripPrepData (const Identifier &RDOId, const IdentifierHash &collectionHash, const Amg::Vector2D &locpos, Amg::MatrixX &&locErrMat, const MuonGM::CscReadoutElement *detEl, const std::vector< float > &sampleCharges, float timeOfFirstSample, unsigned short samplingRate) |
|
virtual | ~CscStripPrepData () |
| Destructor: More...
|
|
const Amg::Vector3D & | globalPosition () const |
| return global position reference More...
|
|
virtual const MuonGM::CscReadoutElement * | 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. More...
|
|
virtual bool | type (Trk::PrepRawDataType type) const override final |
| Interface method checking the type. More...
|
|
virtual const IdentifierHash | collectionHash () const final |
| returns the IdentifierHash corresponding to the channel. More...
|
|
const std::vector< float > & | sampleCharges () const |
| Return the time samples. More...
|
|
double | timeOfFirstSample () const |
| return the time of the first sample More...
|
|
bool | samplingPhase () const |
| return the sampling phase More...
|
|
unsigned short | samplingTime () const |
| return the sampling time in ns: the time between samplings More...
|
|
virtual MsgStream & | dump (MsgStream &stream) const override final |
| dump information about the PRD More...
|
|
virtual std::ostream & | dump (std::ostream &stream) const override final |
| dump information about the PRD More...
|
|
void | set_samplingPhase () |
| set the sampling phase More...
|
|
Identifier | identify () const |
| return the identifier More...
|
|
const Amg::Vector2D & | localPosition () const |
| return the local position reference More...
|
|
const std::vector< Identifier > & | rdoList () const |
| return the List of rdo identifiers (pointers) More...
|
|
const Amg::MatrixX & | localCovariance () const |
| return const ref to the error matrix More...
|
|
bool | hasLocalCovariance () const |
| returns localCovariance().size()!=0 More...
|
|
void | setHashAndIndex (unsigned short collHash, unsigned short objIndex) |
| TEMP for testing: might make some classes friends later ... More...
|
|
const IdentContIndex & | getHashAndIndex () const |
|
Class representing the raw data of one CSC strip (for clusters look at Muon::CscPrepData).
- Author
- niels van Eldik niels.nosp@m..van.nosp@m..eldi.nosp@m.k@ce.nosp@m.rn.ch
Definition at line 39 of file CscStripPrepData.h.
◆ CscStripPrepData() [1/4]
Muon::CscStripPrepData::CscStripPrepData |
( |
| ) |
|
◆ CscStripPrepData() [2/4]
◆ CscStripPrepData() [3/4]
Constructor.
- Parameters
-
RDOId | The identifier of the strip |
collectionHash | The IdenifierHash of the collection used to store this object (i.e. of Muon::CscPrepDataCollection) |
locpos | The local coords of the measurement (this object will now own the LocalPostion) |
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) |
sampleCharges | The vector of charges measured by the strip. |
- Todo:
- More info.
- Parameters
-
timeOfFirstSample | The time measured by the CSC |
- Todo:
- More info.
- Parameters
-
samplingRate | The sampling rate. |
Definition at line 23 of file CscStripPrepData.cxx.
◆ CscStripPrepData() [4/4]
◆ ~CscStripPrepData()
Muon::CscStripPrepData::~CscStripPrepData |
( |
| ) |
|
|
virtualdefault |
◆ collectionHash()
◆ detectorElement()
|
inlinefinaloverridevirtual |
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.
Definition at line 153 of file CscStripPrepData.h.
◆ dump() [1/2]
MsgStream & Muon::CscStripPrepData::dump |
( |
MsgStream & |
stream | ) |
const |
|
finaloverridevirtual |
dump information about the PRD
Reimplemented from Trk::PrepRawData.
Definition at line 109 of file CscStripPrepData.cxx.
114 s << std::setiosflags(std::ios::fixed);
115 s << std::setprecision(4);
121 s <<
"} End CscStripPrepData" << std::endl;
◆ dump() [2/2]
std::ostream & Muon::CscStripPrepData::dump |
( |
std::ostream & |
stream | ) |
const |
|
finaloverridevirtual |
dump information about the PRD
Reimplemented from Trk::PrepRawData.
Definition at line 127 of file CscStripPrepData.cxx.
129 stream <<
"CscStripPrepData {"<<std::endl;
132 s << std::setiosflags(std::ios::fixed);
133 s << std::setprecision(4);
140 s <<
"} End CscStripPrepData" << std::endl;
◆ 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)
◆ sampleCharges()
const std::vector< float > & Muon::CscStripPrepData::sampleCharges |
( |
| ) |
const |
|
inline |
◆ samplingPhase()
bool Muon::CscStripPrepData::samplingPhase |
( |
| ) |
const |
|
inline |
◆ samplingTime()
unsigned short Muon::CscStripPrepData::samplingTime |
( |
| ) |
const |
|
inline |
return the sampling time in ns: the time between samplings
Definition at line 173 of file CscStripPrepData.h.
◆ set_samplingPhase()
void Muon::CscStripPrepData::set_samplingPhase |
( |
| ) |
|
|
inline |
set the sampling phase
- Warning
- This does not conform to ATLAS Coding Conventions and will be renamed to setSamplingPhase()
Definition at line 183 of file CscStripPrepData.h.
◆ setHashAndIndex()
void Trk::PrepRawData::setHashAndIndex |
( |
unsigned short |
collHash, |
|
|
unsigned short |
objIndex |
|
) |
| |
|
inherited |
TEMP for testing: might make some classes friends later ...
◆ timeOfFirstSample()
double Muon::CscStripPrepData::timeOfFirstSample |
( |
| ) |
const |
|
inline |
◆ type()
|
inlinefinaloverridevirtual |
◆ ::CscStripPrepDataContainerCnv
◆ Muon::CscStripPrepDataContainerCnv_p1
◆ m_clusId
◆ m_collectionHash
The IdenifierHash of the collection used to store this PRD.
Definition at line 126 of file CscStripPrepData.h.
◆ m_detEl
◆ m_globalPosition
The global position is calculated 'on the fly' and is not written to disk.
Definition at line 128 of file CscStripPrepData.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_sampleCharges
std::vector<float> Muon::CscStripPrepData::m_sampleCharges |
|
private |
◆ m_samplingPhase
bool Muon::CscStripPrepData::m_samplingPhase |
|
private |
◆ m_samplingTime
unsigned short Muon::CscStripPrepData::m_samplingTime |
|
private |
◆ m_timeOfFirstSample
float Muon::CscStripPrepData::m_timeOfFirstSample |
|
private |
◆ s_numberOfInstantiations
The documentation for this class was generated from the following files:
virtual void localToGlobal(const Amg::Vector2D &locp, const Amg::Vector3D &mom, Amg::Vector3D &glob) const =0
Specified by each surface type: LocalToGlobal method without dynamic memory allocation.