RdCheckFootprint.h
Go to the documentation of this file.
1 #ifndef _RdCheckFootprint_h_
2 #define _RdCheckFootprint_h_
3 
4 #include <fwk/VModule.h>
5 #include <fwk/CentralConfig.h>
6 
7 #include <det/Detector.h>
8 #include <rdet/RDetector.h>
9 
10 #include <utl/ErrorLogger.h>
11 #include <utl/Reader.h>
12 #include <utl/RadioGeometryUtilities.h>
13 
14 #include <evt/Event.h>
15 #include <evt/ShowerRecData.h>
16 #include <evt/ShowerRRecData.h>
17 
18 #include <revt/REvent.h>
19 #include <revt/Station.h>
20 #include <revt/Header.h>
21 #include <revt/StationRecData.h>
22 
23 namespace revt {
24  class REvent;
25 }
26 
27 namespace RdCheckFootprint {
28 
30  struct ldf {
31  unsigned int id;
32  double distance;
33  ldf(unsigned int id, double distance) : id(id), distance(distance) { }
34  };
35 
37  bool sort_ldf(ldf a, ldf b) { return (a.distance < b.distance); }
38 
39 
51 
52  public:
54  virtual ~RdCheckFootprint();
55 
59 
60  private:
61 
62  enum InfoLevel {
63  eNone = 0, eFinal = 1, eIntermediate = 2, eObscure = 3, eDebug = 4
64  };
65 
68 
71 
74 
77 
80 
83 
85  std::vector<ldf> fLDF;
86 
87  REGISTER_MODULE("RdCheckFootprint", RdCheckFootprint);
88 
89  };
90 
91 }
92 
93 #endif
ldf(unsigned int id, double distance)
int fCheckOutliers
xml configs: Switches check for outliers on
int fTolerance
xml configs: If number of antennas wthout signal exceeds this value, all antennas after regected as e...
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
Checks lateral distribution of amplitudes for outliers. The check can be performed in two modes: 1) C...
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
double fSigmaMultiplier
xml configs: The maximum tolerated deviation from LDF
Module interface.
Definition: VModule.h:53
int fInfoLevel
xml configs: verbosity
REGISTER_MODULE("RdCheckFootprint", RdCheckFootprint)
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
double fLDFUncertainty
xml configs: The uncertainty of LDF model (as fraction of amplitude)
std::vector< ldf > fLDF
sorted lateral distribution of amplitudes
bool sort_ldf(ldf a, ldf b)
sorting function
structure for sorting
double fCherenkovRadius
xml configs: Radius of Cherenkov ring. Inside this radius the module is not applied ...

, generated on Tue Sep 26 2023.