1 #ifndef _EnergyCalculationPG_EnergyCalculation_h_
2 #define _EnergyCalculationPG_EnergyCalculation_h_
5 #include <fwk/VModule.h>
12 namespace EnergyCalculationPG {
35 const double s1000Err,
double& sGeo1000,
double& sGeo1000Err);
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
virtual ~EnergyCalculation()
Report success to RunController.
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)
ResultFlag
Flag returned by module methods to the RunController.
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.