CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
13 
16 
19 
22 
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&);
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(const edm::ParameterSet &)
std::vector< FileHandle > theFileHandle
virtual void produce(edm::Event &, const edm::EventSetup &)