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 
9 public:
11 
12  static int badChannelsHBHE () { return 72*3; }
13  static int badChannelsHF() { return 0; }
14  static bool badChannelHBHE(HcalDetId id) {
15  bool isbad(false);
16  // Three RBX's in HB do not receive any laser light (HBM5, HBM8, HBM9)
17  // They correspond to iphi = 15:18, 27:30, 31:34 respectively and
18  // ieta < 0
19  if (id.subdet()==HcalBarrel && id.ieta()<0) {
20  if (id.iphi()>=15 && id.iphi()<=18) isbad = true;
21  else if (id.iphi()>=27 && id.iphi()<=34) isbad = true;
22  }
23  return isbad;
24  }
25 };
26 
27 #endif
static bool badChannelHBHE(HcalDetId id)