Main Page
Namespaces
Classes
Package Documentation
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
}
41
42
#endif
edm::propagate_const< HepMCFileReader * >
HepMCFileReader
Definition:
HepMCFileReader.h:29
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::InputSourceDescription
Definition:
InputSourceDescription.h:20
edm::EventID
Definition:
EventID.h:31
hitfit::clear
void clear(CLHEP::HepGenMatrix &m)
Helper function: Reset all elements of a matrix to 0.
Definition:
matutil.cc:167
edm::MCFileSource::reader_
edm::propagate_const< HepMCFileReader * > reader_
Definition:
MCFileSource.h:36
edm::MCFileSource::useExtendedAscii_
bool useExtendedAscii_
Definition:
MCFileSource.h:38
ntuplemaker.time
time
Definition:
ntuplemaker.py:309
edm::TimeValue_t
unsigned long long TimeValue_t
Definition:
Timestamp.h:28
Event
edm
HLT enums.
Definition:
AlignableModifier.h:17
HepMC
Definition:
GenParticle.h:15
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:70
propagate_const.h
Timestamp
edm::ProducerSourceFromFiles
Definition:
ProducerSourceFromFiles.h:17
ProducerSourceFromFiles.h
Generated for CMSSW Reference Manual by
1.8.11