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
};
edm::StreamID
Definition:
StreamID.h:30
JetTracksAssociation.h
JetChargeProducer::produce
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
Definition:
JetChargeProducer.cc:8
edm::EDGetTokenT
Definition:
EDGetToken.h:33
JetFloatAssociation.h
JetChargeProducer::srcToken_
const edm::EDGetTokenT< reco::JetTracksAssociationCollection > srcToken_
Definition:
JetChargeProducer.h:21
Jet.h
JetChargeProducer::algo_
const JetCharge algo_
Definition:
JetChargeProducer.h:22
JetChargeProducer::JetChargeProducer
JetChargeProducer(const edm::ParameterSet &cfg)
Definition:
JetChargeProducer.cc:3
JetChargeProducer
Definition:
JetChargeProducer.h:13
JetChargeProducer::JetChargeCollection
reco::JetFloatAssociation::Container JetChargeCollection
Definition:
JetChargeProducer.h:15
edm::global::EDProducer
Definition:
EDProducer.h:32
edm::AssociationVector
Definition:
AssociationVector.h:67
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
JetCharge
Definition:
JetCharge.h:18
JetCharge.h
edm::EventSetup
Definition:
EventSetup.h:58
InputTag.h
looper.cfg
cfg
Definition:
looper.py:297
Frameworkfwd.h
ParameterSet.h
EDProducer.h
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.16