RecoEgamma
PhotonIdentification
plugins
PhotonIDProducer.h
Go to the documentation of this file.
1
#ifndef PhotonIDProducer_h
2
#define PhotonIDProducer_h
3
4
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
5
#include "
FWCore/Framework/interface/Event.h
"
6
#include "
FWCore/Framework/interface/EventSetup.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/Photon.h
"
11
#include "
DataFormats/Common/interface/ValueMap.h
"
12
#include "
DataFormats/EgammaCandidates/interface/PhotonFwd.h
"
13
14
#include "
CutBasedPhotonIDAlgo.h
"
15
16
class
PhotonIDProducer
:
public
edm::stream::EDProducer
<> {
17
public
:
18
explicit
PhotonIDProducer
(
const
edm::ParameterSet
& conf);
19
~PhotonIDProducer
()
override
;
20
21
void
produce
(
edm::Event
&
e
,
const
edm::EventSetup
&
c
)
override
;
22
23
private
:
24
CutBasedPhotonIDAlgo
*
cutBasedAlgo_
;
25
26
edm::ParameterSet
conf_
;
27
edm::EDGetTokenT<reco::PhotonCollection>
photonToken_
;
28
29
std::string
photonCutBasedIDLooseEMLabel_
;
30
std::string
photonCutBasedIDLooseLabel_
;
31
std::string
photonCutBasedIDTightLabel_
;
32
33
bool
doCutBased_
;
34
};
35
36
#endif
Handle.h
ESHandle.h
PhotonIDProducer::produce
void produce(edm::Event &e, const edm::EventSetup &c) override
Definition:
PhotonIDProducer.cc:26
edm::EDGetTokenT< reco::PhotonCollection >
PhotonIDProducer::photonCutBasedIDLooseLabel_
std::string photonCutBasedIDLooseLabel_
Definition:
PhotonIDProducer.h:30
CutBasedPhotonIDAlgo
Definition:
CutBasedPhotonIDAlgo.h:9
EDProducer.h
PhotonIDProducer::doCutBased_
bool doCutBased_
Definition:
PhotonIDProducer.h:33
PhotonFwd.h
PhotonIDProducer::~PhotonIDProducer
~PhotonIDProducer() override
Definition:
PhotonIDProducer.cc:21
PhotonIDProducer::conf_
edm::ParameterSet conf_
Definition:
PhotonIDProducer.h:26
Photon.h
PhotonIDProducer::photonToken_
edm::EDGetTokenT< reco::PhotonCollection > photonToken_
Definition:
PhotonIDProducer.h:27
PhotonIDProducer::photonCutBasedIDLooseEMLabel_
std::string photonCutBasedIDLooseEMLabel_
Definition:
PhotonIDProducer.h:29
PhotonIDProducer::photonCutBasedIDTightLabel_
std::string photonCutBasedIDTightLabel_
Definition:
PhotonIDProducer.h:31
PhotonIDProducer
Definition:
PhotonIDProducer.h:16
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
CutBasedPhotonIDAlgo.h
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
PhotonIDProducer::PhotonIDProducer
PhotonIDProducer(const edm::ParameterSet &conf)
Definition:
PhotonIDProducer.cc:5
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
ValueMap.h
EventSetup.h
ParameterSet.h
PhotonIDProducer::cutBasedAlgo_
CutBasedPhotonIDAlgo * cutBasedAlgo_
Definition:
PhotonIDProducer.h:24
edm::Event
Definition:
Event.h:73
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16