CMS 3D CMS Logo

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

#include <CutBasedElectronID.h>

Inheritance diagram for CutBasedElectronID:
ElectronIDAlgo

Public Member Functions

double cicSelection (const reco::GsfElectron *, const edm::Event &, const edm::EventSetup &)
 
int classify (const reco::GsfElectron *)
 
bool compute_cut (double x, double et, double cut_min, double cut_max, bool gtn=false)
 
 CutBasedElectronID (const edm::ParameterSet &conf, edm::ConsumesCollector &iC)
 
double result (const reco::GsfElectron *, const edm::Event &, const edm::EventSetup &)
 
double robustSelection (const reco::GsfElectron *, const edm::Event &, const edm::EventSetup &)
 
void setup (const edm::ParameterSet &conf)
 
virtual ~CutBasedElectronID ()
 
- Public Member Functions inherited from ElectronIDAlgo
 ElectronIDAlgo ()
 
virtual ~ElectronIDAlgo ()
 

Private Attributes

edm::ParameterSet cuts_
 
bool newCategories_
 
std::string quality_
 
std::string type_
 
std::string version_
 
edm::EDGetTokenT< std::vector
< reco::Vertex > > 
verticesCollection_
 
bool wantBinning_
 

Additional Inherited Members

- Protected Attributes inherited from ElectronIDAlgo
edm::InputTag reducedBarrelRecHitCollection_
 
edm::InputTag reducedEndcapRecHitCollection_
 

Detailed Description

Definition at line 10 of file CutBasedElectronID.h.

Constructor & Destructor Documentation

CutBasedElectronID::CutBasedElectronID ( const edm::ParameterSet conf,
edm::ConsumesCollector iC 
)

Definition at line 9 of file CutBasedElectronID.cc.

virtual CutBasedElectronID::~CutBasedElectronID ( )
inlinevirtual

Definition at line 16 of file CutBasedElectronID.h.

16 {};

Member Function Documentation

double CutBasedElectronID::cicSelection ( const reco::GsfElectron electron,
const edm::Event e,
const edm::EventSetup es 
)

Definition at line 127 of file CutBasedElectronID.cc.

int CutBasedElectronID::classify ( const reco::GsfElectron electron)

Definition at line 57 of file CutBasedElectronID.cc.

bool CutBasedElectronID::compute_cut ( double  x,
double  et,
double  cut_min,
double  cut_max,
bool  gtn = false 
)

Definition at line 429 of file CutBasedElectronID.cc.

double CutBasedElectronID::result ( const reco::GsfElectron electron,
const edm::Event e,
const edm::EventSetup es 
)
virtual

Reimplemented from ElectronIDAlgo.

Definition at line 44 of file CutBasedElectronID.cc.

double CutBasedElectronID::robustSelection ( const reco::GsfElectron electron,
const edm::Event e,
const edm::EventSetup es 
)

Definition at line 456 of file CutBasedElectronID.cc.

void CutBasedElectronID::setup ( const edm::ParameterSet conf)
virtual

Reimplemented from ElectronIDAlgo.

Definition at line 15 of file CutBasedElectronID.cc.

Member Data Documentation

edm::ParameterSet CutBasedElectronID::cuts_
private

Definition at line 32 of file CutBasedElectronID.h.

bool CutBasedElectronID::newCategories_
private

Definition at line 27 of file CutBasedElectronID.h.

std::string CutBasedElectronID::quality_
private

Definition at line 29 of file CutBasedElectronID.h.

std::string CutBasedElectronID::type_
private

Definition at line 28 of file CutBasedElectronID.h.

Referenced by RandomRunSource.RandomRunSource::insertInto().

std::string CutBasedElectronID::version_
private

Definition at line 30 of file CutBasedElectronID.h.

edm::EDGetTokenT<std::vector<reco::Vertex> > CutBasedElectronID::verticesCollection_
private

Definition at line 31 of file CutBasedElectronID.h.

bool CutBasedElectronID::wantBinning_
private

Definition at line 26 of file CutBasedElectronID.h.