1 #ifndef _SdHistogramFitterOG_SdHistogramFitter_h_
2 #define _SdHistogramFitterOG_SdHistogramFitter_h_
4 #include <fwk/VModule.h>
5 #include <sevt/Station.h>
8 namespace SdHistogramFitterOG {
48 typedef std::pair<double, double>
PairD;
void CalculatePeakAndCharge(sevt::Station &station)
fwk::VModule::ResultFlag Init() override
Initialize: invoked at beginning of run (NOT beginning of event)
Fit the calibration histograms.
double fChargeHistogramToMIPFactor
std::pair< double, double > PairD
double fPeakOnlineToVEMFactor
Report success to RunController.
bool CopySmallPMTCalibData(sevt::Station &station)
double fChargeOnlineToMIPFactor
fwk::VModule::ResultFlag Run(evt::Event &event) override
Run: invoked once per event.
double fPeakHistogramToMIPFactor
class to hold data at Station level
double fChargeFitShoulderHeadRatio
double fChargeFitChi2Accept
PairD fShapeFitRangeBefore12
double fPeakOnlineToMIPFactor
ResultFlag
Flag returned by module methods to the RunController.
double fPeakFitChi2Accept
double fPeakHistogramToVEMFactor
PairD fShapeFitRangeSince12
double fChargeHistogramToVEMFactor
double fChargeOnlineToVEMFactor
REGISTER_MODULE("SdHistogramFitterOG", SdHistogramFitter)
fwk::VModule::ResultFlag Finish() override
Finish: invoked at end of the run (NOT end of the event)