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 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