ATLAS Offline Software
Loading...
Searching...
No Matches
sTgcDigitContainer.cxx File Reference
#include "MuonDigitContainer/sTgcDigitContainer.h"
#include "EventContainers/SelectAllObject.h"
#include <map>
#include <cassert>
#include <iostream>
Include dependency graph for sTgcDigitContainer.cxx:

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 73 of file sTgcDigitContainer.cxx.

73 {
74 lhs << "sTgcDigitContainer has " << rhs.digit_size() << " digits:" << endl;
76 SELECTOR sel(&rhs);
77 SELECTOR::const_iterator it = sel.begin();
78 SELECTOR::const_iterator it_end = sel.end();
79
80 bool first = true;
81 for ( ; it!=it_end;++it)
82 {
83 if ( first ) {
84 first = false;
85 } else {
86 lhs << endl;
87 }
88 lhs << " " << *it;
89 }
90 return lhs;
91}
SelectAllObjectMT< DCC, OBJECT > SelectAllObject
size_type digit_size() const
bool first
Definition DeMoScan.py:534