Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
SimG4CMS
ShowerLibraryProducer
interface
HcalForwardLibWriter.h
Go to the documentation of this file.
1
#ifndef SimG4CMS_ShowerLibraryProducer_HcalForwardLibWriter_h
2
#define SimG4CMS_ShowerLibraryProducer_HcalForwardLibWriter_h
3
4
#include <memory>
5
#include <string>
6
#include <fstream>
7
#include <utility>
8
#include <vector>
9
10
11
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
12
#include "
FWCore/Framework/interface/EDProducer.h
"
13
14
#include "
FWCore/Framework/interface/Event.h
"
15
#include "
FWCore/Framework/interface/MakerMacros.h
"
16
17
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
18
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
19
20
#include "
SimDataFormats/CaloHit/interface/HFShowerPhoton.h
"
21
#include "
SimDataFormats/CaloHit/interface/HFShowerLibraryEventInfo.h
"
22
23
class
HcalForwardLibWriter
:
public
edm::EDProducer
{
24
25
public
:
26
27
struct
FileHandle
{
28
std::string
name
;
29
std::string
id
;
30
int
momentum
;
31
};
32
33
explicit
HcalForwardLibWriter
(
const
edm::ParameterSet
&);
34
~HcalForwardLibWriter
();
35
36
private
:
37
virtual
void
beginJob
() ;
38
virtual
void
produce
(
edm::Event
&,
const
edm::EventSetup
&);
39
virtual
void
endJob
() ;
40
//void fillEvent(HFShowerPhotonCollection& em, HFShowerPhotonCollection& had);
41
int
readUserData
();
42
43
std::string
theDataFile
;
44
std::vector<FileHandle>
theFileHandle
;
45
46
};
47
#endif
HcalForwardLibWriter::FileHandle::momentum
int momentum
Definition:
HcalForwardLibWriter.h:30
HcalForwardLibWriter::readUserData
int readUserData()
Definition:
HcalForwardLibWriter.cc:161
MessageLogger.h
HcalForwardLibWriter::theDataFile
std::string theDataFile
Definition:
HcalForwardLibWriter.h:43
Event.h
MakerMacros.h
HcalForwardLibWriter::beginJob
virtual void beginJob()
Definition:
HcalForwardLibWriter.cc:101
Frameworkfwd.h
HcalForwardLibWriter::FileHandle
Definition:
HcalForwardLibWriter.h:27
edm::EDProducer
Definition:
EDProducer.h:21
HcalForwardLibWriter::FileHandle::name
std::string name
Definition:
HcalForwardLibWriter.h:28
ParameterSet.h
HcalForwardLibWriter::endJob
virtual void endJob()
Definition:
HcalForwardLibWriter.cc:159
HFShowerLibraryEventInfo.h
HcalForwardLibWriter::~HcalForwardLibWriter
~HcalForwardLibWriter()
Definition:
HcalForwardLibWriter.cc:20
edm::EventSetup
Definition:
EventSetup.h:44
EDProducer.h
HcalForwardLibWriter::HcalForwardLibWriter
HcalForwardLibWriter(const edm::ParameterSet &)
Definition:
HcalForwardLibWriter.cc:6
HFShowerPhoton.h
HcalForwardLibWriter::theFileHandle
std::vector< FileHandle > theFileHandle
Definition:
HcalForwardLibWriter.h:44
HcalForwardLibWriter::produce
virtual void produce(edm::Event &, const edm::EventSetup &)
Definition:
HcalForwardLibWriter.cc:24
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::Event
Definition:
Event.h:50
HcalForwardLibWriter::FileHandle::id
std::string id
Definition:
HcalForwardLibWriter.h:29
HcalForwardLibWriter
Definition:
HcalForwardLibWriter.h:23
Generated for CMSSW Reference Manual by
1.8.5