SdCalibPlotter.h
Go to the documentation of this file.
1 #ifndef _SdCalibPlotterOG_SdCalibPlotter_h_
2 #define _SdCalibPlotterOG_SdCalibPlotter_h_
3 
4 #include <fwk/VModule.h>
5 #include <TFile.h>
6 #include <string>
7 
8 
9 namespace evt {
10  class Event;
11 }
12 
13 
14 namespace SdCalibPlotterOG {
15 
25  class SdCalibPlotter : public fwk::VModule {
26  public:
27  SdCalibPlotter() = default;
28  virtual ~SdCalibPlotter() { delete fROOTFile; }
29 
33 
34  private:
35  TFile* fROOTFile = nullptr;
36  const std::string fFilename = "SdCalib";
37  std::string fMultipage;
38  int fRunCounter = 0;
39 
40  bool fDrawHistograms = false;
41  bool fDrawBaselines = false;
42  bool fDrawFADCTraces = false;
43  bool fDrawVEMTraces = false;
44 
45  REGISTER_MODULE("SdCalibPlotter", SdCalibPlotter);
46  };
47 
48 }
49 
50 
51 #endif
Validate SdCalibrator.
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
Module interface.
Definition: VModule.h:53
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
REGISTER_MODULE("SdCalibPlotter", SdCalibPlotter)

, generated on Tue Sep 26 2023.