SimTransport
HectorProducer
interface
HectorProducer.h
Go to the documentation of this file.
1
#ifndef SimTransport_HectorProducer_H
2
#define SimTransport_HectorProducer_H
3
4
#include "
FWCore/Framework/interface/Event.h
"
5
#include "
FWCore/Framework/interface/one/EDProducer.h
"
6
7
#include "
FWCore/Framework/interface/EventSetup.h
"
8
#include "
FWCore/Framework/interface/MakerMacros.h
"
9
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
10
#include "
FWCore/Utilities/interface/EDGetToken.h
"
11
12
namespace
edm
{
13
class
ParameterSet
;
14
class
Event
;
15
class
EventSetup
;
16
class
ConsumesCollector;
17
class
HepMCProduct
;
18
}
// namespace edm
19
20
class
HectorManager;
21
22
class
Hector
;
23
24
namespace
HepMC
{
25
class
GenEvent;
26
}
27
class
HectorProducer
:
public
edm::one::EDProducer
<edm::one::SharedResources, edm::one::WatchRuns> {
28
public
:
29
explicit
HectorProducer
(
edm::ParameterSet
const
&
p
);
30
~HectorProducer
()
override
;
31
void
beginRun
(
const
edm::Run
&
r
,
const
edm::EventSetup
&
c
)
override
;
32
void
endRun
(
const
edm::Run
&
r
,
const
edm::EventSetup
&
c
)
override
;
33
void
produce
(
edm::Event
&
e
,
const
edm::EventSetup
&
c
)
override
;
34
35
private
:
36
HepMC::GenEvent
*
evt_
;
37
Hector
*
m_Hector
;
38
39
edm::EDGetTokenT<edm::HepMCProduct>
m_HepMC
;
40
bool
m_verbosity
;
41
bool
m_FP420Transport
;
42
bool
m_ZDCTransport
;
43
int
m_evtAnalysed
;
44
};
45
46
#endif
EDProducer.h
HectorProducer::produce
void produce(edm::Event &e, const edm::EventSetup &c) override
Definition:
HectorProducer.cc:64
edm::Run
Definition:
Run.h:45
edm::EDGetTokenT< edm::HepMCProduct >
edm
HLT enums.
Definition:
AlignableModifier.h:19
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
HectorProducer::m_evtAnalysed
int m_evtAnalysed
just to count events that have been analysed
Definition:
HectorProducer.h:43
HectorProducer::evt_
HepMC::GenEvent * evt_
Definition:
HectorProducer.h:36
HectorProducer::m_verbosity
bool m_verbosity
Definition:
HectorProducer.h:40
edm::one::EDProducer
Definition:
EDProducer.h:30
HepMC::GenEvent
Definition:
hepmc_rootio.cc:9
HectorProducer::m_HepMC
edm::EDGetTokenT< edm::HepMCProduct > m_HepMC
Definition:
HectorProducer.h:39
MakerMacros.h
HectorProducer::m_Hector
Hector * m_Hector
Definition:
HectorProducer.h:37
Event
Hector
Definition:
Hector.h:40
EDGetToken.h
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
ParameterSet
Definition:
Functions.h:16
HectorProducer::~HectorProducer
~HectorProducer() override
Definition:
HectorProducer.cc:58
edm::EventSetup
Definition:
EventSetup.h:58
alignCSCRings.r
r
Definition:
alignCSCRings.py:93
HectorProducer
Definition:
HectorProducer.h:27
HectorProducer::endRun
void endRun(const edm::Run &r, const edm::EventSetup &c) override
Definition:
HectorProducer.cc:62
HectorProducer::m_ZDCTransport
bool m_ZDCTransport
Definition:
HectorProducer.h:42
HepMC
Definition:
GenParticle.h:15
HectorProducer::beginRun
void beginRun(const edm::Run &r, const edm::EventSetup &c) override
Definition:
HectorProducer.cc:60
EventSetup.h
HectorProducer::m_FP420Transport
bool m_FP420Transport
Definition:
HectorProducer.h:41
HepMCProduct
EventSetup
ParameterSet.h
c
auto & c
Definition:
CAHitNtupletGeneratorKernelsImpl.h:46
edm::Event
Definition:
Event.h:73
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
HectorProducer::HectorProducer
HectorProducer(edm::ParameterSet const &p)
Definition:
HectorProducer.cc:35
Generated for CMSSW Reference Manual by
1.8.16