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 79 of file sTgcDigitContainer.cxx.

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