RdStationSignalReconstructor/RdStationSignalReconstructor.h
Go to the documentation of this file.
1 #ifndef _RdStationSignalReconstructor_RdStationSignalReconstructor_h_
2 #define _RdStationSignalReconstructor_RdStationSignalReconstructor_h_
3 
4 #include <fwk/VModule.h>
5 #include <map>
6 
7 
8 namespace revt {
9  class Station;
10 }
11 
12 
14 
29 
30  public:
31  fwk::VModule::ResultFlag Init() override;
32  fwk::VModule::ResultFlag Run(evt::Event& event) override;
34 
35  private:
36  unsigned int fVectorialComponent = 0;
37  bool fUseEnvelope = false;
39 
40  bool fAddNoiseToUncertainty = false;
41 
42  double fMinSignal = 0;
43  double fMinSignalToNoise = 0;
45  double fDefaultAntennaUncertainty = 0;
49 
50  bool fSelfTriggeredSNcut = true;
51  bool fAdjustSignalAmplitude = false;
52  bool fLockParameterStorage = false;
53 
54  std::map<unsigned int, unsigned int> fNumberOfStationsInEvents;
55 
56  /* the formula is documented in GAP 2013-059
57  * the input is the SNR defined as the maximum of the Hilbert envelope squared divided by the RMS of the Hilbert envelope squared
58  */
59  double GetSignalUncertainty(const double signalAmplitude, const double SNR) const;
60 
61  /* the formula is documented in PhD thesis of C. Glaser (RWTH Aachen University 2016)
62  * the input is the SNR defined as the maximum of the Hilbert envelope squared divided by the RMS of the Hilbert envelope squared
63  */
64  double GetSignalTimeUncertainty(const double SNR) const;
65 
67  double GetAdjustedSignalAmplitude(const double signalAmpitude, const double SNR) const;
68 
70  double GetAntennaToAntennaUncertainty(const revt::Station& station) const;
71 
72  REGISTER_MODULE("RdStationSignalReconstructor", RdStationSignalReconstructor);
73  };
74 
75 }
76 
77 
78 #endif
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
double GetAntennaToAntennaUncertainty(const revt::Station &station) const
Returns the configured uncertainty for a specific antenna type.
REGISTER_MODULE("RdStationSignalReconstructor", RdStationSignalReconstructor)
class to hold data at the radio Station level.
Module interface.
Definition: VModule.h:53
PulseFinder searches for maximum in the trace. Choose vectorial component in the xml file...
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)
double GetAdjustedSignalAmplitude(const double signalAmpitude, const double SNR) const
the formula is documented in GAP 2013-059
Definition: XbArray.h:7

, generated on Tue Sep 26 2023.