CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
static bool badChannelHBHE(HcalDetId id)