DenseValidation.h
Go to the documentation of this file.
1 #ifndef _ValidationTests_DenseValidation_h_
2 #define _ValidationTests_DenseValidation_h_
3 
4 #include <fstream>
5 #include <sevt/StationConstants.h>
6 #include <fwk/VModule.h>
7 
8 
9 namespace DenseValidationNS {
10 
22  class DenseValidation : public fwk::VModule {
23 
24  public:
25  virtual ~DenseValidation() = default;
26 
27  fwk::VModule::ResultFlag Init() override;
28  fwk::VModule::ResultFlag Run(evt::Event& event) override;
30 
31  private:
32  std::string fOutputName;
33  std::ofstream* fOutput = nullptr;
34 
35  std::string fRefFileName;
36 
37  REGISTER_MODULE("DenseValidation", DenseValidation);
38 
39  };
40 
41 }
42 
43 
44 #endif
fwk::VModule::ResultFlag Run(evt::Event &event) override
Run: invoked once per event.
fwk::VModule::ResultFlag Finish() override
Finish: invoked at end of the run (NOT end of the event)
Checks that the dense array is created properly and survives through reconstruction.
fwk::VModule::ResultFlag Init() override
Initialize: invoked at beginning of run (NOT beginning of event)
Module interface.
Definition: VModule.h:53
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
REGISTER_MODULE("DenseValidation", DenseValidation)

, generated on Tue Sep 26 2023.