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 71 of file CscDigitContainer.cxx.

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