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
8
struct
L1RCTNoisyChannelMask
{
9
10
bool
ecalMask
[18][2][28];
11
bool
hcalMask
[18][2][28];
12
bool
hfMask
[18][2][4];
13
14
float
ecalThreshold
;
15
float
hcalThreshold
;
16
float
hfThreshold
;
17
18
19
void
print
(std::ostream&
s
)
const
{
20
s <<
"Printing record L1RCTNoisyChannelMaskRcd "
<< std::endl;
21
22
s <<
"ECAL noise mask threshold: ecalThreshold"
<< ecalThreshold << std::endl ;
23
s <<
"HCAL noise mask threshold: hcalThreshold"
<< hcalThreshold << std::endl ;
24
s <<
"HF noise mask threshold: hfThreshold"
<< hfThreshold << std::endl ;
25
s <<
"Noisy Masked channels in L1RCTNoisyChannelMask"
<<std::endl;
26
for
(
int
i
= 0;
i
< 18;
i
++)
27
for
(
int
j =0; j< 2; j++){
28
for
(
int
k
=0;
k
<28;
k
++){
29
if
(ecalMask[
i
][j][
k
])
30
s <<
"ECAL masked noisy channel: RCT crate "
<<
i
<<
" iphi "
<< j <<
" ieta "
<<k <<std::endl;
31
if
(hcalMask[
i
][j][k])
32
s <<
"HCAL masked noisy channel: RCT crate "
<<
i
<<
" iphi "
<< j <<
" ieta "
<<k <<std::endl;
33
}
34
for
(
int
k
=0;
k
<4;
k
++)
35
if
(hfMask[
i
][j][
k
])
36
s <<
"HF masked noisy channel: RCT crate "
<<
i
<<
" iphi "
<< j <<
" ieta "
<<k <<std::endl;
37
}
38
39
}
40
41
COND_SERIALIZABLE
;
42
};
43
44
#endif
mps_fire.i
i
Definition:
mps_fire.py:338
L1RCTNoisyChannelMask::ecalMask
bool ecalMask[18][2][28]
Definition:
L1RCTNoisyChannelMask.h:10
L1RCTNoisyChannelMask::hfThreshold
float hfThreshold
Definition:
L1RCTNoisyChannelMask.h:16
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
L1RCTNoisyChannelMask
Definition:
L1RCTNoisyChannelMask.h:8
L1RCTNoisyChannelMask::ecalThreshold
float ecalThreshold
Definition:
L1RCTNoisyChannelMask.h:14
gen::k
int k[5][pyjets_maxn]
Definition:
Cascade2Hadronizer.cc:79
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:38
L1RCTNoisyChannelMask::print
void print(std::ostream &s) const
Definition:
L1RCTNoisyChannelMask.h:19
L1RCTNoisyChannelMask::hcalMask
bool hcalMask[18][2][28]
Definition:
L1RCTNoisyChannelMask.h:11
Serializable.h
L1RCTNoisyChannelMask::hfMask
bool hfMask[18][2][4]
Definition:
L1RCTNoisyChannelMask.h:12
L1RCTNoisyChannelMask::hcalThreshold
float hcalThreshold
Definition:
L1RCTNoisyChannelMask.h:15
Generated for CMSSW Reference Manual by
1.8.11