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
Handle.h
CutBasedElectronID.h
ESHandle.h
ClassBasedElectronID.h
ElectronIDSelectorCutBased::algorithm_
std::string algorithm_
Definition:
ElectronIDSelectorCutBased.h:30
ElectronIDAlgo.h
ElectronIDSelectorCutBased::~ElectronIDSelectorCutBased
virtual ~ElectronIDSelectorCutBased()
Definition:
ElectronIDSelectorCutBased.cc:19
ElectronIDSelectorCutBased::electronIDAlgo_
ElectronIDAlgo * electronIDAlgo_
Definition:
ElectronIDSelectorCutBased.h:28
ElectronIDSelectorCutBased
Definition:
ElectronIDSelectorCutBased.h:17
reco::GsfElectron
Definition:
GsfElectron.h:34
GsfElectron.h
ElectronIDAlgo
Definition:
ElectronIDAlgo.h:15
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
edm::EventSetup
Definition:
EventSetup.h:58
ElectronIDSelectorCutBased::operator()
double operator()(const reco::GsfElectron &, const edm::Event &, const edm::EventSetup &)
Definition:
ElectronIDSelectorCutBased.cc:25
EventSetup.h
ElectronIDSelectorCutBased::conf_
edm::ParameterSet conf_
Definition:
ElectronIDSelectorCutBased.h:29
PTDRElectronID.h
ConsumesCollector.h
ParameterSet.h
ElectronIDSelectorCutBased::newEvent
void newEvent(const edm::Event &, const edm::EventSetup &)
Definition:
ElectronIDSelectorCutBased.cc:21
ElectronIDSelectorCutBased::ElectronIDSelectorCutBased
ElectronIDSelectorCutBased(const edm::ParameterSet &conf, edm::ConsumesCollector &&iC)
Definition:
ElectronIDSelectorCutBased.h:19
edm::Event
Definition:
Event.h:73
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.16