ATLAS Offline Software
Loading...
Searching...
No Matches
sTgcDigitContainer.h File Reference
#include <vector>
#include <string>
#include "MuonDigitContainer/sTgcDigitCollection.h"
#include "AthenaKernel/CLASS_DEF.h"
#include "EventContainers/IdentifiableContainer.h"
Include dependency graph for sTgcDigitContainer.h:

Go to the source code of this file.

Classes

class  sTgcDigitContainer
 Use IdentifiableContainer with sTgcDigitCollection. More...

Functions

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

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::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