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::HcalBadLaserChannels ( )
inline

Definition at line 9 of file HcalBadLaserChannels.h.

9 {}

Member Function Documentation

◆ badChannelHBHE()

static bool HcalBadLaserChannels::badChannelHBHE ( HcalDetId  id)
inlinestatic

Definition at line 13 of file HcalBadLaserChannels.h.

13  {
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  }

References HcalBarrel, LEDCalibrationChannels::ieta, and LEDCalibrationChannels::iphi.

◆ badChannelsHBHE()

static int HcalBadLaserChannels::badChannelsHBHE ( )
inlinestatic

Definition at line 11 of file HcalBadLaserChannels.h.

11 { return 72 * 3; }

◆ badChannelsHF()

static int HcalBadLaserChannels::badChannelsHF ( )
inlinestatic

Definition at line 12 of file HcalBadLaserChannels.h.

12 { return 0; }
HcalBarrel
Definition: HcalAssistant.h:33
LEDCalibrationChannels.iphi
iphi
Definition: LEDCalibrationChannels.py:64
LEDCalibrationChannels.ieta
ieta
Definition: LEDCalibrationChannels.py:63