PhysicsTools
JetMCAlgos
plugins
TauGenJetProducer.h
Go to the documentation of this file.
1
#ifndef PhysicsTools_JetMCAlgos_TauGenJetProducer_
2
#define PhysicsTools_JetMCAlgos_TauGenJetProducer_
3
4
// system include files
5
#include <memory>
6
#include <string>
7
8
// user include files
9
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
10
#include "
FWCore/Framework/interface/global/EDProducer.h
"
11
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
12
13
#include "
FWCore/Framework/interface/Event.h
"
14
#include "
FWCore/Framework/interface/MakerMacros.h
"
15
16
#include "
DataFormats/HepMCCandidate/interface/GenParticle.h
"
17
24
class
TauGenJetProducer
:
public
edm::global::EDProducer
<> {
25
public
:
26
explicit
TauGenJetProducer
(
const
edm::ParameterSet
&);
27
28
~TauGenJetProducer
()
override
;
29
30
void
produce
(
edm::StreamID
,
edm::Event
&,
const
edm::EventSetup
&)
const override
;
31
32
private
:
34
const
edm::InputTag
inputTagGenParticles_
;
35
const
edm::EDGetTokenT<reco::GenParticleCollection>
tokenGenParticles_
;
36
38
const
bool
includeNeutrinos_
;
39
41
const
bool
verbose_
;
42
};
43
44
#endif
TauGenJetProducer::TauGenJetProducer
TauGenJetProducer(const edm::ParameterSet &)
Definition:
TauGenJetProducer.cc:19
edm::StreamID
Definition:
StreamID.h:30
TauGenJetProducer
builds a GenJet from the visible daughters of each status 2 tau in the event.
Definition:
TauGenJetProducer.h:24
edm::EDGetTokenT< reco::GenParticleCollection >
TauGenJetProducer::produce
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
Definition:
TauGenJetProducer.cc:29
TauGenJetProducer::inputTagGenParticles_
const edm::InputTag inputTagGenParticles_
Input PFCandidates.
Definition:
TauGenJetProducer.h:34
TauGenJetProducer::tokenGenParticles_
const edm::EDGetTokenT< reco::GenParticleCollection > tokenGenParticles_
Definition:
TauGenJetProducer.h:35
GenParticle.h
MakerMacros.h
TauGenJetProducer::verbose_
const bool verbose_
verbose ?
Definition:
TauGenJetProducer.h:41
TauGenJetProducer::includeNeutrinos_
const bool includeNeutrinos_
if yes, neutrinos will be included, for debug purposes
Definition:
TauGenJetProducer.h:38
edm::global::EDProducer
Definition:
EDProducer.h:32
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
edm::EventSetup
Definition:
EventSetup.h:57
TauGenJetProducer::~TauGenJetProducer
~TauGenJetProducer() override
Definition:
TauGenJetProducer.cc:27
Frameworkfwd.h
ParameterSet.h
EDProducer.h
edm::Event
Definition:
Event.h:73
edm::InputTag
Definition:
InputTag.h:15
Generated for CMSSW Reference Manual by
1.8.16