CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

bool isNextToBoundary ( const DetId id)

Definition at line 142 of file EcalTools.cc.

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

142  {
143  if (id.subdetId() == EcalBarrel)
145  else if (id.subdetId() == EcalEndcap)
147 
148  return false;
149 }
static bool isNextToBoundary(EEDetId id)
Definition: EEDetId.cc:277
static bool isNextToBoundary(EBDetId id)
Definition: EBDetId.cc:106