RdStationNoiseAnalyser.h
Go to the documentation of this file.
1 #ifndef _RdStationNoiseAnalyser_h_
2 #define _RdStationNoiseAnalyser_h_
3 
4 #include <fwk/VModule.h>
5 #include <utl/TimeStamp.h>
6 #include <string>
7 
8 
9 namespace evt {
10  class Event;
11 }
12 namespace utl {
13  class TimeStamp;
14 }
15 namespace revt {
16  class Station;
17  }
18 namespace rdet {
19  class RDetector;
20  }
21 class TFile;
22 class TTree;
23 class TH1F;
24 class TH2F;
25 
26 
34 public:
37 
38  VModule::ResultFlag Init();
39  VModule::ResultFlag Run(evt::Event& theevent);
41 
42 private:
44  TFile* fOutFile;
45  std::string fOutFileName;
46  bool* fAllTrace;
47  TTree* fNoise;
48  TH1F* fH_RateLST; // This Histogram is needed to count the LST
49  TH1F* fH_RateLocT; // This Histogram is needed to count the LST
50  TH1F* fH_RateTime;
51  TH1F* fH_RMSLST1;
52  TH1F* fH_RMSLocT1;
53  TH1F* fH_RMSLST2;
54  TH1F* fH_RMSLocT2;
69  float frmspol1;
70  float frmspol2;
72  //static const int kGPS_UTC_Offset = 315957587;
73  static const int kGPS_UTC_Offset = 315964800;
74  unsigned int fuitime;
75  unsigned long int fTimeMin;
76  unsigned long int fTimeMax;
77  long int fTimeRefAll;
78  long int fTimeRefDay;
79  int fNbinFreq;
80  int fNbinTime;
81  int fNDay;
82  float fFreqMin;
83  float fFreqMax;
85  float fRMSMax;
88  std::string fStationName;
89 
90  REGISTER_MODULE("RdStationNoiseAnalyser", RdStationNoiseAnalyser);
91 };
92 
93 
94 #endif
void ConvertChannelToStation(revt::Station &stat, const rdet::RDetector &rDet)
VModule::ResultFlag Run(evt::Event &theevent)
Run: invoked once per event.
A TimeStamp holds GPS second and nanosecond for some event.
Definition: TimeStamp.h:110
Detector description interface for RDetector-related data.
Definition: RDetector.h:46
class to hold data at the radio Station level.
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
Module interface.
Definition: VModule.h:53
VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
static const int kGPS_UTC_Offset
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
REGISTER_MODULE("RdStationNoiseAnalyser", RdStationNoiseAnalyser)
Definition: XbArray.h:7

, generated on Tue Sep 26 2023.