Main Page
Namespaces
Classes
Package Documentation
RecoEgamma
ElectronIdentification
plugins
ElectronIDSelectorNeuralNet.h
Go to the documentation of this file.
1
#ifndef ElectronIDSelectorNeuralNet_h
2
#define ElectronIDSelectorNeuralNet_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
#include "
RecoEgamma/ElectronIdentification/interface/ElectronNeuralNet.h
"
12
13
class
ElectronIDSelectorNeuralNet
14
{
15
public
:
16
17
explicit
ElectronIDSelectorNeuralNet
(
const
edm::ParameterSet
& conf,
edm::ConsumesCollector
&& iC) :
18
ElectronIDSelectorNeuralNet
(conf, iC) {}
19
explicit
ElectronIDSelectorNeuralNet
(
const
edm::ParameterSet
& conf,
edm::ConsumesCollector
& iC) ;
20
virtual
~ElectronIDSelectorNeuralNet
() ;
21
22
void
newEvent
(
const
edm::Event
&,
const
edm::EventSetup
&) ;
23
double
operator()
(
const
reco::GsfElectron
&,
const
edm::Event
&,
const
edm::EventSetup
&) ;
24
25
private
:
26
27
ElectronNeuralNet
*
neuralNetAlgo_
;
28
29
edm::ParameterSet
conf_
;
30
31
bool
doNeuralNet_
;
32
33
};
34
35
#endif
ElectronIDSelectorNeuralNet
Definition:
ElectronIDSelectorNeuralNet.h:13
ElectronIDSelectorNeuralNet::conf_
edm::ParameterSet conf_
Definition:
ElectronIDSelectorNeuralNet.h:29
reco::GsfElectron
Definition:
GsfElectron.h:37
ElectronIDSelectorNeuralNet::neuralNetAlgo_
ElectronNeuralNet * neuralNetAlgo_
Definition:
ElectronIDSelectorNeuralNet.h:27
Event.h
EventSetup.h
ParameterSet.h
ElectronNeuralNet.h
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:44
GsfElectron.h
ElectronIDSelectorNeuralNet::~ElectronIDSelectorNeuralNet
virtual ~ElectronIDSelectorNeuralNet()
Definition:
ElectronIDSelectorNeuralNet.cc:11
ElectronIDSelectorNeuralNet::ElectronIDSelectorNeuralNet
ElectronIDSelectorNeuralNet(const edm::ParameterSet &conf, edm::ConsumesCollector &&iC)
Definition:
ElectronIDSelectorNeuralNet.h:17
edm::ParameterSet
Definition:
ParameterSet.h:36
ElectronIDSelectorNeuralNet::newEvent
void newEvent(const edm::Event &, const edm::EventSetup &)
Definition:
ElectronIDSelectorNeuralNet.cc:17
edm::Event
Definition:
Event.h:66
ElectronIDSelectorNeuralNet::doNeuralNet_
bool doNeuralNet_
Definition:
ElectronIDSelectorNeuralNet.h:31
ConsumesCollector.h
ElectronNeuralNet
Definition:
ElectronNeuralNet.h:9
ElectronIDSelectorNeuralNet::operator()
double operator()(const reco::GsfElectron &, const edm::Event &, const edm::EventSetup &)
Definition:
ElectronIDSelectorNeuralNet.cc:23
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
Handle.h
Generated for CMSSW Reference Manual by
1.8.11