ATLAS Offline Software
RpcPad.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include "MuonRDO/RpcPad.h"
6 #include "GaudiKernel/MsgStream.h"
7 
8 MsgStream& operator << ( MsgStream& sl, const RpcPad& coll)
9 {
10  sl << "RpcPad: ";
11  sl << "identify() = "<< coll.identify().getString()<<", ";
12  sl << "status() = "<< coll.status()<<", ";
13  sl << "errorCode() = "<< coll.errorCode()<<", ";
14  sl << "onlineId() = "<< coll.onlineId()<<", ";
15  sl << "sector() = "<< coll.sector()<<", CoinMatrices = [";
16  for (const RpcCoinMatrix* p : coll)
17  sl << *p << ", ";
18  sl <<"]"<<std::endl;
19  return sl;
20 }
21 
22 
23 std::ostream& operator << ( std::ostream& sl, const RpcPad& coll)
24 {
25  sl << "RpcPad: ";
26  sl << "identify() = "<< coll.identify().getString()<<", ";
27  sl << "status() = "<< coll.status()<<", ";
28  sl << "errorCode() = "<< coll.errorCode()<<", ";
29  sl << "onlineId() = "<< coll.onlineId()<<", ";
30  sl << "sector() = "<< coll.sector()<<", CoinMatrices = [";
31  for (const RpcCoinMatrix* p : coll)
32  sl << *p;
33  sl <<"]"<<std::endl;
34  return sl;
35 }
36 
37 
38 
39 
RpcPad::identify
Identifier identify() const
Definition: RpcPad.h:100
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
RpcPad::status
ubit16 status() const
Definition: RpcPad.h:105
RpcCoinMatrix
Definition: RpcCoinMatrix.h:20
RpcPad.h
RpcPad::errorCode
ubit16 errorCode() const
Definition: RpcPad.h:106
RpcPad::onlineId
ubit16 onlineId() const
Definition: RpcPad.h:107
operator<<
MsgStream & operator<<(MsgStream &sl, const RpcPad &coll)
Overload of << operator for MsgStream for debug output.
Definition: RpcPad.cxx:8
RpcPad
Definition: RpcPad.h:21
Identifier::getString
std::string getString() const
Provide a string form of the identifier - hexadecimal.
Definition: Identifier.cxx:25
RpcPad::sector
int sector() const
Definition: RpcPad.h:112