ATLAS Offline Software
Loading...
Searching...
No Matches
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
8MsgStream& 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
23std::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
MsgStream & operator<<(MsgStream &sl, const RpcPad &coll)
Overload of << operator for MsgStream for debug output.
Definition RpcPad.cxx:8
std::string getString() const
Provide a string form of the identifier - hexadecimal.
ubit16 onlineId() const
Definition RpcPad.h:107
ubit16 errorCode() const
Definition RpcPad.h:106
Identifier identify() const
Definition RpcPad.h:100
int sector() const
Definition RpcPad.h:112
ubit16 status() const
Definition RpcPad.h:105