CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
ElectronIDAlgo Class Reference

#include <ElectronIDAlgo.h>

Inheritance diagram for ElectronIDAlgo:
ClassBasedElectronID CutBasedElectronID ElectronNeuralNet PTDRElectronID

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_
 

Detailed Description

Definition at line 21 of file ElectronIDAlgo.h.

Constructor & Destructor Documentation

ElectronIDAlgo::ElectronIDAlgo ( )
inline

Definition at line 25 of file ElectronIDAlgo.h.

25 {};
virtual ElectronIDAlgo::~ElectronIDAlgo ( )
inlinevirtual

Definition at line 27 of file ElectronIDAlgo.h.

27 {};

Member Function Documentation

void ElectronIDAlgo::baseSetup ( const edm::ParameterSet conf)

Definition at line 5 of file ElectronIDAlgo.cc.

References edm::ParameterSet::getParameter(), reducedBarrelRecHitCollection_, and reducedEndcapRecHitCollection_.

Referenced by ClassBasedElectronID::setup(), PTDRElectronID::setup(), and CutBasedElectronID::setup().

5  {
6  reducedBarrelRecHitCollection_ = conf.getParameter<edm::InputTag>("reducedBarrelRecHitCollection");
7  reducedEndcapRecHitCollection_ = conf.getParameter<edm::InputTag>("reducedEndcapRecHitCollection");
8 }
T getParameter(std::string const &) const
edm::InputTag reducedEndcapRecHitCollection_
edm::InputTag reducedBarrelRecHitCollection_
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().

12 {
13 
16 
19 
21  return lazyTools ;
22 
23 }
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:356
edm::InputTag reducedEndcapRecHitCollection_
edm::InputTag reducedBarrelRecHitCollection_
virtual double ElectronIDAlgo::result ( const reco::GsfElectron ,
const edm::Event ,
const edm::EventSetup  
)
inlinevirtual

Reimplemented in ClassBasedElectronID, CutBasedElectronID, and PTDRElectronID.

Definition at line 31 of file ElectronIDAlgo.h.

Referenced by ElectronIDSelectorCutBased::operator()().

31 {return 0.;};
virtual void ElectronIDAlgo::setup ( const edm::ParameterSet conf)
inlinevirtual

Reimplemented in ElectronNeuralNet, ClassBasedElectronID, CutBasedElectronID, and PTDRElectronID.

Definition at line 30 of file ElectronIDAlgo.h.

Referenced by ElectronIDSelectorCutBased::newEvent().

30 {};

Member Data Documentation

edm::InputTag ElectronIDAlgo::reducedBarrelRecHitCollection_
protected

Definition at line 37 of file ElectronIDAlgo.h.

Referenced by baseSetup(), and getClusterShape().

edm::InputTag ElectronIDAlgo::reducedEndcapRecHitCollection_
protected

Definition at line 38 of file ElectronIDAlgo.h.

Referenced by baseSetup(), and getClusterShape().