ATLAS Offline Software
Loading...
Searching...
No Matches
MdtCsmContainer.cxx File Reference
#include "GaudiKernel/Bootstrap.h"
#include "GaudiKernel/ISvcLocator.h"
#include "GaudiKernel/IMessageSvc.h"
#include "StoreGate/StoreGateSvc.h"
#include "MuonRDO/MdtCsmContainer.h"
#include "EventContainers/SelectAllObject.h"
#include <map>
#include <cassert>
#include <iostream>
Include dependency graph for MdtCsmContainer.cxx:

Go to the source code of this file.

Functions

ostreamoperator<< (ostream &lhs, const MdtCsmContainer &rhs)

Function Documentation

◆ operator<<()

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

Definition at line 103 of file MdtCsmContainer.cxx.

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