ATLAS Offline Software
Loading...
Searching...
No Matches
MdtCsmContainer.h File Reference
#include <vector>
#include <string>
#include "MuonRDO/MdtCsm.h"
#include "MuonRDO/MdtCsmIdHash.h"
#include "MuonRDO/MdtCsm_Cache.h"
#include "AthenaKernel/CLASS_DEF.h"
#include "EventContainers/IdentifiableContainer.h"
Include dependency graph for MdtCsmContainer.h:

Go to the source code of this file.

Classes

class  MdtCsmContainer
 This container provides acces to the MDT RDOs. More...

Functions

std::ostream & operator<< (std::ostream &lhs, const MdtCsmContainer &rhs)

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & lhs,
const MdtCsmContainer & rhs )

Definition at line 108 of file MdtCsmContainer.cxx.

108 {
109 lhs << "MdtCsmContainer has " << rhs.digit_size() << " digits:" << endl;
110 typedef SelectAllObject<MdtCsmContainer> SELECTOR;
111 SELECTOR sel(&rhs);
112 SELECTOR::const_iterator it = sel.begin();
113 SELECTOR::const_iterator it_end = sel.end();
114
115 bool first = true;
116 for ( ; it!=it_end;++it)
117 {
118 if ( first ) {
119 first = false;
120 } else {
121 lhs << endl;
122 }
123 lhs << " " << *it;
124 }
125 return lhs;
126}
SelectAllObjectMT< DCC, OBJECT > SelectAllObject
size_type digit_size() const
bool first
Definition DeMoScan.py:534