RdStationBeamFormer.h
Go to the documentation of this file.
1 
9 #ifndef _RdStationBeamFormer_h_
10 #define _RdStationBeamFormer_h_
11 
12 #include <fwk/VModule.h>
13 
14 namespace revt {
15  class Station;
16  class REvent;
17 }
18 
19 namespace utl {
20  class TimeInterval;
21 }
22 
23 // you should assign your module to a namespace
24 
25 namespace RdStationBeamFormer {
26 
37 
38  public:
39  // If you define a constructor, you MUST provide an implementation
40  // for it, otherwise the REGISTER_MODULE macro will not register
41  // your module. (Here, implementation is in RdStationBeamFormer.cc)
43  virtual ~RdStationBeamFormer();
44 
48 
49  private:
50 
51  enum InfoLevel {
52  eNone = 0,
53  eFinal = 1,
55  eObscure = 3,
56  eMinuit = 4,
57  eDebug = 5
58  };
61 
62  enum WaveFront {
63  ePlane = 0,
64  eSphere = 1,
65  };
68 
71 
73  double fSpeedOfLight;
74 
75 
76 
78  void timeShift(revt::Station&, const utl::TimeInterval&) const;
79 
80  // The REGISTER_MODULE macro makes the framework aware of your module.
81  // You need to put this macro at the very end of your module class definition.
82  // Give your module a name (first argument) and specify its
83  // class name (second argument). In the ModuleSequenceExample.xml file,
84  // you can see this module being refered to by the name we give it here.
85 
86  REGISTER_MODULE("RdStationBeamFormer", RdStationBeamFormer);
87 
88  };
89 
90 }
91 
92 
93 #endif
94 
95 // Configure (x)emacs for this file ...
96 // Local Variables:
97 // mode:c++
98 // compile-command: "make -k"
99 // End:
void timeShift(revt::Station &, const utl::TimeInterval &) const
shifts the station trace in time by multiplying a phasegradient to the spectrum
double fRefractionIndex
index of refraction used to calculate speed of light
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
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
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
A TimeInterval is used to represent time elapsed between two events.
Definition: TimeInterval.h:43
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
int fInfoLevel
xml settings: info level (verbosity)
REGISTER_MODULE("RdStationBeamFormer", RdStationBeamFormer)
Adds time shifted data from all stations to form a combined beam into the shower direction.
double fSpeedOfLight
speed of light used for beam forming
Definition: XbArray.h:7
int fWaveFront
wave front type used for beam forming

, generated on Tue Sep 26 2023.