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 "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 142 of file EcalTools.cc.

142  {
143  if (id.subdetId() == EcalBarrel)
145  else if (id.subdetId() == EcalEndcap)
147 
148  return false;
149 }

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