Main Page
Namespaces
Classes
Package Documentation
PhysicsTools
PatAlgos
plugins
PATConversionProducer.h
Go to the documentation of this file.
1
//
2
//
3
4
#ifndef PhysicsTools_PatAlgos_PATConversionProducer_h
5
#define PhysicsTools_PatAlgos_PATConversionProducer_h
6
7
#include "
FWCore/Framework/interface/global/EDProducer.h
"
8
#include "
FWCore/Framework/interface/Event.h
"
9
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
10
#include "
FWCore/Utilities/interface/InputTag.h
"
11
#include "
DataFormats/Common/interface/View.h
"
12
#include "
DataFormats/Common/interface/ValueMap.h
"
13
#include "
DataFormats/Candidate/interface/CandAssociation.h
"
14
15
#include "
CommonTools/Utils/interface/PtComparator.h
"
16
17
#include "
PhysicsTools/PatAlgos/interface/MultiIsolator.h
"
18
#include "
PhysicsTools/PatAlgos/interface/EfficiencyLoader.h
"
19
#include "
PhysicsTools/PatAlgos/interface/KinResolutionsLoader.h
"
20
21
#include "
DataFormats/PatCandidates/interface/Electron.h
"
22
23
#include "
DataFormats/PatCandidates/interface/UserData.h
"
24
#include "
PhysicsTools/PatAlgos/interface/PATUserDataHelper.h
"
25
26
#include "
RecoEcal/EgammaCoreTools/interface/EcalClusterLazyTools.h
"
27
28
#include "
TrackingTools/TransientTrack/interface/TransientTrack.h
"
29
#include "
DataFormats/VertexReco/interface/Vertex.h
"
30
31
#include <string>
32
33
34
namespace
pat
{
35
36
37
class
PATConversionProducer
:
public
edm::global::EDProducer
<> {
38
39
public
:
40
41
explicit
PATConversionProducer
(
const
edm::ParameterSet
& iConfig);
42
~PATConversionProducer
()
override
;
43
44
void
produce
(
edm::StreamID
,
edm::Event
&
iEvent
,
const
edm::EventSetup
& iSetup)
const override
;
45
46
private
:
47
48
// configurables
49
const
edm::EDGetTokenT<edm::View<reco::GsfElectron>
>
electronToken_
;
50
const
edm::EDGetTokenT<reco::BeamSpot>
bsToken_
;
51
const
edm::EDGetTokenT<reco::ConversionCollection>
conversionsToken_
;
52
53
};
54
55
56
}
57
58
#endif
KinResolutionsLoader.h
EDProducer.h
pat::PATConversionProducer::conversionsToken_
const edm::EDGetTokenT< reco::ConversionCollection > conversionsToken_
Definition:
PATConversionProducer.h:51
edm::StreamID
Definition:
StreamID.h:30
TransientTrack.h
Event.h
pat::PATConversionProducer::electronToken_
const edm::EDGetTokenT< edm::View< reco::GsfElectron > > electronToken_
Definition:
PATConversionProducer.h:49
pat::PATConversionProducer::bsToken_
const edm::EDGetTokenT< reco::BeamSpot > bsToken_
Definition:
PATConversionProducer.h:50
ValueMap.h
edm::EDGetTokenT
Definition:
EDGetToken.h:33
pat
Definition:
HeavyIon.h:7
ParameterSet.h
PtComparator.h
EcalClusterLazyTools.h
iEvent
int iEvent
Definition:
GenABIO.cc:224
pat::PATConversionProducer
Definition:
PATConversionProducer.h:37
View.h
edm::EventSetup
Definition:
EventSetup.h:57
edm::global::EDProducer
Definition:
EDProducer.h:32
Electron.h
pat::PATConversionProducer::produce
void produce(edm::StreamID, edm::Event &iEvent, const edm::EventSetup &iSetup) const override
Definition:
PATConversionProducer.cc:59
Vertex.h
CandAssociation.h
UserData.h
pat::PATConversionProducer::PATConversionProducer
PATConversionProducer(const edm::ParameterSet &iConfig)
Definition:
PATConversionProducer.cc:46
EfficiencyLoader.h
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:36
PATUserDataHelper.h
edm::Event
Definition:
Event.h:71
pat::PATConversionProducer::~PATConversionProducer
~PATConversionProducer() override
Definition:
PATConversionProducer.cc:55
MultiIsolator.h
Generated for CMSSW Reference Manual by
1.8.11