00001
00002
00004 #ifndef __DetConst__
00005 #define __DetConst__
00006
00007 using namespace std;
00008
00009 static const int N_KNOWN_DET = 4;
00010
00011
00012 static const int DET_INDEX[N_KNOWN_DET] = {0,
00013 1,
00014 2,
00015 3};
00016
00017
00018 static const string DET_NAME[N_KNOWN_DET] = {"Virgo",
00019 "Hanford1",
00020 "Hanford2",
00021 "Livingston"};
00022
00023
00024 static const string DET_PREFIX[N_KNOWN_DET] = {"V1",
00025 "H1",
00026 "H2",
00027 "L1"};
00028
00029
00030 static const double DET_VERTEX_LOCATION_X_SI[N_KNOWN_DET] = {4.54637409900e+06,
00031 -2.16141492636e+06,
00032 -2.16141492636e+06,
00033 -7.42760447238e+04};
00034
00035
00036 static const double DET_VERTEX_LOCATION_Y_SI[N_KNOWN_DET] = {8.42989697626e+05,
00037 -3.83469517889e+06,
00038 -3.83469517889e+06,
00039 -5.49628371971e+06};
00040
00041
00042 static const double DET_VERTEX_LOCATION_Z_SI[N_KNOWN_DET] = {4.37857696241e+06,
00043 4.60035022664e+06,
00044 4.60035022664e+06,
00045 3.22425701744e+06};
00046
00047
00048 static const double DET_ARM_X_DIRECTION_X[N_KNOWN_DET] = {-0.70045821479,
00049 -0.22389266154,
00050 -0.22389266154,
00051 -0.95457412153};
00052
00053
00054 static const double DET_ARM_X_DIRECTION_Y[N_KNOWN_DET] = {0.20848948619,
00055 0.79983062746,
00056 0.79983062746,
00057 -0.14158077340};
00058
00059
00060 static const double DET_ARM_X_DIRECTION_Z[N_KNOWN_DET] = {0.68256166277,
00061 0.55690487831,
00062 0.55690487831,
00063 -0.26218911324};
00064
00065
00066 static const double DET_ARM_Y_DIRECTION_X[N_KNOWN_DET] = {-0.05379255368,
00067 -0.91397818574,
00068 -0.91397818574,
00069 0.29774156894};
00070
00071
00072 static const double DET_ARM_Y_DIRECTION_Y[N_KNOWN_DET] = {-0.96908180549,
00073 0.02609403989,
00074 0.02609403989,
00075 -0.48791033647};
00076
00077
00078 static const double DET_ARM_Y_DIRECTION_Z[N_KNOWN_DET] = {0.24080451708,
00079 -0.40492342125,
00080 -0.40492342125,
00081 -0.82054461286};
00082
00083
00084 static const double NET_LIGHTTRAVELTIMEMAX[N_KNOWN_DET][N_KNOWN_DET] = {
00085 { 0.000, 0.025, 0.025, 0.027 },
00086 { 0.025, 0.000, 0.000, 0.002 },
00087 { 0.025, 0.000, 0.000, 0.002 },
00088 { 0.027, 0.002, 0.002, 0.000 }};
00089
00095 inline int GetLVDetIndex(const string aDetPrefix){
00096 for(int d=0; d<N_KNOWN_DET; d++)
00097 if(!aDetPrefix.compare(DET_PREFIX[d])) return d;
00098 return -1;
00099 }
00100
00101
00102 #endif