Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Class representing clusters from the CSC.
More...
#include <CscPrepData.h>
|
| CscPrepData () |
|
| CscPrepData (const CscPrepData &)=default |
|
| CscPrepData (CscPrepData &&) noexcept=default |
|
CscPrepData & | operator= (const CscPrepData &)=default |
|
CscPrepData & | operator= (CscPrepData &&) noexcept=default |
|
| CscPrepData (const Identifier &RDOId, const IdentifierHash &idDE, const Amg::Vector2D &locpos, const std::vector< Identifier > &rdoList, const Amg::MatrixX &locErrMat, const MuonGM::CscReadoutElement *detEl, const int charge, const double time, const CscClusterStatus status, const CscTimeStatus timeStatus=Muon::CscTimeStatusUndefined) |
| Full constructor. More...
|
|
| CscPrepData (const Identifier &RDOId, const IdentifierHash &idDE, const Amg::Vector2D &locpos, std::vector< Identifier > &&rdoList, Amg::MatrixX &&locErrMat, const MuonGM::CscReadoutElement *detEl, const int charge, const double time, const CscClusterStatus status, const CscTimeStatus timeStatus=Muon::CscTimeStatusUndefined) |
|
virtual | ~CscPrepData () |
| Destructor. More...
|
|
virtual const Amg::Vector3D & | globalPosition () const override final |
| Returns the global position. More...
|
|
virtual const MuonGM::CscReadoutElement * | detectorElement () const override final |
| Return the detector element corresponding to this PRD. More...
|
|
virtual bool | type (Trk::PrepRawDataType type) const override final |
| Interface method checking the type. More...
|
|
int | charge () const |
| Returns the charge. More...
|
|
double | time () const |
| Returns the time. More...
|
|
CscClusterStatus | status () const |
| Returns the Csc status (position measurement) flag. More...
|
|
CscTimeStatus | timeStatus () const |
| Returns the Csc time status flag. More...
|
|
virtual MsgStream & | dump (MsgStream &stream) const override final |
| Dumps information about the PRD. More...
|
|
virtual std::ostream & | dump (std::ostream &stream) const override final |
| Dumps information about the PRD. More...
|
|
virtual IdentifierHash | collectionHash () const |
| Returns the IdentifierHash corresponding to the PRD collection in the PRD container. 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 clusters from the CSC.
- Author
- Edwar.nosp@m.d.Mo.nosp@m.yse@c.nosp@m.ern..nosp@m.ch
-
Ketevi A. Assamagan
Definition at line 38 of file CscPrepData.h.
◆ CscPrepData() [1/5]
Muon::CscPrepData::CscPrepData |
( |
| ) |
|
◆ CscPrepData() [2/5]
◆ CscPrepData() [3/5]
◆ CscPrepData() [4/5]
Full constructor.
- Parameters
-
RDOId | The identifier of the central strip of the cluster |
idDE | 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) |
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) |
charge | The charge measured by the CSC |
time | The time measured by the CSC |
status | The status of the position measurement. See Muon::CscClusterStatus for more information. |
timestatus | The status of the time measurement (peak strip due to max charge). See Muon::CscTimeStatus for more information. |
Definition at line 22 of file CscPrepData.cxx.
◆ CscPrepData() [5/5]
◆ ~CscPrepData()
Muon::CscPrepData::~CscPrepData |
( |
| ) |
|
|
virtualdefault |
◆ charge()
int Muon::CscPrepData::charge |
( |
| ) |
const |
|
inline |
◆ 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 Muon::MuonCluster.
Definition at line 148 of file CscPrepData.h.
◆ dump() [1/2]
MsgStream & Muon::CscPrepData::dump |
( |
MsgStream & |
stream | ) |
const |
|
finaloverridevirtual |
Dumps information about the PRD.
Reimplemented from Muon::MuonCluster.
Definition at line 74 of file CscPrepData.cxx.
76 stream << MSG::INFO <<
"CscPrepData {" <<std::endl;
81 s <<
"Charge = "<<this->
charge() <<
", ";
82 s << std::setiosflags(std::ios::fixed);
83 s << std::setprecision(4);
84 s <<
"Time = "<<this->
time() <<
", ";
85 s <<
"Status = "<<this->
status();
87 s <<
"}" << std::endl;
◆ dump() [2/2]
std::ostream & Muon::CscPrepData::dump |
( |
std::ostream & |
stream | ) |
const |
|
finaloverridevirtual |
Dumps information about the PRD.
Reimplemented from Muon::MuonCluster.
Definition at line 93 of file CscPrepData.cxx.
95 stream <<
"CscPrepData {"<<std::endl;
100 s <<
"Charge = " << this->
charge() <<
", ";
101 s << std::setiosflags(std::ios::fixed);
102 s << std::setprecision(4);
103 s <<
"Time = " << this->
time() <<
", ";
104 s <<
"Status = "<<this->
status();
106 s <<
"}" <<std::endl;
◆ getHashAndIndex()
◆ globalPosition()
|
inlinefinaloverridevirtual |
◆ 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]
◆ 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 Csc status (position measurement) flag.
Definition at line 163 of file CscPrepData.h.
◆ time()
double Muon::CscPrepData::time |
( |
| ) |
const |
|
inline |
◆ timeStatus()
◆ type()
|
inlinefinaloverridevirtual |
◆ ::CscPrepDataContainerCnv
◆ Muon::CscPrepDataContainerCnv_p1
◆ m_charge
int Muon::CscPrepData::m_charge |
|
private |
◆ m_clusId
◆ m_detEl
Pointer to the detector element.
This is owned by this object and is therefore not deleted.
Definition at line 137 of file CscPrepData.h.
◆ m_globalPosition
◆ 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
◆ m_time
double Muon::CscPrepData::m_time |
|
private |
◆ m_timeStatus
◆ s_numberOfInstantiations
The documentation for this class was generated from the following files:
const MuonGM::CscReadoutElement * m_detEl
Pointer to the detector element.
int charge() const
Returns the charge.
const std::vector< Identifier > & rdoList() const
return the List of rdo identifiers (pointers)
virtual bool type(Trk::PrepRawDataType type) const override final
Interface method checking the type.
virtual const Trk::PlaneSurface & surface() const override
access to chamber surface (phi orientation), uses the first gas gap
CscTimeStatus timeStatus() const
Returns the Csc time status flag.
CscTimeStatus m_timeStatus
CscClusterStatus status() const
Returns the Csc status (position measurement) flag.
double time() const
Returns the time.
CscClusterStatus m_status
@ CscStatusUndefined
Undefined, should not happen, most likely indicates a problem.
Identifier identify() const
return the identifier
const Amg::Vector2D & localPosition() const
return the local position reference
const IdentContIndex & getHashAndIndex() const
MuonCluster()
Default constructor.
static std::atomic_size_t s_numberOfInstantiations
@ CscTimeStatusUndefined
Time is not assessed indicating potential bug.
CxxUtils::CachedUniquePtr< const Amg::Vector3D > m_globalPosition
Global position of measurement.
virtual MsgStream & dump(MsgStream &stream) const override
Dumps information about the PRD.
unsigned short collHash() const
Accessor to hash, obj index and combined index.
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.
class thrown in the event of an variable not being defined.