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
namespace
pat
{
34
35
class
PATConversionProducer
:
public
edm::global::EDProducer
<> {
36
public
:
37
explicit
PATConversionProducer
(
const
edm::ParameterSet
& iConfig);
38
~PATConversionProducer
()
override
;
39
40
void
produce
(
edm::StreamID
,
edm::Event
&
iEvent
,
const
edm::EventSetup
& iSetup)
const override
;
41
42
private
:
43
// configurables
44
const
edm::EDGetTokenT<edm::View<reco::GsfElectron>
>
electronToken_
;
45
const
edm::EDGetTokenT<reco::BeamSpot>
bsToken_
;
46
const
edm::EDGetTokenT<reco::ConversionCollection>
conversionsToken_
;
47
};
48
49
}
// namespace pat
50
51
#endif
edm::StreamID
Definition:
StreamID.h:30
pat::PATConversionProducer::conversionsToken_
const edm::EDGetTokenT< reco::ConversionCollection > conversionsToken_
Definition:
PATConversionProducer.h:46
pat::PATConversionProducer
Definition:
PATConversionProducer.h:35
edm::EDGetTokenT
Definition:
EDGetToken.h:33
pat::PATConversionProducer::bsToken_
const edm::EDGetTokenT< reco::BeamSpot > bsToken_
Definition:
PATConversionProducer.h:45
PtComparator.h
EcalClusterLazyTools.h
TransientTrack.h
MultiIsolator.h
EfficiencyLoader.h
KinResolutionsLoader.h
pat::PATConversionProducer::produce
void produce(edm::StreamID, edm::Event &iEvent, const edm::EventSetup &iSetup) const override
Definition:
PATConversionProducer.cc:55
edm::global::EDProducer
Definition:
EDProducer.h:32
Vertex.h
edm::ParameterSet
Definition:
ParameterSet.h:47
CandAssociation.h
Event.h
UserData.h
iEvent
int iEvent
Definition:
GenABIO.cc:224
edm::EventSetup
Definition:
EventSetup.h:58
pat
Definition:
HeavyIon.h:7
InputTag.h
pat::PATConversionProducer::PATConversionProducer
PATConversionProducer(const edm::ParameterSet &iConfig)
Definition:
PATConversionProducer.cc:45
ValueMap.h
PATUserDataHelper.h
Electron.h
View.h
ParameterSet.h
EDProducer.h
edm::Event
Definition:
Event.h:73
pat::PATConversionProducer::~PATConversionProducer
~PATConversionProducer() override
Definition:
PATConversionProducer.cc:53
pat::PATConversionProducer::electronToken_
const edm::EDGetTokenT< edm::View< reco::GsfElectron > > electronToken_
Definition:
PATConversionProducer.h:44
Generated for CMSSW Reference Manual by
1.8.16