FastSimulation
EventProducer
interface
FamosProducer.h
Go to the documentation of this file.
1
#ifndef FastSimulation_EventProducer_FamosProducer_H
2
#define FastSimulation_EventProducer_FamosProducer_H
3
4
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
5
6
#include "
SimDataFormats/GeneratorProducts/interface/HepMCProduct.h
"
7
8
class
FamosManager
;
9
class
ParameterSet
;
10
class
Event
;
11
class
EventSetup
;
12
13
namespace
HepMC
{
14
class
GenEvent;
15
}
16
17
class
FamosProducer
:
public
edm::stream::EDProducer
<> {
18
public
:
19
explicit
FamosProducer
(
edm::ParameterSet
const
&
p
);
20
~FamosProducer
()
override
;
21
void
beginRun
(
edm::Run
const
&
run
,
const
edm::EventSetup
& es)
override
;
22
void
produce
(
edm::Event
&
e
,
const
edm::EventSetup
&
c
)
override
;
23
24
private
:
25
FamosManager
*
famosManager_
;
26
HepMC::GenEvent
*
evt_
;
27
bool
simulateMuons
;
28
29
// token for hepmc from signal event
30
edm::EDGetTokenT<edm::HepMCProduct>
sourceToken
;
31
};
32
33
#endif
FamosProducer::beginRun
void beginRun(edm::Run const &run, const edm::EventSetup &es) override
Definition:
FamosProducer.cc:56
FamosProducer::FamosProducer
FamosProducer(edm::ParameterSet const &p)
Definition:
FamosProducer.cc:32
FamosProducer::simulateMuons
bool simulateMuons
Definition:
FamosProducer.h:27
FamosProducer::produce
void produce(edm::Event &e, const edm::EventSetup &c) override
Definition:
FamosProducer.cc:60
edm::Run
Definition:
Run.h:45
edm::EDGetTokenT< edm::HepMCProduct >
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
FamosProducer::sourceToken
edm::EDGetTokenT< edm::HepMCProduct > sourceToken
Definition:
FamosProducer.h:30
FamosProducer
Definition:
FamosProducer.h:17
EDProducer.h
HepMC::GenEvent
Definition:
hepmc_rootio.cc:9
FamosProducer::evt_
HepMC::GenEvent * evt_
Definition:
FamosProducer.h:26
FamosProducer::~FamosProducer
~FamosProducer() override
Definition:
FamosProducer.cc:54
Event
edm::ParameterSet
Definition:
ParameterSet.h:47
ParameterSet
Definition:
Functions.h:16
edm::stream::EDProducer
Definition:
EDProducer.h:38
FamosProducer::famosManager_
FamosManager * famosManager_
Definition:
FamosProducer.h:25
FamosManager
Definition:
FamosManager.h:29
edm::EventSetup
Definition:
EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
writedatasetfile.run
run
Definition:
writedatasetfile.py:27
HepMC
Definition:
GenParticle.h:15
EventSetup
HepMCProduct.h
edm::Event
Definition:
Event.h:73
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16