#include "Conventions/DetectorType.h"Go to the source code of this file.
Namespaces | |
| namespace | AstUtil |
Functions | |
| double | GetDetLongitude (DetectorType::Detector_t detector) |
| double | GetDetLatitude (DetectorType::Detector_t detector) |
| const double * | GetDetRotMatrixLocalToIdeal (DetectorType::Detector_t detector) |
| const double * | GetDetRotMatrixIdealToLocal (DetectorType::Detector_t detector) |
Variables | |
| const double | kFarDetLongitude = -92.24141202 |
| const double | kFarDetLatitude = 47.82026653 |
| const double | kFarDetRotMatrixLocalToIdeal [9] |
| const double | kFarDetRotMatrixIdealToLocal [9] |
| const double | kNearDetLongitude = -88.27062086 |
| const double | kNearDetLatitude = 41.84056333 |
| const double | kNearDetRotMatrixLocalToIdeal [9] |
| const double | kNearDetRotMatrixIdealToLocal [9] |
|
|
Definition at line 23 of file Ast.cxx. References DetectorType::AsString(), and MSG. Referenced by NtpSRModule::FillNtpTrackCosmicRay(). 00023 {
00024 //
00025 // Return the latitudinal position of the detector of the requested type.
00026 //
00027
00028 switch( detector ) {
00029
00030 case DetectorType::kFar:
00031 return kFarDetLatitude;
00032
00033 case DetectorType::kNear:
00034 return kNearDetLatitude;
00035
00036 default:
00037 MSG("Ast",Msg::kWarning) << "Latitudinal position for detector "
00038 << DetectorType::AsString(detector) << " unavailable." << endl;
00039 return 0;
00040
00041 }// end of switch
00042
00043 }
|
|
|
Definition at line 45 of file Ast.cxx. References DetectorType::AsString(), and MSG. Referenced by NtpSRModule::FillNtpTrackCosmicRay(). 00045 {
00046 //
00047 // Return the longitudinal position of the detector of the requested type.
00048 //
00049 switch( detector ) {
00050
00051 case DetectorType::kFar:
00052 return kFarDetLongitude;
00053
00054 case DetectorType::kNear:
00055 return kNearDetLongitude;
00056
00057 default:
00058 MSG("Ast",Msg::kWarning) << "Longitudinal position for detector "
00059 << DetectorType::AsString(detector) << " unavailable." << endl;
00060 return 0;
00061
00062 } // end of switch
00063
00064 }
|
|
|
Definition at line 91 of file Ast.cxx. References DetectorType::AsString(), and MSG. Referenced by AstUtil::IdealToLocal(). 00091 {
00092 //
00093 // Return the rotation matrix from ideal to local detector coordinates for
00094 // the requested type.
00095 //
00096 switch( detector ) {
00097
00098 case DetectorType::kFar:
00099 return kFarDetRotMatrixIdealToLocal;
00100
00101 case DetectorType::kNear:
00102 return kNearDetRotMatrixIdealToLocal;
00103
00104 default:
00105 MSG("Ast",Msg::kWarning)
00106 << "Rotation matrix from ideal to local coordinates for detector "
00107 << DetectorType::AsString(detector) << " unavailable." << endl;
00108 return 0;
00109
00110 } // end of switch
00111
00112 }
|
|
|
Definition at line 67 of file Ast.cxx. References DetectorType::AsString(), and MSG. Referenced by AstUtil::LocalToIdeal(). 00067 {
00068 //
00069 // Return the rotation matrix from local to ideal detector coordinates for
00070 // the requested type.
00071 //
00072 switch( detector ) {
00073
00074 case DetectorType::kFar:
00075 return kFarDetRotMatrixLocalToIdeal;
00076
00077 case DetectorType::kNear:
00078 return kNearDetRotMatrixLocalToIdeal;
00079
00080 default:
00081 MSG("Ast",Msg::kWarning)
00082 << "Rotation matrix from local to ideal coordinates for detector "
00083 << DetectorType::AsString(detector) << " unavailable." << endl;
00084 return 0;
00085
00086 } // end of switch
00087
00088 }
|
|
|
|
|
|
|
|
|
Initial value: |
|
|
Initial value: { 0.894507011,0,0.447053919,
0, 1, 0,
-0.447053919,0,0.894507011}
|
|
|
|
|
|
|
|
|
|
Initial value: { 0.914188882,0,0.405288399,
0, 1, 0,
-0.405288399,0,0.914188882}
|
1.3.9.1