RdBeamTimeOptimizer/RdWaveModel.h
Go to the documentation of this file.
1 #ifndef _RdBeamTimeOptimizer_RdWaveModel_h_
2 #define _RdBeamTimeOptimizer_RdWaveModel_h_
3 
4 #include <string>
5 
6 #include <fwk/VModule.h>
7 
8 #include <utl/Trace.h>
9 #include <utl/Point.h>
10 #include <utl/Vector.h>
11 
12 #include <utl/CoordinateSystemPtr.h>
13 #include <revt/REvent.h>
14 #include "RdWaveModel.h"
15 
16 namespace evt {
17  class Event;
18 }
19 
20 namespace revt {
21  class Station;
22 }
23 
24 namespace RdBeamTimeOptimizer {
46 #ifdef RDDELAYS_AS_MODULE
47  : public fwk::VModule
48 #endif
49  {
50 
51  public:
52  RdWaveModel();
53  virtual ~RdWaveModel();
54 
55 #ifdef RDDELAYS_AS_MODULE
58  fwk::VModule::ResultFlag Finish();
59 #endif
60 
62  virtual double delay(utl::Point skyPos,
63  utl::Point antennaPos) const;
64 
66  virtual void setSkyPos(utl::Point skyPos);
68  virtual double delay (utl::Point antennaPos) const;
69 
73 
74  virtual double coneAngle(utl::Vector skyVec,
75  const utl::CoordinateSystemPtr cs);
76  virtual double curvature(utl::Vector skyVec,
77  const utl::CoordinateSystemPtr cs);
78  protected:
81  double skyVecNorm;
82 
83 
84 #ifdef RDDELAYS_AS_MODULE
85  REGISTER_MODULE("RdWaveModel", RdWaveModel);
86 #endif
87  };
88 
91  double delay(utl::Point skyPos,
92  utl::Point antennaPos) const;
93 
95  void setSkyPos(utl::Point skyPos);
97  double delay (utl::Point antennaPos) const;
98 
99  double curvature(utl::Vector skyVec,
100  const utl::CoordinateSystemPtr cs);
101  };
102 
122  {
123  double delay(utl::Point skyPos,
124  utl::Point antennaPos) const;
125  };
126 }
127 
128 #endif
129 
130 // Local Variables:
131 // mode:c++
132 // compile-command: "make -k"
133 // End:
virtual double coneAngle(utl::Vector skyVec, const utl::CoordinateSystemPtr cs)
Module for fitting time shifts of station traces which give maximal beam signal.
Point object.
Definition: Point.h:32
Interface class to access to the Radio part of an event.
Definition: REvent.h:42
Plane wave arrival Delays for Radio Imaging.
void Init()
Initialise the registry.
double delay(utl::Point skyPos, utl::Point antennaPos) const
calc delay relative to local coord origin
virtual double delay(utl::Point skyPos, utl::Point antennaPos) const
calc delay relative to local coord origin
boost::shared_ptr< const CoordinateTransformer > CoordinateSystemPtr
Shared pointer for coordinate systems.
double delay(utl::Point skyPos, utl::Point antennaPos) const
calc delay relative to local coord origin
static utl::Point signalBarycenter(revt::REvent &rEvent)
Calculate Signal CM, to be used with setOrigin()
Module interface.
Definition: VModule.h:53
#define REGISTER_MODULE(_moduleName_, _ModuleType_)
Definition: VModule.h:145
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
virtual void setSkyPos(utl::Point skyPos)
cache skyPos
double curvature(utl::Vector skyVec, const utl::CoordinateSystemPtr cs)
Vector object.
Definition: Vector.h:30
virtual double curvature(utl::Vector skyVec, const utl::CoordinateSystemPtr cs)
Spherical wave arrival Delays for Radio Imaging.
Definition: XbArray.h:7

, generated on Tue Sep 26 2023.