ATLAS Offline Software
Loading...
Searching...
No Matches
MuonSpectrometer
MuonRDO
src
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
7
#include "
MuonRDO/RpcFiredChannel.h
"
8
#include "GaudiKernel/MsgStream.h"
9
10
// default constructor
11
12
RpcFiredChannel::RpcFiredChannel
()
13
:
m_bcid
(0),
m_time
(0),
m_ijk
(0),
m_channel
(0),
m_ovl
(0),
m_thr
(0) {}
14
15
// constructor
16
17
RpcFiredChannel::RpcFiredChannel
(
ubit16
bcid
,
ubit16
time
,
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
21
RpcFiredChannel::RpcFiredChannel
(
ubit16
bcid
,
ubit16
time
,
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
}
ubit16
unsigned short int ubit16
Definition
RpcByteStreamEncoder.h:20
operator<<
MsgStream & operator<<(MsgStream &sl, const RpcFiredChannel &coll)
Overload of << operator for MsgStream for debug output.
Definition
RpcFiredChannel.cxx:31
RpcFiredChannel.h
RpcFiredChannel
Definition
RpcFiredChannel.h:20
RpcFiredChannel::m_thr
ubit16 m_thr
Definition
RpcFiredChannel.h:31
RpcFiredChannel::bcid
ubit16 bcid() const
Definition
RpcFiredChannel.h:52
RpcFiredChannel::thr
ubit16 thr() const
Definition
RpcFiredChannel.h:65
RpcFiredChannel::channel
ubit16 channel() const
Definition
RpcFiredChannel.h:58
RpcFiredChannel::m_ovl
ubit16 m_ovl
Definition
RpcFiredChannel.h:30
RpcFiredChannel::RpcFiredChannel
RpcFiredChannel()
Definition
RpcFiredChannel.cxx:12
RpcFiredChannel::m_time
ubit16 m_time
Definition
RpcFiredChannel.h:27
RpcFiredChannel::m_bcid
ubit16 m_bcid
Definition
RpcFiredChannel.h:26
RpcFiredChannel::m_channel
ubit16 m_channel
Definition
RpcFiredChannel.h:29
RpcFiredChannel::ovl
ubit16 ovl() const
Definition
RpcFiredChannel.h:61
RpcFiredChannel::ijk
ubit16 ijk() const
Definition
RpcFiredChannel.h:56
RpcFiredChannel::time
ubit16 time() const
Definition
RpcFiredChannel.h:54
RpcFiredChannel::m_ijk
ubit16 m_ijk
Definition
RpcFiredChannel.h:28
Generated on
for ATLAS Offline Software by
1.14.0