5 #define ODIR_NAME "plots"
6 #define OFILE_EXT "png"
14 #define COORDINATES "Geographic"
21 #define WORLD_MAP_DIR "/aufs/data9/users/vedovato/S5-VSR1-Y2/lib/skyplot/"
39 #define SAMPLE_RATE 16384.
42 #define WAT_FILTER "up2"
43 #define WAT_FILTER_LENGTH 32
49 if(
network.Contains(
"V1")) ifo[nIFO++]=
"V1";
50 if(
network.Contains(
"H1")) ifo[nIFO++]=
"H1";
51 if(
network.Contains(
"L1")) ifo[nIFO++]=
"L1";
52 if(
network.Contains(
"G1")) ifo[nIFO++]=
"G1";
53 if(
network.Contains(
"T1")) ifo[nIFO++]=
"T1";
54 if(
network.Contains(
"H2")) ifo[nIFO++]=
"H2";
55 if(
network.Contains(
"A1")) ifo[nIFO++]=
"A1";
56 if(
network.Contains(
"O1")) ifo[nIFO++]=
"O1";
57 if(
network.Contains(
"N1")) ifo[nIFO++]=
"N1";
58 if(
network.Contains(
"E1")) ifo[nIFO++]=
"E1";
59 if(
network.Contains(
"A2")) ifo[nIFO++]=
"A2";
60 if(
network.Contains(
"J1")) ifo[nIFO++]=
"J1";
62 if(nIFO==0) {cout <<
"No detectors defined !!! " << endl;
exit(1);}
66 sprintf(ifostr,
"%s %s",ifostr,ifo[
n].Data());
68 cout <<
"Network : " << ifostr << endl;
86 #ifdef DISPLAY_WORLD_MAP
93 h2->GetXaxis()->SetTitleSize(0.05);
94 h2->GetXaxis()->SetLabelSize(0.05);
95 h2->GetYaxis()->SetTitleSize(0.05);
96 h2->GetYaxis()->SetLabelSize(0.05);
97 h2->GetYaxis()->SetLabelFont(42);
98 h2->GetYaxis()->SetLabelFont(42);
99 h2->GetXaxis()->SetTitleFont(42);
100 h2->GetYaxis()->SetTitleFont(42);
122 cout<<
"maximum time delay between detectors: "<<mTau<<endl;
135 for(
int l=0;l<
L;l++) {
147 smd->
set(l,idelay-mTau+delay);
detector * getifo(size_t n)
param: detector index
size_t add(detector *)
param: detector structure return number of detectors in the network
void setAntenna(detector *)
param: detector (use theta, phi index array)
cout<< "skymap size : "<< L<< endl;for(int l=0;l< L;l++) sm.set(l, l);sm > const_cast< char * >("skymap.dat")
void set(size_t i, double a)
size_t setIndexMode(size_t=0)
double getTheta(size_t i)
void DrawDelayIndex(TString network="H1V1")
void Draw(int dpaletteId=0, Option_t *option="colfz")
#define WAT_FILTER_LENGTH
void DrawSitesShortLabel(Color_t tcolor=kBlack, Size_t tsize=0.052, Font_t tfont=32)
void setSkyMaps(double sms, double t1, double t2, double p1, double p2)
void setDelayIndex(double rate)
param: MDC log file
double getDelay(const char *c="")
void DrawSites(Color_t mcolor=kBlack, Size_t msize=2.0, Style_t mstyle=20)
void SetWorldMapPath(TString worldMapPath)
void setDelay(const char *="L1")
void SetWorldMap(bool drawWorldMap=true)
sprintf(tfres,"(1/%g)x(%g) (sec)x(Hz)", 2 *df, df)
double getTau(double, double)
param: source theta,phi angles in degrees
void set(size_t i, double a)
param: sky index param: value to set
void setDelayFilters(detector *=NULL)
void SetOptions(TString projection="hammer", TString coordinate="Geographic", double resolution=1, bool goff=false)