Main Page
Namespaces
Classes
Package Documentation
CondFormats
L1TObjects
interface
L1RCTNoisyChannelMask.h
Go to the documentation of this file.
1
#ifndef L1TObjects_L1RCTNoisyChannelMask_h
2
#define L1TObjects_L1RCTNoisyChannelMask_h
3
#include "
CondFormats/Serialization/interface/Serializable.h
"
4
5
#include <ostream>
6
7
struct
L1RCTNoisyChannelMask
{
8
bool
ecalMask
[18][2][28];
9
bool
hcalMask
[18][2][28];
10
bool
hfMask
[18][2][4];
11
12
float
ecalThreshold
;
13
float
hcalThreshold
;
14
float
hfThreshold
;
15
16
void
print
(std::ostream&
s
)
const
{
17
s <<
"Printing record L1RCTNoisyChannelMaskRcd "
<< std::endl;
18
19
s <<
"ECAL noise mask threshold: ecalThreshold"
<< ecalThreshold << std::endl;
20
s <<
"HCAL noise mask threshold: hcalThreshold"
<< hcalThreshold << std::endl;
21
s <<
"HF noise mask threshold: hfThreshold"
<< hfThreshold << std::endl;
22
s <<
"Noisy Masked channels in L1RCTNoisyChannelMask"
<< std::endl;
23
for
(
int
i
= 0;
i
< 18;
i
++)
24
for
(
int
j
= 0;
j
< 2;
j
++) {
25
for
(
int
k
= 0;
k
< 28;
k
++) {
26
if
(ecalMask[
i
][
j
][
k
])
27
s <<
"ECAL masked noisy channel: RCT crate "
<<
i
<<
" iphi "
<<
j
<<
" ieta "
<< k << std::endl;
28
if
(hcalMask[
i
][
j
][k])
29
s <<
"HCAL masked noisy channel: RCT crate "
<<
i
<<
" iphi "
<<
j
<<
" ieta "
<< k << std::endl;
30
}
31
for
(
int
k
= 0;
k
< 4;
k
++)
32
if
(hfMask[
i
][
j
][
k
])
33
s <<
"HF masked noisy channel: RCT crate "
<<
i
<<
" iphi "
<<
j
<<
" ieta "
<< k << std::endl;
34
}
35
}
36
37
COND_SERIALIZABLE
;
38
};
39
40
#endif
mps_fire.i
i
Definition:
mps_fire.py:341
L1RCTNoisyChannelMask::ecalMask
bool ecalMask[18][2][28]
Definition:
L1RCTNoisyChannelMask.h:8
L1RCTNoisyChannelMask::hfThreshold
float hfThreshold
Definition:
L1RCTNoisyChannelMask.h:14
dqmiolumiharvest.j
j
Definition:
dqmiolumiharvest.py:66
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
L1RCTNoisyChannelMask
Definition:
L1RCTNoisyChannelMask.h:7
L1RCTNoisyChannelMask::ecalThreshold
float ecalThreshold
Definition:
L1RCTNoisyChannelMask.h:12
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:38
L1RCTNoisyChannelMask::print
void print(std::ostream &s) const
Definition:
L1RCTNoisyChannelMask.h:16
L1RCTNoisyChannelMask::hcalMask
bool hcalMask[18][2][28]
Definition:
L1RCTNoisyChannelMask.h:9
Serializable.h
L1RCTNoisyChannelMask::hfMask
bool hfMask[18][2][4]
Definition:
L1RCTNoisyChannelMask.h:10
dqmdumpme.k
k
Definition:
dqmdumpme.py:60
L1RCTNoisyChannelMask::hcalThreshold
float hcalThreshold
Definition:
L1RCTNoisyChannelMask.h:13
Generated for CMSSW Reference Manual by
1.8.11