ATLAS Offline Software
Loading...
Searching...
No Matches
RpcPadContainer.h File Reference
#include <vector>
#include <string>
#include "MuonRDO/RpcCoinMatrix.h"
#include "MuonRDO/RpcPad.h"
#include "MuonRDO/RpcPad_Cache.h"
#include "AthenaKernel/CLASS_DEF.h"
#include "EventContainers/IdentifiableContainer.h"
Include dependency graph for RpcPadContainer.h:

Go to the source code of this file.

Classes

class  RpcPadContainer
 Use IdentifiableContainer with RpcPad. More...

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 68 of file RpcPadContainer.cxx.

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