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 61 of file RpcPadContainer.cxx.

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