PhysicsTools
JetCharge
plugins
JetChargeProducer.h
Go to the documentation of this file.
1
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
2
#include "
FWCore/Framework/interface/global/EDProducer.h
"
3
#include "
FWCore/Framework/interface/Event.h
"
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
#include "
FWCore/Utilities/interface/InputTag.h
"
6
7
#include "
DataFormats/JetReco/interface/Jet.h
"
8
#include "
DataFormats/JetReco/interface/JetFloatAssociation.h
"
9
#include "
DataFormats/JetReco/interface/JetTracksAssociation.h
"
10
11
#include "
PhysicsTools/JetCharge/interface/JetCharge.h
"
12
13
class
JetChargeProducer
:
public
edm::global::EDProducer
<> {
14
public
:
15
typedef
reco::JetFloatAssociation::Container
JetChargeCollection
;
16
17
explicit
JetChargeProducer
(
const
edm::ParameterSet
&
cfg
);
18
void
produce
(
edm::StreamID
,
edm::Event
&,
const
edm::EventSetup
&)
const override
;
19
20
private
:
21
const
edm::EDGetTokenT<reco::JetTracksAssociationCollection>
srcToken_
;
22
const
JetCharge
algo_
;
23
};
JetTracksAssociation.h
EDProducer.h
JetFloatAssociation.h
edm::StreamID
Definition:
StreamID.h:30
Event.h
JetChargeProducer::produce
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
Definition:
JetChargeProducer.cc:8
edm::EDGetTokenT
Definition:
EDGetToken.h:33
Frameworkfwd.h
JetChargeProducer::srcToken_
const edm::EDGetTokenT< reco::JetTracksAssociationCollection > srcToken_
Definition:
JetChargeProducer.h:21
ParameterSet.h
JetChargeProducer::algo_
const JetCharge algo_
Definition:
JetChargeProducer.h:22
JetChargeProducer
Definition:
JetChargeProducer.h:13
edm::EventSetup
Definition:
EventSetup.h:59
Jet.h
edm::global::EDProducer
Definition:
EDProducer.h:32
JetChargeProducer::JetChargeCollection
reco::JetFloatAssociation::Container JetChargeCollection
Definition:
JetChargeProducer.h:15
looper.cfg
cfg
Definition:
looper.py:296
JetChargeProducer::JetChargeProducer
JetChargeProducer(const edm::ParameterSet &cfg)
Definition:
JetChargeProducer.cc:3
edm::AssociationVector
Definition:
AssociationVector.h:67
JetCharge
Definition:
JetCharge.h:18
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::Event
Definition:
Event.h:73
JetCharge.h
Generated for CMSSW Reference Manual by
1.8.14