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() override
Definition:
MCFileSource.cc:38
Timestamp
edm::MCFileSource::MCFileSource
MCFileSource(const ParameterSet &pset, const InputSourceDescription &desc)
Definition:
MCFileSource.cc:23
propagate_const.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::InputSourceDescription
Definition:
InputSourceDescription.h:21
protons_cff.time
time
Definition:
protons_cff.py:35
edm::MCFileSource
Definition:
MCFileSource.h:26
edm::propagate_const< HepMCFileReader * >
edm::MCFileSource::reader_
edm::propagate_const< HepMCFileReader * > reader_
Definition:
MCFileSource.h:36
Event
edm::ParameterSet
Definition:
ParameterSet.h:47
ParameterSet
Definition:
Functions.h:16
edm::MCFileSource::useExtendedAscii_
bool useExtendedAscii_
Definition:
MCFileSource.h:38
edm::MCFileSource::produce
void produce(Event &e) override
Definition:
MCFileSource.cc:49
edm::MCFileSource::clear
void clear()
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:251
edm::ProducerSourceFromFiles
Definition:
ProducerSourceFromFiles.h:17
edm::MCFileSource::setRunAndEventInfo
bool setRunAndEventInfo(EventID &, TimeValue_t &time, EventAuxiliary::ExperimentType &eType) override
Definition:
MCFileSource.cc:41
HepMC
Definition:
GenParticle.h:15
edm::EventAuxiliary::ExperimentType
ExperimentType
Definition:
EventAuxiliary.h:18
edm::EventID
Definition:
EventID.h:31
edm::Event
Definition:
Event.h:73
HepMCFileReader
Definition:
HepMCFileReader.h:27
ProducerSourceFromFiles.h
edm::TimeValue_t
unsigned long long TimeValue_t
Definition:
Timestamp.h:28
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
edm::MCFileSource::evt_
edm::propagate_const< HepMC::GenEvent * > evt_
Definition:
MCFileSource.h:37
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16