Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
();
19
20
virtual
void
produce
(
edm::Event
&,
const
edm::EventSetup
&);
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
TopInitSubset::TopInitSubset
TopInitSubset(const edm::ParameterSet &)
Definition:
TopInitSubset.cc:3
GenParticle.h
Event.h
edm::EDGetTokenT< reco::GenParticleCollection >
Frameworkfwd.h
edm::EDProducer
Definition:
EDProducer.h:35
ParameterSet.h
TopInitSubset::produce
virtual void produce(edm::Event &, const edm::EventSetup &)
Definition:
TopInitSubset.cc:14
TopInitSubset::fillOutput
void fillOutput(const reco::GenParticleCollection &, reco::GenParticleCollection &)
Definition:
TopInitSubset.cc:28
TopInitSubset::~TopInitSubset
~TopInitSubset()
Definition:
TopInitSubset.cc:9
edm::EventSetup
Definition:
EventSetup.h:44
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:61
TopInitSubset
Definition:
TopInitSubset.h:13
TopInitID::status
static const int status
Definition:
TopInitSubset.h:9
Generated for CMSSW Reference Manual by
1.8.5