#include <vector>Functions | |
| TB | checkFile (gSystem->Getenv("CWB_ROOTLOGON_FILE")) |
| TB | checkFile (gSystem->Getenv("CWB_PARAMETERS_FILE")) |
| TB | checkFile (gSystem->Getenv("CWB_UPARAMETERS_FILE")) |
| TB | checkFile (cwb_skymap_file) |
| out<< ostring<< endl;sprintf(ostring,"cd %s; \", home_skymap_lib.Data());out<< ostring<< endl;sprintf(ostring,". setup.sh; \");out<< ostring<< endl;sprintf(ostring,"cd $USER_DIR; \");out<< ostring<< endl;sprintf(ostring,"fits=%s; \", cwb_skymap_file.Data());out<< ostring<< endl;sprintf(ostring,"time %s -v %s --dT-nside 128 --dT-Nsamp 500 -o %s -t cwb -O %s --no-margticks $fits %s \", pyCmd.Data(), ifostr, odir.Data(), ourl, cwb_report_options.Data());out<< ostring<< endl;sprintf(ostring,"'");out<< ostring<< endl;out.close();char cmd[1024];sprintf(cmd,". %s", skymap_script_file);cout<< cmd<< endl;gSystem-> | Exec (cmd) |
| exit (1) | |
| for () | |
| pointers to detectors More... | |
| if (gSystem->Getenv("HOME_SKYMAP_LIB")==NULL) | |
| if (gSystem->Getenv("CWB_USER_URL")==NULL) | |
| if (gSystem->Getenv("CWB_REP_URL")!=NULL) | |
| if (gSystem->Getenv("CWB_SKYMAP_FILE")==NULL) | |
| if (cwb_skymap_file.EndsWith(".fits")) | |
| else | if (cwb_skymap_file.EndsWith(".fits.gz")) |
| if (cwb_report_options!="") | |
| if (cwb_rep_url=="") | |
| if (!singleSkymap) cwb_skymap_dir.ReplaceAll(cwb_skymap_name | |
| if (symLink!="") | |
| if (estat!=0) | |
| TB | mkDir (cwb_skymap_dir, false, true) |
| sprintf (cmd,"rm %s", skymap_script_file) | |
| sprintf (index_html_file,"%s/index.html", cwb_skymap_parent.Data()) | |
| sprintf (index_html_file_tmp,"%s.tmp", index_html_file) | |
| TString ("c") | |
Variables | |
| TString | cwb_rep_url ="" |
| TString | cwb_report_options = TString(gSystem->Getenv("CWB_REPORT_OPTIONS")) |
| TString | cwb_skymap_dir = cwb_skymap_file |
| TString | cwb_skymap_file |
| TString | cwb_skymap_name = gSystem->BaseName(cwb_skymap_file) |
| TString | cwb_skymap_parent = gSystem->DirName(cwb_skymap_dir) |
| TString | cwb_user_url |
| else | |
| int | estat = gSystem->GetPathInfo(index_html_file,&id,&size,&flags,&mt) |
| Long_t | flags |
| TString | home_skymap_lib |
| Long_t | id |
| char | ifostr [64] ="" |
| char | index_html_file [1024] |
| char | index_html_file_tmp [1024] |
| Long_t | mt |
| ofstream | out2 |
| bool | singleSkymap = true |
| Long_t | size |
| TString | symLink = CWB::Toolbox::getFileName(index_html_file) |
| TB checkFile | ( | gSystem-> | Getenv"CWB_ROOTLOGON_FILE" | ) |
| TB checkFile | ( | gSystem-> | Getenv"CWB_PARAMETERS_FILE" | ) |
| TB checkFile | ( | gSystem-> | Getenv"CWB_UPARAMETERS_FILE" | ) |
| TB checkFile | ( | cwb_skymap_file | ) |
| out<< ostring << endl; sprintf(ostring,"cd %s; \\",home_skymap_lib.Data()); out << ostring << endl; sprintf(ostring,". setup.sh; \\"); out << ostring << endl; sprintf(ostring,"cd $USER_DIR; \\"); out << ostring << endl; sprintf(ostring,"fits=%s; \\",cwb_skymap_file.Data()); out << ostring << endl; sprintf(ostring,"time %s -v %s --dT-nside 128 --dT-Nsamp 500 -o %s -t cwb -O %s --no-margticks $fits %s \\", pyCmd.Data(),ifostr,odir.Data(),ourl,cwb_report_options.Data()); out << ostring << endl; sprintf(ostring,"'"); out << ostring << endl; out.close(); char cmd[1024]; sprintf(cmd,". %s",skymap_script_file); cout << cmd << endl; gSystem-> Exec | ( | cmd | ) |
| exit | ( | 1 | ) |
| for | ( | ) |
pointers to detectors
Definition at line 143 of file cwb_report_skymap.C.
| if | ( | gSystem-> | Getenv"HOME_SKYMAP_LIB" = =NULL | ) |
Definition at line 31 of file cwb_report_skymap.C.
| if | ( | gSystem-> | Getenv"CWB_USER_URL" = =NULL | ) |
Definition at line 38 of file cwb_report_skymap.C.
| if | ( | gSystem->Getenv("CWB_REP_URL")! | = NULL | ) |
Definition at line 45 of file cwb_report_skymap.C.
| if | ( | gSystem-> | Getenv"CWB_SKYMAP_FILE" = =NULL | ) |
Definition at line 50 of file cwb_report_skymap.C.
| if | ( | cwb_skymap_file. | EndsWith".fits" | ) |
Definition at line 57 of file cwb_report_skymap.C.
| else if | ( | cwb_skymap_file. | EndsWith".fits.gz" | ) |
Definition at line 58 of file cwb_report_skymap.C.
| if | ( | cwb_report_options! | = "" | ) |
Definition at line 71 of file cwb_report_skymap.C.
| if | ( | cwb_rep_url | = ="" | ) |
Definition at line 123 of file cwb_report_skymap.C.
| if | ( | ! | singleSkymap | ) |
| if | ( | symLink! | = "" | ) |
Definition at line 204 of file cwb_report_skymap.C.
| if | ( | estat! | = 0 | ) |
Definition at line 214 of file cwb_report_skymap.C.
| TB mkDir | ( | cwb_skymap_dir | , |
| false | , | ||
| true | |||
| ) |
| sprintf | ( | index_html_file | , |
| "%s/index.html" | , | ||
| cwb_skymap_parent. | Data() | ||
| ) |
| sprintf | ( | index_html_file_tmp | , |
| "%s.tmp" | , | ||
| index_html_file | |||
| ) |
| TString | ( | "c" | ) |
Definition at line 129 of file cwb_report_skymap.C.
| TString cwb_rep_url ="" |
Definition at line 44 of file cwb_report_skymap.C.
Definition at line 67 of file cwb_report_skymap.C.
| TString cwb_skymap_dir = cwb_skymap_file |
Definition at line 65 of file cwb_report_skymap.C.
| TString cwb_skymap_file |
Definition at line 49 of file cwb_report_skymap.C.
| TString cwb_skymap_name = gSystem->BaseName(cwb_skymap_file) |
Definition at line 127 of file cwb_report_skymap.C.
| TString cwb_skymap_parent = gSystem->DirName(cwb_skymap_dir) |
Definition at line 196 of file cwb_report_skymap.C.
| TString cwb_user_url |
Definition at line 37 of file cwb_report_skymap.C.
| else |
Definition at line 33 of file cwb_report_skymap.C.
| int estat = gSystem->GetPathInfo(index_html_file,&id,&size,&flags,&mt) |
Definition at line 213 of file cwb_report_skymap.C.
| Long_t flags |
Definition at line 201 of file cwb_report_skymap.C.
| TString home_skymap_lib |
Definition at line 30 of file cwb_report_skymap.C.
| Long_t id |
Definition at line 201 of file cwb_report_skymap.C.
| char ifostr[64] ="" |
Definition at line 142 of file cwb_report_skymap.C.
| char index_html_file[1024] |
Definition at line 200 of file cwb_report_skymap.C.
| char index_html_file_tmp[1024] |
Definition at line 226 of file cwb_report_skymap.C.
| Long_t mt |
Definition at line 201 of file cwb_report_skymap.C.
| ofstream out2 |
Definition at line 225 of file cwb_report_skymap.C.
| bool singleSkymap = true |
Definition at line 70 of file cwb_report_skymap.C.
| Long_t size |
Definition at line 201 of file cwb_report_skymap.C.
| symLink = CWB::Toolbox::getFileName(index_html_file) |
Definition at line 199 of file cwb_report_skymap.C.