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

Go to the source code of this file.

Classes

class  RpcDigitContainer
 Use IdentifiableContainer with RpcDigitCollection. More...

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 70 of file RpcDigitContainer.cxx.

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