CMS 3D CMS Logo

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

bool isNextToBoundary ( const DetId id)

Definition at line 151 of file EcalTools.cc.

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

151  {
152 
153  if ( id.subdetId() == EcalBarrel )
155  else if ( id.subdetId() == EcalEndcap )
157 
158  return false;
159 }
static bool isNextToBoundary(EEDetId id)
Definition: EEDetId.cc:361
static bool isNextToBoundary(EBDetId id)
Definition: EBDetId.cc:121