RdBeamFormer/RdWaveModel.h
Go to the documentation of this file.
1 #ifndef _RdBeamFormer_RdWaveModel_h_
2 #define _RdBeamFormer_RdWaveModel_h_
3 
4 #include <evt/ShowerRRecData.h>
5 #include <revt/REvent.h>
6 
7 #include <utl/Trace.h>
8 #include <utl/Point.h>
9 #include <utl/Vector.h>
10 #include <utl/AxialVector.h>
11 #include <utl/CoordinateSystemPtr.h>
12 
13 #include <string>
14 
15 namespace evt {
16  class Event;
17 }
18 
19 namespace revt {
20  class Station;
21 }
22 
23 namespace RdBeamFormer {
32  class RdWaveModel {
33 
34  public:
35  RdWaveModel();
36  ~RdWaveModel();
37 
38  //set the origin of the calculations
40  //set the sky position to be used in the calculations
42  //calculate the time delay for a desired position using the origin and the sky position
43  virtual double delay (const utl::Point antennaPos, const evt::ShowerRRecData& rrec) const = 0;
44 
45  protected:
48  };
49 
50  class RdPlaneWaveModel : public RdWaveModel {
51 
52  double delay(const utl::Point antennaPos, const evt::ShowerRRecData& rrec) const;
53  };
54 
56 
57  double delay (const utl::Point antennaPos, const evt::ShowerRRecData& rrec) const;
58 
59  public:
60  //calculate the curvarure of the spherical wavefront
61  double curvature(utl::Vector skyVec, const utl::CoordinateSystemPtr cs) const;
62  };
63 
65 
66  double delay(const utl::Point antennaPos, const evt::ShowerRRecData& rrec) const;
67  };
68 
70 
71  double delay(const utl::Point antennaPos, const evt::ShowerRRecData& rrec) const;
72  };
73 }
74 
75 #endif
76 
77 // Local Variables:
78 // mode:c++
79 // compile-command: "make -k"
80 // End:
Point object.
Definition: Point.h:32
This is the supporting utility to calculate time delays relative to the origin according to the chose...
Interface class to access to the RD Reconstruction of a Shower.
double delay(const utl::Point antennaPos, const evt::ShowerRRecData &rrec) const
double delay(const utl::Point antennaPos, const evt::ShowerRRecData &rrec) const
void setOrigin(utl::Point origin)
boost::shared_ptr< const CoordinateTransformer > CoordinateSystemPtr
Shared pointer for coordinate systems.
virtual double delay(const utl::Point antennaPos, const evt::ShowerRRecData &rrec) const =0
void setSkyPos(utl::Point skyPos)
Vector object.
Definition: Vector.h:30
double delay(const utl::Point antennaPos, const evt::ShowerRRecData &rrec) const
double curvature(utl::Vector skyVec, const utl::CoordinateSystemPtr cs) const
double delay(const utl::Point antennaPos, const evt::ShowerRRecData &rrec) const
The main module for the beam-forming calculations. This means obtaining power, cross-correlation and ...
Definition: XbArray.h:7

, generated on Tue Sep 26 2023.