Main Page
Namespaces
Classes
Package Documentation
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
}
12
13
class
TopInitSubset
:
public
edm::EDProducer
{
14
15
public
:
16
17
explicit
TopInitSubset
(
const
edm::ParameterSet
&);
18
~
TopInitSubset
()
override
;
19
20
void
produce(
edm::Event
&,
const
edm::EventSetup
&)
override
;
21
void
fillOutput(
const
reco::GenParticleCollection
&,
reco::GenParticleCollection
&);
22
23
private
:
24
25
edm::EDGetTokenT<reco::GenParticleCollection>
srcToken_
;
26
};
reco::GenParticleCollection
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
Definition:
GenParticleFwd.h:10
GenParticle.h
Event.h
edm::EDGetTokenT< reco::GenParticleCollection >
Frameworkfwd.h
edm::EDProducer
Definition:
EDProducer.h:35
ParameterSet.h
edm::EventSetup
Definition:
EventSetup.h:48
TopInitSubset::srcToken_
edm::EDGetTokenT< reco::GenParticleCollection > srcToken_
Definition:
TopInitSubset.h:25
EDProducer.h
InputTag.h
TopInitID::tID
static const int tID
Definition:
TopInitSubset.h:10
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:69
TopInitID
Definition:
TopInitSubset.h:8
TopInitSubset
Definition:
TopInitSubset.h:13
TopInitID::status
static const int status
Definition:
TopInitSubset.h:9
Generated for CMSSW Reference Manual by
1.8.11