#include <ElectronIDAlgo.h>
Public Member Functions | |
void | baseSetup (const edm::ParameterSet &conf) |
ElectronIDAlgo () | |
virtual double | result (const reco::GsfElectron *, const edm::Event &, const edm::EventSetup &) |
virtual void | setup (const edm::ParameterSet &conf) |
virtual | ~ElectronIDAlgo () |
Protected Member Functions | |
EcalClusterLazyTools | getClusterShape (const edm::Event &, const edm::EventSetup &) |
Protected Attributes | |
edm::InputTag | reducedBarrelRecHitCollection_ |
edm::InputTag | reducedEndcapRecHitCollection_ |
Definition at line 21 of file ElectronIDAlgo.h.
ElectronIDAlgo::ElectronIDAlgo | ( | ) | [inline] |
Definition at line 25 of file ElectronIDAlgo.h.
{};
virtual ElectronIDAlgo::~ElectronIDAlgo | ( | ) | [inline, virtual] |
Definition at line 27 of file ElectronIDAlgo.h.
{};
void ElectronIDAlgo::baseSetup | ( | const edm::ParameterSet & | conf | ) |
Definition at line 5 of file ElectronIDAlgo.cc.
References edm::ParameterSet::getParameter(), reducedBarrelRecHitCollection_, and reducedEndcapRecHitCollection_.
Referenced by CutBasedElectronID::setup(), PTDRElectronID::setup(), and ClassBasedElectronID::setup().
{ reducedBarrelRecHitCollection_ = conf.getParameter<edm::InputTag>("reducedBarrelRecHitCollection"); reducedEndcapRecHitCollection_ = conf.getParameter<edm::InputTag>("reducedEndcapRecHitCollection"); }
EcalClusterLazyTools ElectronIDAlgo::getClusterShape | ( | const edm::Event & | ev, |
const edm::EventSetup & | es | ||
) | [protected] |
Definition at line 10 of file ElectronIDAlgo.cc.
References edm::Event::getByLabel(), reducedBarrelRecHitCollection_, and reducedEndcapRecHitCollection_.
Referenced by PTDRElectronID::result().
{ edm::Handle< EcalRecHitCollection > pEBRecHits; ev.getByLabel( reducedBarrelRecHitCollection_, pEBRecHits ); edm::Handle< EcalRecHitCollection > pEERecHits; ev.getByLabel( reducedEndcapRecHitCollection_, pEERecHits ); EcalClusterLazyTools lazyTools( ev, es, reducedBarrelRecHitCollection_, reducedEndcapRecHitCollection_ ) ; return lazyTools ; }
virtual double ElectronIDAlgo::result | ( | const reco::GsfElectron * | , |
const edm::Event & | , | ||
const edm::EventSetup & | |||
) | [inline, virtual] |
Reimplemented in ClassBasedElectronID, CutBasedElectronID, and PTDRElectronID.
Definition at line 31 of file ElectronIDAlgo.h.
Referenced by ElectronIDSelectorCutBased::operator()().
{return 0.;};
virtual void ElectronIDAlgo::setup | ( | const edm::ParameterSet & | conf | ) | [inline, virtual] |
Reimplemented in ClassBasedElectronID, CutBasedElectronID, ElectronNeuralNet, and PTDRElectronID.
Definition at line 30 of file ElectronIDAlgo.h.
Referenced by ElectronIDSelectorCutBased::newEvent().
{};
Definition at line 37 of file ElectronIDAlgo.h.
Referenced by baseSetup(), and getClusterShape().
Definition at line 38 of file ElectronIDAlgo.h.
Referenced by baseSetup(), and getClusterShape().