5 #define ODIR_NAME "plots"
11 if(
network.Contains(
"V1")) ifo[nIFO++]=
"V1";
12 if(
network.Contains(
"H1")) ifo[nIFO++]=
"H1";
13 if(
network.Contains(
"L1")) ifo[nIFO++]=
"L1";
14 if(
network.Contains(
"G1")) ifo[nIFO++]=
"G1";
15 if(
network.Contains(
"T1")) ifo[nIFO++]=
"T1";
16 if(
network.Contains(
"H2")) ifo[nIFO++]=
"H2";
17 if(
network.Contains(
"A1")) ifo[nIFO++]=
"A1";
18 if(
network.Contains(
"O1")) ifo[nIFO++]=
"O1";
19 if(
network.Contains(
"N1")) ifo[nIFO++]=
"N1";
20 if(
network.Contains(
"E1")) ifo[nIFO++]=
"E1";
21 if(
network.Contains(
"A2")) ifo[nIFO++]=
"A2";
22 if(
network.Contains(
"J1")) ifo[nIFO++]=
"J1";
24 if(nIFO==0) {cout <<
"No detectors defined !!! " << endl;
exit(1);}
28 sprintf(ifostr,
"%s %s",ifostr,ifo[
n].Data());
30 cout <<
"Network : " << ifostr << endl;
36 for(
int n=0;
n<
nIFO;
n++) cout <<
n <<
" " << ifoName[
n].Data() << endl;
44 double ph1,ph2,th1,th2;
47 cout <<
"ph1 : " << ph1 <<
" th1 : " << th1 <<
" ph2 : " << ph2 <<
" th2 : " << th2 << endl;
50 cout <<
"ph1 : " << ph1 <<
" th1 : " << th1 <<
" ph2 : " << ph2 <<
" th2 : " << th2 << endl;
detector * getifo(size_t n)
param: detector index
int Delay2Coordinates(double t1, double t2, double t3, double &ph1, double &th1, double &ph2, double &th2)
void Delays2Directions(TString network="L1H1V1")
void CwbToGeographic(double ilongitude, double ilatitude, double &olongitude, double &olatitude)
sprintf(tfres,"(1/%g)x(%g) (sec)x(Hz)", 2 *df, df)