7 #define OFILE_EXT "png"
15 #define COORDINATES "Geographic"
18 #define PROJECTION "hammer"
21 #define DISPLAY_WORLD_MAP
22 #define WORLD_MAP_DIR "$CWB_GWAT/data/"
43 if(
network.Contains(
"H1")) ifo[nIFO++]=
"H1";
44 if(
network.Contains(
"L1")) ifo[nIFO++]=
"L1";
45 if(
network.Contains(
"G1")) ifo[nIFO++]=
"G1";
46 if(
network.Contains(
"V1")) ifo[nIFO++]=
"V1";
47 if(
network.Contains(
"T1")) ifo[nIFO++]=
"T1";
48 if(
network.Contains(
"H2")) ifo[nIFO++]=
"H2";
49 if(
network.Contains(
"A1")) ifo[nIFO++]=
"A1";
50 if(
network.Contains(
"O1")) ifo[nIFO++]=
"O1";
51 if(
network.Contains(
"N1")) ifo[nIFO++]=
"N1";
52 if(
network.Contains(
"E1")) ifo[nIFO++]=
"E1";
53 if(
network.Contains(
"A2")) ifo[nIFO++]=
"A2";
54 if(
network.Contains(
"J1")) ifo[nIFO++]=
"J1";
56 if(nIFO==0) {cout <<
"No detectors defined !!! " << endl;
exit(1);}
60 sprintf(ifostr,
"%s %s",ifostr,ifo[
n].Data());
62 cout <<
"Network : " << ifostr << endl;
74 #ifdef DISPLAY_WORLD_MAP
81 h2->GetXaxis()->SetTitleSize(0.05);
82 h2->GetXaxis()->SetLabelSize(0.05);
83 h2->GetYaxis()->SetTitleSize(0.05);
84 h2->GetYaxis()->SetLabelSize(0.05);
85 h2->GetYaxis()->SetLabelFont(42);
86 h2->GetYaxis()->SetLabelFont(42);
87 h2->GetXaxis()->SetTitleFont(42);
88 h2->GetYaxis()->SetTitleFont(42);
91 if(nIFO>1) h2->GetZaxis()->SetRangeUser(0,1.0);
92 else h2->GetZaxis()->SetRangeUser(0,1.0);
113 cout <<
"SkyMap Mean : " << gSM->
mean() << endl;
117 sprintf(ofileName,
"%s/",ofileName);
119 sprintf(ofileName,
"%s%s",ofileName,ifo[
n].Data());
126 cout <<
"Write : " << ofileName << endl;
127 gSM->
Print(ofileName);
size_t add(detector *)
param: detector structure return number of detectors in the network
void DrawSitesArms(double mlength=600000., Color_t lcolor=kBlack, Size_t lwidth=1.0, Style_t lstyle=1)
void DrawAntennaPattern(int polarization=-1, int dpaletteId=0, bool btitle=true, int order=6)
TCanvas * DrawAntennaPattern(TString network="L1H1V1", int polarization=3, int palette=0, bool btitle=true)
void DrawSitesShortLabel(Color_t tcolor=kBlack, Size_t tsize=0.052, Font_t tfont=32)
void DrawSites(Color_t mcolor=kBlack, Size_t msize=2.0, Style_t mstyle=20)
void SetWorldMapPath(TString worldMapPath)
void SetWorldMap(bool drawWorldMap=true)
sprintf(tfres,"(1/%g)x(%g) (sec)x(Hz)", 2 *df, df)
void Print(TString pname)
void SetOptions(TString projection="hammer", TString coordinate="Geographic", double resolution=1, bool goff=false)