ClearParticleLists.h
Go to the documentation of this file.
1 #ifndef _ClearParticleLists_ClearParticleLists_h_
2 #define _ClearParticleLists_ClearParticleLists_h_
3 
4 #include <fwk/VModule.h>
5 
6 namespace evt {
7  class Event;
8 }
9 
10 
11 namespace ClearParticleLists {
12 
26 
27  public:
28  virtual ~ClearParticleLists() = default;
29 
30  fwk::VModule::ResultFlag Init() override;
31  fwk::VModule::ResultFlag Run(evt::Event& event) override;
32  fwk::VModule::ResultFlag Finish() override { return eSuccess; }
33 
34  private:
35  bool fClearSEvent = false;
36  bool fClearMEvent = false;
37 
38  REGISTER_MODULE("ClearParticleLists", ClearParticleLists);
39 
40  };
41 
42 }
43 
44 
45 #endif
fwk::VModule::ResultFlag Finish() override
Finish: invoked at end of the run (NOT end of the event)
Report success to RunController.
Definition: VModule.h:62
Module for clearing of various particle lists used for simulation.
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("ClearParticleLists", ClearParticleLists)
fwk::VModule::ResultFlag Run(evt::Event &event) override
Run: invoked once per event.

, generated on Tue Sep 26 2023.