1 #ifndef _SdGainRatioCorrectorKG_SdGainRatioCorrector_h_
2 #define _SdGainRatioCorrectorKG_SdGainRatioCorrector_h_
4 #include <fwk/VModule.h>
12 namespace SdGainRatioCorrectorKG {
fwk::VModule::ResultFlag Init() override
Initialize: invoked at beginning of run (NOT beginning of event)
bool fUseGainRatioCorrections
Report success to RunController.
std::map< int, StationFactors > YearStationFactors
fwk::VModule::ResultFlag Finish() override
Finish: invoked at end of the run (NOT end of the event)
Correct gain ratio (D/A) for UB.
YearStationFactors fFactors
static const short fgNPmts
double fCalibrationVersion12GainFactor
ResultFlag
Flag returned by module methods to the RunController.
REGISTER_MODULE("SdGainRatioCorrectorKG", SdGainRatioCorrector)
fwk::VModule::ResultFlag Run(evt::Event &event) override
Run: invoked once per event.
std::map< int, Factors > StationFactors