test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
virtual
~MCFileSource
();
30
31
private
:
32
virtual
bool
setRunAndEventInfo
(
EventID
&,
TimeValue_t
& time,
EventAuxiliary::ExperimentType
& eType);
33
virtual
void
produce
(
Event
&
e
);
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::MCFileSource::MCFileSource
MCFileSource(const ParameterSet &pset, const InputSourceDescription &desc)
Definition:
MCFileSource.cc:23
edm::propagate_const< HepMCFileReader * >
HepMCFileReader
Definition:
HepMCFileReader.h:29
ParameterSet
Definition:
Functions.h:16
TrackValidation_cff.pset
tuple pset
Definition:
TrackValidation_cff.py:374
edm::MCFileSource
Definition:
MCFileSource.h:26
edm::MCFileSource::evt_
edm::propagate_const< HepMC::GenEvent * > evt_
Definition:
MCFileSource.h:37
edm::EventAuxiliary::ExperimentType
ExperimentType
Definition:
EventAuxiliary.h:18
edm::MCFileSource::produce
virtual void produce(Event &e)
Definition:
MCFileSource.cc:52
Event
Definition:
Event.h:16
edm::InputSourceDescription
Definition:
InputSourceDescription.h:20
edm::MCFileSource::setRunAndEventInfo
virtual bool setRunAndEventInfo(EventID &, TimeValue_t &time, EventAuxiliary::ExperimentType &eType)
Definition:
MCFileSource.cc:44
edm::MCFileSource::~MCFileSource
virtual ~MCFileSource()
Definition:
MCFileSource.cc:40
edm::EventID
Definition:
EventID.h:31
edm::MCFileSource::reader_
edm::propagate_const< HepMCFileReader * > reader_
Definition:
MCFileSource.h:36
edm::MCFileSource::useExtendedAscii_
bool useExtendedAscii_
Definition:
MCFileSource.h:38
edm::TimeValue_t
unsigned long long TimeValue_t
Definition:
Timestamp.h:28
edm::MCFileSource::clear
void clear()
alignCSCRings.e
list e
Definition:
alignCSCRings.py:90
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:65
propagate_const.h
Timestamp
edm::ProducerSourceFromFiles
Definition:
ProducerSourceFromFiles.h:17
ProducerSourceFromFiles.h
Generated for CMSSW Reference Manual by
1.8.5