SdHistogramFitterOG.h
Go to the documentation of this file.
1 #ifndef _SdHistogramFitterOG_SdHistogramFitter_h_
2 #define _SdHistogramFitterOG_SdHistogramFitter_h_
3 
4 #include <fwk/VModule.h>
5 #include <sevt/Station.h>
6 
7 
8 namespace SdHistogramFitterOG {
9 
32 
33  public:
34  fwk::VModule::ResultFlag Init() override;
35  fwk::VModule::ResultFlag Run(evt::Event& event) override;
36  fwk::VModule::ResultFlag Finish() override { return eSuccess; }
37 
38  private:
40  bool CopySmallPMTCalibData(sevt::Station& station);
41 
42  bool fToldYaPeak = false;
43  bool fToldYaCharge = false;
44  bool fToldYaShape = false;
45  bool fIsUub = false;
46 
47  // from XML config file
48  typedef std::pair<double, double> PairD;
50  double fPeakFitChi2Accept = 0;
63 
64  REGISTER_MODULE("SdHistogramFitterOG", SdHistogramFitter);
65 
66  };
67 
68 }
69 
70 
71 #endif
void CalculatePeakAndCharge(sevt::Station &station)
fwk::VModule::ResultFlag Init() override
Initialize: invoked at beginning of run (NOT beginning of event)
Fit the calibration histograms.
Report success to RunController.
Definition: VModule.h:62
bool CopySmallPMTCalibData(sevt::Station &station)
fwk::VModule::ResultFlag Run(evt::Event &event) override
Run: invoked once per event.
class to hold data at Station level
Module interface.
Definition: VModule.h:53
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
REGISTER_MODULE("SdHistogramFitterOG", SdHistogramFitter)
fwk::VModule::ResultFlag Finish() override
Finish: invoked at end of the run (NOT end of the event)

, generated on Tue Sep 26 2023.