00001 #ifndef AST_H
00002 #define AST_H
00003
00005
00006
00007
00008
00009
00010
00011
00012
00013
00015
00016 #include "Conventions/Detector.h"
00017
00018 namespace AstUtil {
00019
00020
00021
00022
00023
00024
00025
00026
00027 const double kFarDetLongitude = -92.24141202;
00028 const double kFarDetLatitude = 47.82026653;
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052 const double kFarDetRotMatrixLocalToIdeal[9]
00053 = { 0.894507011,0,0.447053919,
00054 0, 1, 0,
00055 -0.447053919,0,0.894507011};
00056 const double kFarDetRotMatrixIdealToLocal[9] =
00057 { kFarDetRotMatrixLocalToIdeal[0],
00058 kFarDetRotMatrixLocalToIdeal[3],
00059 kFarDetRotMatrixLocalToIdeal[6],
00060 kFarDetRotMatrixLocalToIdeal[1],
00061 kFarDetRotMatrixLocalToIdeal[4],
00062 kFarDetRotMatrixLocalToIdeal[7],
00063 kFarDetRotMatrixLocalToIdeal[2],
00064 kFarDetRotMatrixLocalToIdeal[5],
00065 kFarDetRotMatrixLocalToIdeal[8] };
00066 const double kNearDetLongitude = -88.27062086;
00067 const double kNearDetLatitude = 41.84056333;
00068
00069
00070 const double kNearDetRotMatrixLocalToIdeal[9]
00071 = { 0.914188882,0,0.405288399,
00072 0, 1, 0,
00073 -0.405288399,0,0.914188882};
00074 const double kNearDetRotMatrixIdealToLocal[9] =
00075 { kNearDetRotMatrixLocalToIdeal[0],
00076 kNearDetRotMatrixLocalToIdeal[3],
00077 kNearDetRotMatrixLocalToIdeal[6],
00078 kNearDetRotMatrixLocalToIdeal[1],
00079 kNearDetRotMatrixLocalToIdeal[4],
00080 kNearDetRotMatrixLocalToIdeal[7],
00081 kNearDetRotMatrixLocalToIdeal[2],
00082 kNearDetRotMatrixLocalToIdeal[5],
00083 kNearDetRotMatrixLocalToIdeal[8] };
00084
00085 double GetDetLongitude(Detector::Detector_t detector);
00086 double GetDetLatitude(Detector::Detector_t detector);
00087 const double* GetDetRotMatrixLocalToIdeal(Detector::Detector_t detector);
00088 const double* GetDetRotMatrixIdealToLocal(Detector::Detector_t detector);
00089
00090 }
00091
00092 #endif // AST_H
00093
00094