Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
IOMC
NtupleConverter
interface
H2RootNtplSource.h
Go to the documentation of this file.
1
#ifndef Input_H2RootNtpl_h
2
#define Input_H2RootNtplSource_h
3
11
#include "
FWCore/Sources/interface/ExternalInputSource.h
"
12
#include "
IOMC/Input/interface/HepMCFileReader.h
"
13
#include <map>
14
#include <string>
15
class
Ntuple2HepMCFiller
;
16
17
namespace
edm
18
{
19
class
H2RootNtplSource
:
public
ExternalInputSource
{
20
public
:
21
H2RootNtplSource
(
const
ParameterSet
&,
const
InputSourceDescription
& );
22
virtual
~H2RootNtplSource
();
23
24
private
:
25
void
clear
();
26
virtual
bool
produce
(
Event
&
e
);
27
HepMC::GenEvent *
evt
;
28
EventID
nextID_
;
29
std::string
filename_
;
30
public
:
31
unsigned
int
firstEvent_
;
32
Ntuple2HepMCFiller
*
reader_
;
33
34
};
35
}
36
37
#endif
HepMCFileReader.h
edm::H2RootNtplSource
Definition:
H2RootNtplSource.h:19
Ntuple2HepMCFiller
Definition:
Ntuple2HepMCFiller.h:19
edm::H2RootNtplSource::nextID_
EventID nextID_
Definition:
H2RootNtplSource.h:28
edm::H2RootNtplSource::firstEvent_
unsigned int firstEvent_
Definition:
H2RootNtplSource.h:31
edm::H2RootNtplSource::produce
virtual bool produce(Event &e)
Definition:
H2RootNtplSource.cc:52
edm::H2RootNtplSource::~H2RootNtplSource
virtual ~H2RootNtplSource()
Definition:
H2RootNtplSource.cc:45
ExternalInputSource.h
edm::InputSourceDescription
Definition:
InputSourceDescription.h:17
edm::EventID
Definition:
EventID.h:34
edm::H2RootNtplSource::H2RootNtplSource
H2RootNtplSource(const ParameterSet &, const InputSourceDescription &)
Definition:
H2RootNtplSource.cc:19
edm::H2RootNtplSource::filename_
std::string filename_
Definition:
H2RootNtplSource.h:29
alignCSCRings.e
list e
Definition:
alignCSCRings.py:90
edm::H2RootNtplSource::clear
void clear()
Definition:
H2RootNtplSource.cc:49
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::ExternalInputSource
Definition:
ExternalInputSource.h:18
edm::Event
Definition:
Event.h:50
edm::H2RootNtplSource::evt
HepMC::GenEvent * evt
Definition:
H2RootNtplSource.h:27
edm::H2RootNtplSource::reader_
Ntuple2HepMCFiller * reader_
Definition:
H2RootNtplSource.h:32
Generated for CMSSW Reference Manual by
1.8.5