RdSdSimCheck/Validation.h
Go to the documentation of this file.
1 #ifndef _RdSdSimCheck_Validation_h_
2 #define _RdSdSimCheck_Validation_h_
3 
4 #include <sevt/StationConstants.h>
5 #include <fwk/VModule.h>
6 #include <fstream>
7 
8 
9 namespace ValidationNS {
10 
20  class Validation : public fwk::VModule {
21 
22  public:
23  virtual ~Validation() { delete fResults; }
24 
25  fwk::VModule::ResultFlag Init() override;
26  fwk::VModule::ResultFlag Run(evt::Event& event) override;
28 
29  private:
30  std::ofstream* fResults = nullptr;
31 
32  std::string fRefFileName;
33 
34  REGISTER_MODULE("Validation", Validation);
35 
36  };
37 
38 }
39 
40 
41 #endif
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
REGISTER_MODULE("Validation", Validation)
Confirms that sim, rec and re-reconstruction works.
Module interface.
Definition: VModule.h:53
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)

, generated on Tue Sep 26 2023.