ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1CaloCalibConditions
src
L1CaloPprDisabledChannel.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 "
TrigT1CaloCalibConditions/L1CaloPprDisabledChannel.h
"
6
7
#include <string>
8
#include <sstream>
9
#include <iostream>
10
#include <iomanip>
11
12
L1CaloPprDisabledChannel::L1CaloPprDisabledChannel
():
13
m_channelId
(0),
14
m_bMasked
(false),
15
m_noiseCut
(0),
16
m_disabledBits
(0)
17
{
18
}
19
20
L1CaloPprDisabledChannel::L1CaloPprDisabledChannel
(
unsigned
int
channelId
):
21
m_channelId
(
channelId
),
22
m_bMasked
(false),
23
m_noiseCut
(0),
24
m_disabledBits
(0)
25
{
26
}
27
28
L1CaloPprDisabledChannel::L1CaloPprDisabledChannel
(
const
L1CaloCoolChannelId
&
channelId
):
29
m_channelId
(
channelId
),
30
m_bMasked
(false),
31
m_noiseCut
(0),
32
m_disabledBits
(0)
33
{
34
}
35
36
L1CaloPprDisabledChannel::L1CaloPprDisabledChannel
(
unsigned
int
channelId
,
ChanDeadErrorCode
deadErrorCode
,
ChanCalibErrorCode
calibErrorCode
,
bool
isMasked
,
unsigned
int
noiseCut
,
unsigned
int
disabledBits
):
37
m_channelId
(
channelId
),
38
m_calibErrorCode
(
calibErrorCode
),
39
m_deadErrorCode
(
deadErrorCode
),
40
m_bMasked
(
isMasked
),
41
m_noiseCut
(
noiseCut
),
42
m_disabledBits
(
disabledBits
)
43
{
44
}
45
46
L1CaloPprDisabledChannel::L1CaloPprDisabledChannel
(
const
L1CaloCoolChannelId
&
channelId
,
ChanDeadErrorCode
deadErrorCode
,
ChanCalibErrorCode
calibErrorCode
,
bool
isMasked
,
unsigned
int
noiseCut
,
unsigned
int
disabledBits
):
47
m_channelId
(
channelId
),
48
m_calibErrorCode
(
calibErrorCode
),
49
m_deadErrorCode
(
deadErrorCode
),
50
m_bMasked
(
isMasked
),
51
m_noiseCut
(
noiseCut
),
52
m_disabledBits
(
disabledBits
)
53
{
54
}
55
56
std::ostream&
operator<<
(std::ostream& output,
const
L1CaloPprDisabledChannel
&
r
) {
57
output <<
"channelID: "
<< std::hex <<
r
.m_channelId.id() << std::dec <<
", "
<<
"deadErrorCode: "
<<
r
.m_deadErrorCode<<
", "
<<
"calibErrorCode: "
<<
r
.m_calibErrorCode <<
", "
<<
"masked: "
<<
r
.m_bMasked <<
", noiseCut: "
<<
r
.m_noiseCut <<
", disabledBits: "
<<
r
.m_disabledBits;
58
return
output;
59
}
operator<<
std::ostream & operator<<(std::ostream &output, const L1CaloPprDisabledChannel &r)
Definition
L1CaloPprDisabledChannel.cxx:56
L1CaloPprDisabledChannel.h
ChanCalibErrorCode
ChanCalibErrorCode class for L1Calo error codes Adapted from /LVL1/l1calo/coolL1Calo/coolL1Calo/ChanE...
Definition
ChanCalibErrorCode.h:21
ChanDeadErrorCode
ChanDeadErrorCode class for L1Calo error codes Adapted from /LVL1/l1calo/coolL1Calo/coolL1Calo/ChanDe...
Definition
ChanDeadErrorCode.h:21
L1CaloCoolChannelId
Encapsulates the ID of one channel of conditions data in COOL, ie the ID of a row in a table.
Definition
L1CaloCoolChannelId.h:10
L1CaloPprDisabledChannel::L1CaloPprDisabledChannel
L1CaloPprDisabledChannel()
Definition
L1CaloPprDisabledChannel.cxx:12
L1CaloPprDisabledChannel::m_disabledBits
unsigned int m_disabledBits
Definition
L1CaloPprDisabledChannel.h:65
L1CaloPprDisabledChannel::channelId
L1CaloCoolChannelId channelId(void) const
Definition
L1CaloPprDisabledChannel.h:39
L1CaloPprDisabledChannel::m_noiseCut
unsigned int m_noiseCut
Definition
L1CaloPprDisabledChannel.h:64
L1CaloPprDisabledChannel::calibErrorCode
ChanCalibErrorCode calibErrorCode(void) const
Definition
L1CaloPprDisabledChannel.h:41
L1CaloPprDisabledChannel::m_bMasked
bool m_bMasked
Definition
L1CaloPprDisabledChannel.h:63
L1CaloPprDisabledChannel::disabledBits
unsigned int disabledBits() const
Definition
L1CaloPprDisabledChannel.h:56
L1CaloPprDisabledChannel::m_channelId
L1CaloCoolChannelId m_channelId
Definition
L1CaloPprDisabledChannel.h:60
L1CaloPprDisabledChannel::m_calibErrorCode
ChanCalibErrorCode m_calibErrorCode
Definition
L1CaloPprDisabledChannel.h:61
L1CaloPprDisabledChannel::isMasked
bool isMasked(void) const
Definition
L1CaloPprDisabledChannel.h:47
L1CaloPprDisabledChannel::deadErrorCode
ChanDeadErrorCode deadErrorCode(void) const
Definition
L1CaloPprDisabledChannel.h:44
L1CaloPprDisabledChannel::m_deadErrorCode
ChanDeadErrorCode m_deadErrorCode
Definition
L1CaloPprDisabledChannel.h:62
L1CaloPprDisabledChannel::noiseCut
unsigned int noiseCut() const
Definition
L1CaloPprDisabledChannel.h:53
r
int r
Definition
globals.cxx:22
Generated on
for ATLAS Offline Software by
1.17.0