ATLAS Offline Software
RpcCoinMatrix.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 #include "GaudiKernel/MsgStream.h"
7 
8 MsgStream& operator << ( MsgStream& sl, const RpcCoinMatrix& coll)
9 {
10  sl << "RpcCoinMatrix: "<<", ";
11  sl << "identify() = "<< coll.identify().getString()<<", ";
12  sl << "onlineId() = "<< coll.onlineId()<<", ";
13  sl << "crc() = "<< coll.crc()<<", ";
14  sl << "fel1Id() = "<< coll.fel1Id()<<", ";
15  sl << "febcId() = "<< coll.febcId()<<", ";
16  for (const RpcFiredChannel* p : coll)
17  sl << *p <<", ";
18  sl<<"]"<<std::endl;
19  return sl;
20 }
21 
22 
23 std::ostream& operator << ( std::ostream& sl, const RpcCoinMatrix& coll)
24 {
25  sl << "RpcCoinMatrix: "<<", ";
26  sl << "identify() = "<< coll.identify().getString()<<", ";
27  sl << "onlineId() = "<< coll.onlineId()<<", ";
28  sl << "crc() = "<< coll.crc()<<", ";
29  sl << "fel1Id() = "<< coll.fel1Id()<<", ";
30  sl << "febcId() = "<< coll.febcId()<<", ";
31  for (const RpcFiredChannel* p : coll)
32  sl << *p <<", ";
33  sl<<"]"<<std::endl;
34  return sl;
35 }
RpcCoinMatrix::crc
ubit16 crc() const
Definition: RpcCoinMatrix.h:69
RpcCoinMatrix::identify
Identifier identify() const
Definition: RpcCoinMatrix.h:64
RpcCoinMatrix
Definition: RpcCoinMatrix.h:20
RpcFiredChannel
Definition: RpcFiredChannel.h:20
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
RpcCoinMatrix::onlineId
ubit16 onlineId() const
Definition: RpcCoinMatrix.h:67
operator<<
MsgStream & operator<<(MsgStream &sl, const RpcCoinMatrix &coll)
Overload of << operator for MsgStream for debug output.
Definition: RpcCoinMatrix.cxx:8
Identifier::getString
std::string getString() const
Provide a string form of the identifier - hexadecimal.
Definition: Identifier.cxx:25
RpcCoinMatrix::fel1Id
ubit16 fel1Id() const
Definition: RpcCoinMatrix.h:71
RpcCoinMatrix::febcId
ubit16 febcId() const
Definition: RpcCoinMatrix.h:73
RpcCoinMatrix.h