IOMC
Input
interface
MCFileSource.h
Go to the documentation of this file.
1
#ifndef IOMC_Input_MCFileSource_h
2
#define IOMC_Input_MCFileSource_h
3
10
#include "
FWCore/Sources/interface/ProducerSourceFromFiles.h
"
11
#include "
FWCore/Utilities/interface/propagate_const.h
"
12
13
class
HepMCFileReader
;
14
15
namespace
HepMC
{
16
class
GenEvent;
17
}
18
19
namespace
edm
{
20
class
Event
;
21
class
EventID;
22
struct
InputSourceDescription;
23
class
ParameterSet
;
24
class
Timestamp
;
25
26
class
MCFileSource
:
public
ProducerSourceFromFiles
{
27
public
:
28
MCFileSource
(
const
ParameterSet
&
pset
,
const
InputSourceDescription
&
desc
);
29
~MCFileSource
()
override
;
30
31
private
:
32
bool
setRunAndEventInfo
(
EventID
&,
TimeValue_t
&
time
,
EventAuxiliary::ExperimentType
& eType)
override
;
33
void
produce
(
Event
&
e
)
override
;
34
void
clear
();
35
36
edm::propagate_const<HepMCFileReader*>
reader_
;
37
edm::propagate_const<HepMC::GenEvent*>
evt_
;
38
bool
useExtendedAscii_
;
39
};
40
}
// namespace edm
41
42
#endif
edm::MCFileSource::MCFileSource
MCFileSource(const ParameterSet &pset, const InputSourceDescription &desc)
Definition:
MCFileSource.cc:23
edm::propagate_const
Definition:
propagate_const.h:32
HepMCFileReader
Definition:
HepMCFileReader.h:27
ParameterSet
Definition:
Functions.h:16
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
edm::MCFileSource
Definition:
MCFileSource.h:26
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
edm::MCFileSource::evt_
edm::propagate_const< HepMC::GenEvent * > evt_
Definition:
MCFileSource.h:37
edm::EventAuxiliary::ExperimentType
ExperimentType
Definition:
EventAuxiliary.h:18
edm::MCFileSource::~MCFileSource
~MCFileSource() override
Definition:
MCFileSource.cc:38
edm::InputSourceDescription
Definition:
InputSourceDescription.h:21
edm::EventID
Definition:
EventID.h:31
edm::MCFileSource::reader_
edm::propagate_const< HepMCFileReader * > reader_
Definition:
MCFileSource.h:36
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:251
edm::MCFileSource::setRunAndEventInfo
bool setRunAndEventInfo(EventID &, TimeValue_t &time, EventAuxiliary::ExperimentType &eType) override
Definition:
MCFileSource.cc:41
edm::MCFileSource::useExtendedAscii_
bool useExtendedAscii_
Definition:
MCFileSource.h:38
edm::TimeValue_t
unsigned long long TimeValue_t
Definition:
Timestamp.h:21
edm::MCFileSource::clear
void clear()
protons_cff.time
time
Definition:
protons_cff.py:36
Event
edm::MCFileSource::produce
void produce(Event &e) override
Definition:
MCFileSource.cc:49
edm
HLT enums.
Definition:
AlignableModifier.h:19
HepMC
Definition:
GenParticle.h:15
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::Event
Definition:
Event.h:73
propagate_const.h
Timestamp
edm::ProducerSourceFromFiles
Definition:
ProducerSourceFromFiles.h:17
ProducerSourceFromFiles.h
Generated for CMSSW Reference Manual by
1.8.14