RecoEgamma
ElectronIdentification
plugins
ElectronIDSelectorCutBased.h
Go to the documentation of this file.
1
#ifndef ElectronIDSelectorCutBased_h
2
#define ElectronIDSelectorCutBased_h
3
4
#include "
FWCore/Framework/interface/Event.h
"
5
#include "
FWCore/Framework/interface/EventSetup.h
"
6
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
7
#include "
DataFormats/Common/interface/Handle.h
"
8
#include "
FWCore/Framework/interface/ESHandle.h
"
9
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
10
#include "
DataFormats/EgammaCandidates/interface/GsfElectron.h
"
11
12
#include "
ClassBasedElectronID.h
"
13
#include "
CutBasedElectronID.h
"
14
#include "
ElectronIDAlgo.h
"
15
#include "
PTDRElectronID.h
"
16
17
class
ElectronIDSelectorCutBased
{
18
public
:
19
explicit
ElectronIDSelectorCutBased
(
const
edm::ParameterSet
& conf,
edm::ConsumesCollector
&& iC)
20
:
ElectronIDSelectorCutBased
(conf, iC) {}
21
explicit
ElectronIDSelectorCutBased
(
const
edm::ParameterSet
& conf,
edm::ConsumesCollector
& iC);
22
virtual
~ElectronIDSelectorCutBased
();
23
24
void
newEvent
(
const
edm::Event
&,
const
edm::EventSetup
&);
25
double
operator()
(
const
reco::GsfElectron
&,
const
edm::Event
&,
const
edm::EventSetup
&);
26
27
private
:
28
ElectronIDAlgo
*
electronIDAlgo_
;
29
edm::ParameterSet
conf_
;
30
std::string
algorithm_
;
31
};
32
33
#endif
ElectronIDSelectorCutBased::electronIDAlgo_
ElectronIDAlgo * electronIDAlgo_
Definition:
ElectronIDSelectorCutBased.h:28
ElectronIDAlgo.h
reco::GsfElectron
Definition:
GsfElectron.h:36
Event.h
EventSetup.h
ClassBasedElectronID.h
ElectronIDSelectorCutBased
Definition:
ElectronIDSelectorCutBased.h:17
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ParameterSet.h
ElectronIDSelectorCutBased::conf_
edm::ParameterSet conf_
Definition:
ElectronIDSelectorCutBased.h:29
ElectronIDSelectorCutBased::~ElectronIDSelectorCutBased
virtual ~ElectronIDSelectorCutBased()
Definition:
ElectronIDSelectorCutBased.cc:19
ElectronIDSelectorCutBased::operator()
double operator()(const reco::GsfElectron &, const edm::Event &, const edm::EventSetup &)
Definition:
ElectronIDSelectorCutBased.cc:25
ESHandle.h
ElectronIDSelectorCutBased::algorithm_
std::string algorithm_
Definition:
ElectronIDSelectorCutBased.h:30
edm::EventSetup
Definition:
EventSetup.h:56
ElectronIDSelectorCutBased::ElectronIDSelectorCutBased
ElectronIDSelectorCutBased(const edm::ParameterSet &conf, edm::ConsumesCollector &&iC)
Definition:
ElectronIDSelectorCutBased.h:19
GsfElectron.h
ElectronIDSelectorCutBased::newEvent
void newEvent(const edm::Event &, const edm::EventSetup &)
Definition:
ElectronIDSelectorCutBased.cc:21
ElectronIDAlgo
Definition:
ElectronIDAlgo.h:15
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::Event
Definition:
Event.h:73
CutBasedElectronID.h
PTDRElectronID.h
ConsumesCollector.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Handle.h
Generated for CMSSW Reference Manual by
1.8.14