ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1CaloCalibConditions
TrigT1CaloCalibConditions
L1CaloPprDisabledChannel.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef TRIGT1CALOCALIBCONDITIONS_L1CALOPPRDISABLEDCHANNEL_H
8
#define TRIGT1CALOCALIBCONDITIONS_L1CALOPPRDISABLEDCHANNEL_H
9
10
#include "
TrigT1CaloCalibConditions/AbstractL1CaloPersistentCondition.h
"
11
#include "
TrigT1CaloCalibConditions/ChanDeadErrorCode.h
"
12
#include "
TrigT1CaloCalibConditions/ChanCalibErrorCode.h
"
13
#include "
TrigT1CaloCalibConditions/L1CaloCoolChannelId.h
"
14
15
#include <iostream>
16
#include <string>
17
24
25
class
L1CaloPprDisabledChannel
final {
26
friend
std::ostream&
operator<<
(std::ostream& output,
const
L1CaloPprDisabledChannel
&
r
);
27
28
public
:
29
30
L1CaloPprDisabledChannel
();
31
L1CaloPprDisabledChannel
(
unsigned
int
channelId
);
32
L1CaloPprDisabledChannel
(
const
L1CaloCoolChannelId
&
channelId
);
33
L1CaloPprDisabledChannel
(
unsigned
int
channelId
,
ChanDeadErrorCode
deadErrorCode
,
ChanCalibErrorCode
calibErrorCode
,
bool
isMasked
,
unsigned
int
noiseCut
,
unsigned
int
disabledBits
);
34
L1CaloPprDisabledChannel
(
const
L1CaloCoolChannelId
&
channelId
,
ChanDeadErrorCode
deadErrorCode
,
ChanCalibErrorCode
calibErrorCode
,
bool
isMasked
,
unsigned
int
noiseCut
,
unsigned
int
disabledBits
);
35
36
~L1CaloPprDisabledChannel
() =
default
;
37
38
// getters
39
inline
L1CaloCoolChannelId
channelId
(
void
)
const
{
return
m_channelId
; };
40
41
inline
ChanCalibErrorCode
calibErrorCode
(
void
)
const
{
return
m_calibErrorCode
; };
42
inline
void
calibErrorCode
(
const
ChanCalibErrorCode
&
calibErrorCode
) {
m_calibErrorCode
=
calibErrorCode
; };
43
44
inline
ChanDeadErrorCode
deadErrorCode
(
void
)
const
{
return
m_deadErrorCode
; };
45
inline
void
deadErrorCode
(
const
ChanDeadErrorCode
&
deadErrorCode
) {
m_deadErrorCode
=
deadErrorCode
; };
46
47
inline
bool
isMasked
(
void
)
const
{
return
m_bMasked
; };
48
inline
void
isMasked
(
bool
isMasked
) {
m_bMasked
=
isMasked
; };
49
50
inline
bool
isDead
(
void
)
const
{
return
m_deadErrorCode
.chanValid(); };
51
inline
bool
hasCalib
(
void
)
const
{
return
m_calibErrorCode
.chanValid(); };
52
53
inline
unsigned
int
noiseCut
()
const
{
return
m_noiseCut
; }
54
inline
void
setNoiseCut
(
unsigned
int
noiseCut
) {
m_noiseCut
=
noiseCut
; }
55
56
inline
unsigned
int
disabledBits
()
const
{
return
m_disabledBits
; }
57
inline
void
setDisabledBits
(
unsigned
int
disabledBits
) {
m_disabledBits
=
disabledBits
; }
58
59
private
:
60
L1CaloCoolChannelId
m_channelId
;
61
ChanCalibErrorCode
m_calibErrorCode
;
62
ChanDeadErrorCode
m_deadErrorCode
;
63
bool
m_bMasked
;
64
unsigned
int
m_noiseCut
;
65
unsigned
int
m_disabledBits
;
66
};
67
68
#endif
AbstractL1CaloPersistentCondition.h
ChanCalibErrorCode.h
ChanDeadErrorCode.h
L1CaloCoolChannelId.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::isDead
bool isDead(void) const
Definition
L1CaloPprDisabledChannel.h:50
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::hasCalib
bool hasCalib(void) const
Definition
L1CaloPprDisabledChannel.h:51
L1CaloPprDisabledChannel::disabledBits
unsigned int disabledBits() const
Definition
L1CaloPprDisabledChannel.h:56
L1CaloPprDisabledChannel::setNoiseCut
void setNoiseCut(unsigned int noiseCut)
Definition
L1CaloPprDisabledChannel.h:54
L1CaloPprDisabledChannel::~L1CaloPprDisabledChannel
~L1CaloPprDisabledChannel()=default
L1CaloPprDisabledChannel::calibErrorCode
void calibErrorCode(const ChanCalibErrorCode &calibErrorCode)
Definition
L1CaloPprDisabledChannel.h:42
L1CaloPprDisabledChannel::m_channelId
L1CaloCoolChannelId m_channelId
Definition
L1CaloPprDisabledChannel.h:60
L1CaloPprDisabledChannel::m_calibErrorCode
ChanCalibErrorCode m_calibErrorCode
Definition
L1CaloPprDisabledChannel.h:61
L1CaloPprDisabledChannel::operator<<
friend std::ostream & operator<<(std::ostream &output, const L1CaloPprDisabledChannel &r)
Definition
L1CaloPprDisabledChannel.cxx:56
L1CaloPprDisabledChannel::isMasked
bool isMasked(void) const
Definition
L1CaloPprDisabledChannel.h:47
L1CaloPprDisabledChannel::setDisabledBits
void setDisabledBits(unsigned int disabledBits)
Definition
L1CaloPprDisabledChannel.h:57
L1CaloPprDisabledChannel::isMasked
void isMasked(bool isMasked)
Definition
L1CaloPprDisabledChannel.h:48
L1CaloPprDisabledChannel::deadErrorCode
ChanDeadErrorCode deadErrorCode(void) const
Definition
L1CaloPprDisabledChannel.h:44
L1CaloPprDisabledChannel::m_deadErrorCode
ChanDeadErrorCode m_deadErrorCode
Definition
L1CaloPprDisabledChannel.h:62
L1CaloPprDisabledChannel::deadErrorCode
void deadErrorCode(const ChanDeadErrorCode &deadErrorCode)
Definition
L1CaloPprDisabledChannel.h:45
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