TopQuarkAnalysis
TopEventProducers
interface
TopInitSubset.h
Go to the documentation of this file.
1
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
2
#include "
FWCore/Framework/interface/EDProducer.h
"
3
#include "
FWCore/Framework/interface/Event.h
"
4
#include "
FWCore/Utilities/interface/InputTag.h
"
5
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
6
#include "
DataFormats/HepMCCandidate/interface/GenParticle.h
"
7
8
namespace
TopInitID
{
9
static
const
int
status
= 3;
10
static
const
int
tID
= 6;
11
}
// namespace TopInitID
12
13
class
TopInitSubset
:
public
edm::EDProducer
{
14
public
:
15
explicit
TopInitSubset
(
const
edm::ParameterSet
&);
16
~TopInitSubset
()
override
;
17
18
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
19
void
fillOutput
(
const
reco::GenParticleCollection
&,
reco::GenParticleCollection
&);
20
21
private
:
22
edm::EDGetTokenT<reco::GenParticleCollection>
srcToken_
;
23
};
EDProducer.h
TopInitSubset::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
TopInitSubset.cc:10
TopInitSubset::srcToken_
edm::EDGetTokenT< reco::GenParticleCollection > srcToken_
Definition:
TopInitSubset.h:22
edm::EDGetTokenT< reco::GenParticleCollection >
TopInitID
Definition:
TopInitSubset.h:8
reco::GenParticleCollection
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
Definition:
GenParticleFwd.h:13
GenParticle.h
TopInitID::status
static const int status
Definition:
TopInitSubset.h:9
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
TopInitSubset::TopInitSubset
TopInitSubset(const edm::ParameterSet &)
Definition:
TopInitSubset.cc:3
TopInitSubset
Definition:
TopInitSubset.h:13
edm::EventSetup
Definition:
EventSetup.h:58
InputTag.h
Frameworkfwd.h
edm::EDProducer
Definition:
EDProducer.h:35
TopInitID::tID
static const int tID
Definition:
TopInitSubset.h:10
ParameterSet.h
TopInitSubset::fillOutput
void fillOutput(const reco::GenParticleCollection &, reco::GenParticleCollection &)
Definition:
TopInitSubset.cc:23
edm::Event
Definition:
Event.h:73
TopInitSubset::~TopInitSubset
~TopInitSubset() override
Definition:
TopInitSubset.cc:8
Generated for CMSSW Reference Manual by
1.8.16