Geometry
HcalCommonData
interface
HcalBadLaserChannels.h
Go to the documentation of this file.
1
#ifndef Geometry_HcalCommonData_HcalBadLaserChannels_h
2
#define Geometry_HcalCommonData_HcalBadLaserChannels_h
3
4
#include "
DataFormats/HcalDetId/interface/HcalSubdetector.h
"
5
#include "
DataFormats/HcalDetId/interface/HcalDetId.h
"
6
7
class
HcalBadLaserChannels
{
8
public
:
9
HcalBadLaserChannels
() {}
10
11
static
int
badChannelsHBHE
() {
return
72 * 3; }
12
static
int
badChannelsHF
() {
return
0; }
13
static
bool
badChannelHBHE
(
HcalDetId
id
) {
14
bool
isbad(
false
);
15
// Three RBX's in HB do not receive any laser light (HBM5, HBM8, HBM9)
16
// They correspond to iphi = 15:18, 27:30, 31:34 respectively and
17
// ieta < 0
18
if
(
id
.subdet() ==
HcalBarrel
&&
id
.
ieta
() < 0) {
19
if
(
id
.
iphi
() >= 15 &&
id
.
iphi
() <= 18)
20
isbad =
true
;
21
else
if
(
id
.
iphi
() >= 27 &&
id
.
iphi
() <= 34)
22
isbad =
true
;
23
}
24
return
isbad;
25
}
26
};
27
28
#endif
HcalBadLaserChannels::HcalBadLaserChannels
HcalBadLaserChannels()
Definition:
HcalBadLaserChannels.h:9
HcalBadLaserChannels::badChannelsHF
static int badChannelsHF()
Definition:
HcalBadLaserChannels.h:12
HcalBarrel
Definition:
HcalAssistant.h:33
LEDCalibrationChannels.iphi
iphi
Definition:
LEDCalibrationChannels.py:64
HcalBadLaserChannels::badChannelsHBHE
static int badChannelsHBHE()
Definition:
HcalBadLaserChannels.h:11
LEDCalibrationChannels.ieta
ieta
Definition:
LEDCalibrationChannels.py:63
HcalDetId.h
HcalDetId
Definition:
HcalDetId.h:12
HcalBadLaserChannels
Definition:
HcalBadLaserChannels.h:7
HcalSubdetector.h
HcalBadLaserChannels::badChannelHBHE
static bool badChannelHBHE(HcalDetId id)
Definition:
HcalBadLaserChannels.h:13
Generated for CMSSW Reference Manual by
1.8.16