MCShowerChecker.h
Go to the documentation of this file.
1 #ifndef _MCShowerCheckerOG_MCShowerChecker_h_
2 #define _MCShowerCheckerOG_MCShowerChecker_h_
3 
4 #include <fwk/VModule.h>
5 
6 #include <string>
7 
8 
9 namespace MCShowerCheckerOG {
10 
19  class MCShowerChecker : public fwk::VModule {
20 
21  enum EHandle {
25  };
26 
27  public:
29  virtual ~MCShowerChecker() { }
30 
34 
35  private:
36  std::string ToText(const EHandle flag) const;
37  EHandle ToEnum(const std::string& text) const;
38 
39  private:
40  int fVerbose = 0;
41 
43 
46 
48 
49  REGISTER_MODULE("MCShowerCheckerOG", MCShowerChecker);
50 
51  };
52 
53 }
54 
55 
56 #endif
std::string ToText(const EHandle flag) const
EHandle ToEnum(const std::string &text) const
fwk::VModule::ResultFlag Run(evt::Event &theEvent)
Run: invoked once per event.
fwk::VModule::ResultFlag Init()
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
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
REGISTER_MODULE("MCShowerCheckerOG", MCShowerChecker)

, generated on Tue Sep 26 2023.