ATLAS Offline Software
RpcFiredChannel.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 // RpcFiredChannel.cxx
6 
8 #include "GaudiKernel/MsgStream.h"
9 
10 // default constructor
11 
13  : m_bcid(0), m_time(0), m_ijk(0), m_channel(0), m_ovl(0), m_thr(0) {}
14 
15 // constructor
16 
18  ubit16 ijk, ubit16 channel)
19  : m_bcid(bcid), m_time(time), m_ijk(ijk), m_channel(channel), m_ovl(0), m_thr(0) {}
20 
22  ubit16 ijk, ubit16 thr,
23  ubit16 ovl)
24  : m_bcid(bcid), m_time(time), m_ijk(ijk), m_channel(0), m_ovl(ovl), m_thr(thr) {}
25 
26 // public methods.
27 
28 
29 // private methods.
30 
31  MsgStream& operator << ( MsgStream& sl, const RpcFiredChannel& coll)
32  {
33  sl << "RpcFiredChannel: "<<", ";
34  sl << "bcid() = "<< coll.bcid()<<", ";
35  sl << "time() = "<< coll.time()<<", ";
36  sl << "ijk() = "<< coll.ijk()<<", ";
37  sl << "channel() = "<< coll.channel()<<", ";
38  sl << "ovl() = "<< coll.ovl()<<", ";
39  sl << "thr() = "<< coll.thr()<<std::endl;
40  return sl;
41  }
42 
43 
44  std::ostream& operator << ( std::ostream& sl, const RpcFiredChannel& coll)
45  {
46  sl << "RpcFiredChannel: "<<", ";
47  sl << "bcid() = "<< coll.bcid()<<", ";
48  sl << "time() = "<< coll.time()<<", ";
49  sl << "ijk() = "<< coll.ijk()<<", ";
50  sl << "channel() = "<< coll.channel()<<", ";
51  sl << "ovl() = "<< coll.ovl()<<", ";
52  sl << "thr() = "<< coll.thr()<<std::endl;
53  return sl;
54  }
operator<<
MsgStream & operator<<(MsgStream &sl, const RpcFiredChannel &coll)
Overload of << operator for MsgStream for debug output.
Definition: RpcFiredChannel.cxx:31
RpcFiredChannel::ijk
ubit16 ijk() const
Definition: RpcFiredChannel.h:56
RpcFiredChannel::time
ubit16 time() const
Definition: RpcFiredChannel.h:54
RpcFiredChannel::ovl
ubit16 ovl() const
Definition: RpcFiredChannel.h:61
RpcFiredChannel::thr
ubit16 thr() const
Definition: RpcFiredChannel.h:65
plotting.yearwise_efficiency.channel
channel
Definition: yearwise_efficiency.py:28
RpcFiredChannel::channel
ubit16 channel() const
Definition: RpcFiredChannel.h:58
RpcFiredChannel.h
RpcFiredChannel
Definition: RpcFiredChannel.h:20
RpcFiredChannel::RpcFiredChannel
RpcFiredChannel()
Definition: RpcFiredChannel.cxx:12
xAOD::bcid
setEventNumber setTimeStamp bcid
Definition: EventInfo_v1.cxx:133
RpcFiredChannel::bcid
ubit16 bcid() const
Definition: RpcFiredChannel.h:52
CaloSwCorrections.time
def time(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:242
ubit16
unsigned short int ubit16
Definition: RpcByteStreamEncoder.h:20