G4StationSim/TankValidation.h
Go to the documentation of this file.
1 #ifndef _G4StationSim_TankValidation_h_
2 #define _G4StationSim_TankValidation_h_
3 
4 #include <sevt/StationConstants.h>
5 #include <fwk/VModule.h>
6 #include <fstream>
7 
8 
9 namespace TankValidationNS {
10 
22  class TankValidation : public fwk::VModule {
23 
24  public:
25  virtual ~TankValidation() = default;
26 
27  fwk::VModule::ResultFlag Init() override;
28  fwk::VModule::ResultFlag Run(evt::Event& event) override;
30 
31  private:
32  std::ofstream fOutput;
33 
34  std::string fRefFile;
35 
36  REGISTER_MODULE("TankValidation", TankValidation);
37 
38  };
39 
40 }
41 
42 
43 #endif
REGISTER_MODULE("TankValidation", TankValidation)
Module interface.
Definition: VModule.h:53
fwk::VModule::ResultFlag Finish() override
Finish: invoked at end of the run (NOT end of the event)
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
Validation tests for G4 tank simulation Shoots single particles in various directions and checks the ...
virtual ~TankValidation()=default
fwk::VModule::ResultFlag Run(evt::Event &event) override
Run: invoked once per event.
fwk::VModule::ResultFlag Init() override
Initialize: invoked at beginning of run (NOT beginning of event)

, generated on Tue Sep 26 2023.