Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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/ExternalInputSource.h
"
11
12
class
HepMCFileReader
;
13
14
namespace
HepMC{
15
class
GenEvent;
16
}
17
18
namespace
edm {
19
class
Event
;
20
struct
InputSourceDescription;
21
class
ParameterSet
;
22
23
class
MCFileSource
:
public
ExternalInputSource
{
24
public
:
25
MCFileSource
(
const
ParameterSet
& pset,
const
InputSourceDescription
& desc);
26
virtual
~MCFileSource
();
27
28
private
:
29
virtual
bool
produce
(
Event
&
e
);
30
void
clear
();
31
32
HepMCFileReader
*
reader_
;
33
HepMC::GenEvent *
evt_
;
34
bool
useExtendedAscii_
;
35
};
36
}
37
38
#endif
edm::MCFileSource::MCFileSource
MCFileSource(const ParameterSet &pset, const InputSourceDescription &desc)
Definition:
MCFileSource.cc:30
HepMCFileReader
Definition:
HepMCFileReader.h:31
ParameterSet
Definition:
Functions.h:16
edm::MCFileSource
Definition:
MCFileSource.h:23
ExternalInputSource.h
edm::InputSourceDescription
Definition:
InputSourceDescription.h:17
edm::MCFileSource::produce
virtual bool produce(Event &e)
Definition:
MCFileSource.cc:52
edm::MCFileSource::~MCFileSource
virtual ~MCFileSource()
Definition:
MCFileSource.cc:47
edm::MCFileSource::useExtendedAscii_
bool useExtendedAscii_
Definition:
MCFileSource.h:34
edm::MCFileSource::reader_
HepMCFileReader * reader_
Definition:
MCFileSource.h:32
edm::MCFileSource::clear
void clear()
edm::MCFileSource::evt_
HepMC::GenEvent * evt_
Definition:
MCFileSource.h:33
Event
alignCSCRings.e
list e
Definition:
alignCSCRings.py:90
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::ExternalInputSource
Definition:
ExternalInputSource.h:18
edm::Event
Definition:
Event.h:50
Generated for CMSSW Reference Manual by
1.8.5