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