RdChannelGalacticBackgroundCalibrator.h
Go to the documentation of this file.
1 #ifndef _RdChannelGalacticBackgroundCalibrator_RdChannelGalacticBackgroundCalibrator_h_
2 #define _RdChannelGalacticBackgroundCalibrator_RdChannelGalacticBackgroundCalibrator_h_
3 
4 #include <fwk/VModule.h>
5 #include <string>
6 #include <fstream>
7 
8 namespace evt {
9  class Event;
10 }
11 
12 namespace revt {
13  class Station;
14 }
15 
17 
28 
29  public:
30  fwk::VModule::ResultFlag Init() override;
31  fwk::VModule::ResultFlag Run(evt::Event& event) override;
33 
34  private:
35  // XML settings
36  std::string fInputFileName;
39 
40  // vectors storing frequency-dependent calibratiion constants during run-time: [stationID][channelID]
41  std::vector<double> v_channelfrequencies[200][2];
42  std::vector<double> v_channelconstants[200][2];
43 
44  REGISTER_MODULE("RdChannelGalacticBackgroundCalibrator", RdChannelGalacticBackgroundCalibrator);
45  };
46 
47 }
48 
49 
50 #endif
fwk::VModule::ResultFlag Finish() override
Finish: invoked at end of the run (NOT end of the event)
fwk::VModule::ResultFlag Run(evt::Event &event) override
Run: invoked once per event.
Module interface.
Definition: VModule.h:53
REGISTER_MODULE("RdChannelGalacticBackgroundCalibrator", RdChannelGalacticBackgroundCalibrator)
Applies frequency-dependent relative calibration constants based on the galactic background emission...
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
fwk::VModule::ResultFlag Init() override
Initialize: invoked at beginning of run (NOT beginning of event)
Definition: XbArray.h:7

, generated on Tue Sep 26 2023.