CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions
HcalBadLaserChannels Class Reference

#include <HcalBadLaserChannels.h>

Public Member Functions

 HcalBadLaserChannels ()
 

Static Public Member Functions

static bool badChannelHBHE (HcalDetId id)
 
static int badChannelsHBHE ()
 
static int badChannelsHF ()
 

Detailed Description

Definition at line 7 of file HcalBadLaserChannels.h.

Constructor & Destructor Documentation

HcalBadLaserChannels::HcalBadLaserChannels ( )
inline

Definition at line 10 of file HcalBadLaserChannels.h.

10 {}

Member Function Documentation

static bool HcalBadLaserChannels::badChannelHBHE ( HcalDetId  id)
inlinestatic

Definition at line 14 of file HcalBadLaserChannels.h.

References HcalBarrel.

14  {
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  }
static int HcalBadLaserChannels::badChannelsHBHE ( )
inlinestatic

Definition at line 12 of file HcalBadLaserChannels.h.

12 { return 72*3; }
static int HcalBadLaserChannels::badChannelsHF ( )
inlinestatic

Definition at line 13 of file HcalBadLaserChannels.h.

13 { return 0; }