Diana Software
MRunDataLoader.hh
Go to the documentation of this file.
1 
70 #ifndef _M_RUNDATAFILLER_H_
71 #define _M_RUNDATAFILLER_H_
72 
73 #include <string>
74 #include "QModule.hh"
75 #include "QRunData.hh"
76 #include <set>
77 
78 class MRunDataLoader : public Diana::QModule {
79 
80  public:
82 
83  virtual ~MRunDataLoader();
84 
85  // Init method is called before event loop
86  virtual void Init(Diana::QEvent& ev);
87 
88  // Doit method is called for each event, getting the event as argument
89  virtual void Do( Diana::QEvent& ev);
90 
91  // Done method is called after event loop
92  virtual void Done();
93 
94  protected:
95  std::string fRunDataInput;
96  std::string fRunDataOutputFile;
97  std::string fRunDataOutputFile2;
98  std::string fRunsInput;
99  std::string fRunDataOwner;
101  int fThisRun;
102  bool fIsOnline;
105 };
106 
107 #endif
Module to load commonly used run and detector information.
std::string fRunsInput
virtual void Done()
virtual void Do(Diana::QEvent &ev)
std::string fRunDataOwner
virtual ~MRunDataLoader()
std::string fRunDataOutputFile
std::string fRunDataOutputFile2
virtual void Init(Diana::QEvent &ev)
std::string fRunDataInput
Basic run based info.
Definition: QRunData.hh:20