ReReconstruction/Validation.h
Go to the documentation of this file.
1 #ifndef _ReReconstruction_Validation_h_
2 #define _ReReconstruction_Validation_h_
3 
4 #include <fstream>
5 #include <sevt/StationConstants.h>
6 #include <fwk/VModule.h>
7 
8 
9 namespace ValidationNS {
10 
20  class Validation : public fwk::VModule {
21 
22  public:
23  virtual ~Validation() = default;
24 
28 
29  private:
30  std::stringstream* fResults = nullptr;
31 
32  std::string fRefFileName;
33 
34  enum Mode {
35  eCreate = 0,
36  eCompare
37  };
38 
40 
41  REGISTER_MODULE("Validation", Validation);
42 
43  };
44 
45 }
46 
47 
48 #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.