ATLAS Offline Software
Loading...
Searching...
No Matches
CscDigitContainer.h File Reference
#include <vector>
#include <string>
#include "MuonDigitContainer/CscDigitCollection.h"
#include "AthenaKernel/CLASS_DEF.h"
#include "EventContainers/IdentifiableContainer.h"
Include dependency graph for CscDigitContainer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CscDigitContainer
 Use IdentifiableContainer with CscDigitCollection. More...

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 75 of file CscDigitContainer.cxx.

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