CMS 3D CMS Logo

Functions
EcalTools.cc File Reference
#include "RecoEcal/EgammaCoreTools/interface/EcalTools.h"
#include "DataFormats/EcalDetId/interface/EBDetId.h"
#include "DataFormats/EcalDetId/interface/EEDetId.h"
#include "RecoEcal/EgammaCoreTools/interface/EcalNextToDeadChannel.h"
#include "RecoEcal/EgammaCoreTools/interface/EcalNextToDeadChannelRcd.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"

Go to the source code of this file.

Functions

bool isNextToBoundary (const DetId &id)
 

Function Documentation

◆ isNextToBoundary()

bool isNextToBoundary ( const DetId id)

Definition at line 147 of file EcalTools.cc.

147  {
148  if (id.subdetId() == EcalBarrel)
150  else if (id.subdetId() == EcalEndcap)
152 
153  return false;
154 }

References EcalBarrel, EcalEndcap, EBDetId::isNextToBoundary(), and EEDetId::isNextToBoundary().

EEDetId::isNextToBoundary
static bool isNextToBoundary(EEDetId id)
Definition: EEDetId.cc:277
EBDetId::isNextToBoundary
static bool isNextToBoundary(EBDetId id)
Definition: EBDetId.cc:106
EBDetId
Definition: EBDetId.h:17
EcalBarrel
Definition: EcalSubdetector.h:10
EEDetId
Definition: EEDetId.h:14
EcalEndcap
Definition: EcalSubdetector.h:10