ATLAS Offline Software
Loading...
Searching...
No Matches
MdtCsm.h File Reference
#include "MuonRDO/MdtAmtHit.h"
#include "AthContainers/DataVector.h"
#include "AthenaKernel/CLASS_DEF.h"
#include "Identifier/Identifier.h"
#include "Identifier/IdentifierHash.h"
#include <stdint.h>
Include dependency graph for MdtCsm.h:

Go to the source code of this file.

Classes

class  MdtCsm
 MDT RDOs : Chamber Service Module, container of AmtHits of a single Mdt chamber. More...

Typedefs

typedef DataVector< MdtCsmMDT_CSM_vector

Functions

MsgStream & operator<< (MsgStream &sl, const MdtCsm &coll)
 Overload of << operator for MsgStream for debug output.
std::ostream & operator<< (std::ostream &sl, const MdtCsm &coll)
 Overload of << operator for std::ostream for debug output.

Typedef Documentation

◆ MDT_CSM_vector

Definition at line 75 of file MdtCsm.h.

Function Documentation

◆ operator<<() [1/2]

MsgStream & operator<< ( MsgStream & sl,
const MdtCsm & coll )

Overload of << operator for MsgStream for debug output.

Definition at line 49 of file MdtCsm.cxx.

50{
51 sl << "MdtCsm: "
52 << "identify()="<< coll.identify().getString()
53 << ", SubDetId()="<< coll.SubDetId()
54 << ", MrodId()="<< coll.MrodId()
55 << ", CsmId()="<< coll.CsmId()<<" MdtAmtHit=[";
57 MdtCsm::const_iterator itEnd = coll.end();
58 for (;it!=itEnd;++it) sl<< (**it)<<", ";
59 sl <<" ]"<<std::endl;
60 return sl;
61}
DataModel_detail::const_iterator< DataVector > const_iterator
Definition DataVector.h:838
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
std::string getString() const
Provide a string form of the identifier - hexadecimal.
uint16_t CsmId() const
Returns the CSM online id (online identifier inside a MROD)
Definition MdtCsm.h:61
uint16_t MrodId() const
Returns the MROD id from the CSM header.
Definition MdtCsm.h:59
Identifier identify() const
Returns the CSM offline identifier (chamber offline id)
Definition MdtCsm.h:51
uint16_t SubDetId() const
Returns the sub-detector Id.
Definition MdtCsm.h:57

◆ operator<<() [2/2]

std::ostream & operator<< ( std::ostream & sl,
const MdtCsm & coll )

Overload of << operator for std::ostream for debug output.

Definition at line 64 of file MdtCsm.cxx.

65{
66 sl << "MdtCsm: "
67 << "identify()="<< coll.identify().getString()
68 << ", SubDetId()="<< coll.SubDetId()
69 << ", MrodId()="<< coll.MrodId()
70 << ", CsmId()="<< coll.CsmId()<<" MdtAmtHit=[";
72 MdtCsm::const_iterator itEnd = coll.end();
73 for (;it!=itEnd;++it) sl<< (**it)<<", ";
74 sl <<" ]"<<std::endl;
75 return sl;
76}