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 <cstdint>
#include <iosfwd>
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 79 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 40 of file MdtCsm.cxx.

41{
42 sl << "MdtCsm: "
43 << "identify()="<< coll.identify().getString()
44 << ", SubDetId()="<< coll.SubDetId()
45 << ", MrodId()="<< coll.MrodId()
46 << ", CsmId()="<< coll.CsmId()<<" MdtAmtHit=[";
48 MdtCsm::const_iterator itEnd = coll.end();
49 for (;it!=itEnd;++it) sl<< (**it)<<", ";
50 sl <<" ]"<<std::endl;
51 return sl;
52}
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:65
uint16_t MrodId() const
Returns the MROD id from the CSM header.
Definition MdtCsm.h:63
Identifier identify() const
Returns the CSM offline identifier (chamber offline id)
Definition MdtCsm.h:55
uint16_t SubDetId() const
Returns the sub-detector Id.
Definition MdtCsm.h:61

◆ operator<<() [2/2]

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

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

Definition at line 55 of file MdtCsm.cxx.

56{
57 sl << "MdtCsm: "
58 << "identify()="<< coll.identify().getString()
59 << ", SubDetId()="<< coll.SubDetId()
60 << ", MrodId()="<< coll.MrodId()
61 << ", CsmId()="<< coll.CsmId()<<" MdtAmtHit=[";
63 MdtCsm::const_iterator itEnd = coll.end();
64 for (;it!=itEnd;++it) sl<< (**it)<<", ";
65 sl <<" ]"<<std::endl;
66 return sl;
67}