ATLAS Offline Software
Functions
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

ostream & operator<< (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 }
skel.it
it
Definition: skel.GENtoEVGEN.py:396
SelectAllObjectMT
Definition: SelectAllObjectMT.h:11
sel
sel
Definition: SUSYToolsTester.cxx:97
MdtCsmContainer::digit_size
size_type digit_size() const
Definition: MdtCsmContainer.cxx:85
DeMoScan.first
bool first
Definition: DeMoScan.py:536