SdEACalibrationFiller.h
Go to the documentation of this file.
1 #ifndef _SdEACalibrationFillerKG_SdEACalibrationFiller_h_
2 #define _SdEACalibrationFillerKG_SdEACalibrationFiller_h_
3 
4 #include <fwk/VModule.h>
5 #include <sevt/Station.h>
6 #include <utl/Histogram.h>
7 
8 
9 namespace evt {
10  class Event;
11 }
12 
13 namespace SdEACalibrationFillerKG {
14 
15  /*
16  \class SdEACalibrationFillerKG
17  \author Alvaro Taboada Nunez
18  \date 05 Mar 2018
19  */
20 
22 
23  public:
24  fwk::VModule::ResultFlag Init() override;
25  fwk::VModule::ResultFlag Run(evt::Event& event) override;
26  fwk::VModule::ResultFlag Finish() override { return eSuccess; }
27 
28  private:
29  void FillCalibrationInfo(sevt::Station& station);
31 
32  std::vector<double> fRawChargeUUB;
33  std::vector<double> fRawPeakUUB;
34  std::vector<double> fHgBaselineUUB;
35  std::vector<double> fLgBaselineUUB;
36  std::vector<double> fDARatioUUB;
37 
38  std::vector<double> fRawChargePPA;
39  std::vector<double> fRawPeakPPA;
40 
41  double fBeta = 0;
42  double fBetaErr = 0;
43  double fBetaChi2 = 0;
44  double fBetaCorrectionFact = 0;
45 
46  REGISTER_MODULE("SdEACalibrationFillerKG", SdEACalibrationFiller);
47 
48  };
49 
50 }
51 
52 
53 #endif
fwk::VModule::ResultFlag Run(evt::Event &event) override
Run: invoked once per event.
Report success to RunController.
Definition: VModule.h:62
REGISTER_MODULE("SdEACalibrationFillerKG", SdEACalibrationFiller)
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
fwk::VModule::ResultFlag Finish() override
Finish: invoked at end of the run (NOT end of the event)
fwk::VModule::ResultFlag Init() override
Initialize: invoked at beginning of run (NOT beginning of event)

, generated on Tue Sep 26 2023.