CMS 3D CMS Logo

HcalBadLaserChannels.h
Go to the documentation of this file.
1 #ifndef Geometry_HcalCommonData_HcalBadLaserChannels_h
2 #define Geometry_HcalCommonData_HcalBadLaserChannels_h
3 
6 
8 public:
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