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
12
class
HepMCFileReader
;
13
14
namespace
HepMC{
15
class
GenEvent;
16
}
17
18
namespace
edm {
19
class
Event
;
20
class
EventID;
21
struct
InputSourceDescription;
22
class
ParameterSet
;
23
class
Timestamp
;
24
25
class
MCFileSource
:
public
ProducerSourceFromFiles
{
26
public
:
27
MCFileSource
(
const
ParameterSet
& pset,
const
InputSourceDescription
& desc);
28
virtual
~MCFileSource
();
29
30
private
:
31
virtual
bool
setRunAndEventInfo
(
EventID
&,
TimeValue_t
&
time
,
EventAuxiliary::ExperimentType
& eType);
32
virtual
void
produce
(
Event
&
e
);
33
void
clear
();
34
35
HepMCFileReader
*
reader_
;
36
HepMC::GenEvent *
evt_
;
37
bool
useExtendedAscii_
;
38
};
39
}
40
41
#endif
edm::MCFileSource::MCFileSource
MCFileSource(const ParameterSet &pset, const InputSourceDescription &desc)
Definition:
MCFileSource.cc:23
HepMCFileReader
Definition:
HepMCFileReader.h:28
ParameterSet
Definition:
Functions.h:16
edm::MCFileSource
Definition:
MCFileSource.h:25
edm::EventAuxiliary::ExperimentType
ExperimentType
Definition:
EventAuxiliary.h:18
edm::MCFileSource::produce
virtual void produce(Event &e)
Definition:
MCFileSource.cc:52
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
cond::rpcobgas::time
Definition:
RPCObGasPyWrapper.cc:61
edm::MCFileSource::useExtendedAscii_
bool useExtendedAscii_
Definition:
MCFileSource.h:37
edm::MCFileSource::reader_
HepMCFileReader * reader_
Definition:
MCFileSource.h:35
edm::TimeValue_t
unsigned long long TimeValue_t
Definition:
Timestamp.h:28
edm::MCFileSource::clear
void clear()
edm::MCFileSource::evt_
HepMC::GenEvent * evt_
Definition:
MCFileSource.h:36
Event
alignCSCRings.e
list e
Definition:
alignCSCRings.py:90
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:61
Timestamp
edm::ProducerSourceFromFiles
Definition:
ProducerSourceFromFiles.h:17
ProducerSourceFromFiles.h
Generated for CMSSW Reference Manual by
1.8.5