EnergyCalculation.h
Go to the documentation of this file.
1 #ifndef _EnergyCalculationPG_EnergyCalculation_h_
2 #define _EnergyCalculationPG_EnergyCalculation_h_
3 
4 #include <vector>
5 #include <fwk/VModule.h>
6 
7 
8 namespace evt {
9  class Event;
10 }
11 
12 namespace EnergyCalculationPG {
13 
24 
25  public:
27  virtual ~EnergyCalculation() { }
28 
32 
33  private:
34  static void GetCorrectedS1000Geomagnetic(const double theta, const double phi, const double s1000,
35  const double s1000Err, double& sGeo1000, double& sGeo1000Err);
36 
37  REGISTER_MODULE("EnergyCalculationPG", EnergyCalculation);
38 
39  };
40 
41 }
42 
43 
44 #endif
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
Report success to RunController.
Definition: VModule.h:62
static void GetCorrectedS1000Geomagnetic(const double theta, const double phi, const double s1000, const double s1000Err, double &sGeo1000, double &sGeo1000Err)
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
REGISTER_MODULE("EnergyCalculationPG", EnergyCalculation)
Module interface.
Definition: VModule.h:53
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.

, generated on Tue Sep 26 2023.