Functions | |
| out | close () |
| exit (0) | |
| ifstream | f_ev (events_sorted) |
| if (TString(condor_tag)=="") | |
| if (nIFO==2) | |
| if ((fP=fopen(ofile_condor_sub, "w"))==NULL) | |
| sprintf (events_sorted,"%s/events_sorted.txt", netdir) | |
| sprintf (condor_label,"%s.%s.R%s.ced", data_label, cwb_merge_label.Data(), pp_label.Data()) | |
| sprintf (ofile_condor_sub,"%s/%s.sub", condor_dir, condor_label) | |
| while (ievt< pp_max_nloudest_list) | |
Variables | |
| char | c3 [8] |
| char | condor_label [1024] |
| char | events_sorted [256] |
| FILE * | fP =NULL |
| float | iacor |
| float | icc |
| float | icc2 |
| float | icc3 |
| float | icHH |
| float | idur |
| int | ifreq |
| int | ihigh |
| double * | ihrss = new double[nIFO] |
| float | ilag |
| float | ilik |
| int | ilow |
| float | ipen |
| int | irate |
| float | irho |
| int | irun |
| int | isize |
| float | islag |
| double * | iSNR = new double[nIFO] |
| double * | itime = new double[nIFO] |
| float | ivED |
| float | ivHH |
| cout<< ofile_condor_sub<< endl;char full_condor_dir[1024];char full_condor_out_dir[1024];char full_condor_err_dir[1024];sprintf(full_condor_dir,"%s/%s", work_dir, condor_dir);sprintf(full_condor_out_dir,"%s/%s", work_dir, log_dir);sprintf(full_condor_err_dir,"%s/%s", work_dir, log_dir);fprintf(fP,"universe = vanilla\");fprintf(fP,"getenv = true\");fprintf(fP,"priority = $(PRI)\");fprintf(fP,"on_exit_hold = ( ExitCode != 0 )\");fprintf(fP,"request_memory = 2000\");fprintf(fP,"executable = ced.sh\");fprintf(fP,"job_machine_attrs = Machine\");fprintf(fP,"job_machine_attrs_history_length = 5\");fprintf(fP,"requirements = target.machine =!= MachineAttrMachine1 && target.machine =!= MachineAttrMachine2 && target.machine =!= MachineAttrMachine3 && target.machine =!= MachineAttrMachine4 && target.machine =!= MachineAttrMachine5\");fprintf(fP,"environment = CWB_JOBID=$(PID);CWB_GPS_EVENT=$(CWB_GPS_EVENT);CWB_INET_OPTIONS=$(CWB_INET_OPTIONS);CWB_MDC_FACTOR=$(CWB_MDC_FACTOR);CWB_JOB_LAG=$(CWB_JOB_LAG);CWB_CED_DIR=$(CWB_CED_DIR);CWB_BATCH=$(CWB_BATCH)\");if(TString(condor_tag)!="") fprintf(fP,"accounting_group = %s\", condor_tag);fprintf(fP,"output = %s/$(PID)_$(CWB_JOB_LAG)_%s.out\", full_condor_out_dir, condor_label);fprintf(fP,"error = %s/$(PID)_$(CWB_JOB_LAG)_%s.err\", full_condor_err_dir, condor_label);fprintf(fP,"log = %s/%s.log\", condor_log, condor_label);fprintf(fP,"notification = never\");fprintf(fP,"rank=memory\");fprintf(fP,"queue\");fclose(fP);char ofile_condor_dag[1024];sprintf(ofile_condor_dag,"%s/%s.dag", condor_dir, condor_label);ofstream out;out.open(ofile_condor_dag, ios::out);if(!out.good()) {cout<< "Error Opening File : "<< ofile_condor_dag<< endl;exit(1);} cout<< ofile_condor_dag<< endl;int ievt=0;vector< TString > | JTAG |
| char | ofile_condor_sub [1024] |
| float | phi |
| char | pm [8] |
| float | psi |
| float | theta |
| out close | ( | ) |
| exit | ( | 0 | ) |
| ifstream f_ev | ( | events_sorted | ) |
| if | ( | TString(condor_tag) | = ="" | ) |
Definition at line 29 of file cwb_condor_create_ced.C.
| if | ( | nIFO | = =2 | ) |
Definition at line 55 of file cwb_condor_create_ced.C.
| if | ( | (fP=fopen(ofile_condor_sub, "w")) | = = NULL | ) |
Definition at line 112 of file cwb_condor_create_ced.C.
| sprintf | ( | events_sorted | , |
| "%s/events_sorted.txt" | , | ||
| netdir | |||
| ) |
| sprintf | ( | condor_label | , |
| "%s.%s.R%s.ced" | , | ||
| data_label | , | ||
| cwb_merge_label. | Data(), | ||
| pp_label. | Data() | ||
| ) |
| sprintf | ( | ofile_condor_sub | , |
| "%s/%s.sub" | , | ||
| condor_dir | , | ||
| condor_label | |||
| ) |
| while | ( | ) |
Definition at line 159 of file cwb_condor_create_ced.C.
| char c3[8] |
Definition at line 64 of file cwb_condor_create_ced.C.
| char condor_label[1024] |
Definition at line 103 of file cwb_condor_create_ced.C.
| char events_sorted[256] |
Definition at line 59 of file cwb_condor_create_ced.C.
| FILE* fP =NULL |
Definition at line 111 of file cwb_condor_create_ced.C.
| float iacor |
Definition at line 65 of file cwb_condor_create_ced.C.
| float icc |
Definition at line 65 of file cwb_condor_create_ced.C.
| float icc2 |
Definition at line 65 of file cwb_condor_create_ced.C.
| float icc3 |
Definition at line 65 of file cwb_condor_create_ced.C.
| float icHH |
Definition at line 65 of file cwb_condor_create_ced.C.
| float idur |
Definition at line 67 of file cwb_condor_create_ced.C.
| int ifreq |
Definition at line 66 of file cwb_condor_create_ced.C.
| int ihigh |
Definition at line 66 of file cwb_condor_create_ced.C.
| double* ihrss = new double[nIFO] |
Definition at line 73 of file cwb_condor_create_ced.C.
| float ilag |
Definition at line 65 of file cwb_condor_create_ced.C.
| float ilik |
Definition at line 65 of file cwb_condor_create_ced.C.
| int ilow |
Definition at line 66 of file cwb_condor_create_ced.C.
| float ipen |
Definition at line 65 of file cwb_condor_create_ced.C.
| int irate |
Definition at line 68 of file cwb_condor_create_ced.C.
| float irho |
Definition at line 65 of file cwb_condor_create_ced.C.
| int irun |
Definition at line 68 of file cwb_condor_create_ced.C.
| int isize |
Definition at line 68 of file cwb_condor_create_ced.C.
| float islag |
Definition at line 65 of file cwb_condor_create_ced.C.
| double* iSNR = new double[nIFO] |
Definition at line 72 of file cwb_condor_create_ced.C.
| double* itime = new double[nIFO] |
Definition at line 71 of file cwb_condor_create_ced.C.
| float ivED |
Definition at line 65 of file cwb_condor_create_ced.C.
| float ivHH |
Definition at line 65 of file cwb_condor_create_ced.C.
| cout<< ofile_condor_sub << endl; char full_condor_dir[1024]; char full_condor_out_dir[1024]; char full_condor_err_dir[1024]; sprintf(full_condor_dir,"%s/%s",work_dir,condor_dir); sprintf(full_condor_out_dir,"%s/%s",work_dir,log_dir); sprintf(full_condor_err_dir,"%s/%s",work_dir,log_dir); fprintf(fP,"universe = vanilla\n"); fprintf(fP,"getenv = true\n"); fprintf(fP,"priority = $(PRI)\n"); fprintf(fP,"on_exit_hold = ( ExitCode != 0 )\n"); fprintf(fP,"request_memory = 2000\n"); fprintf(fP,"executable = ced.sh\n"); fprintf(fP,"job_machine_attrs = Machine\n"); fprintf(fP,"job_machine_attrs_history_length = 5\n"); fprintf(fP,"requirements = target.machine =!= MachineAttrMachine1 && target.machine =!= MachineAttrMachine2 && target.machine =!= MachineAttrMachine3 && target.machine =!= MachineAttrMachine4 && target.machine =!= MachineAttrMachine5\n"); fprintf(fP,"environment = CWB_JOBID=$(PID);CWB_GPS_EVENT=$(CWB_GPS_EVENT);CWB_INET_OPTIONS=$(CWB_INET_OPTIONS);CWB_MDC_FACTOR=$(CWB_MDC_FACTOR);CWB_JOB_LAG=$(CWB_JOB_LAG);CWB_CED_DIR=$(CWB_CED_DIR);CWB_BATCH=$(CWB_BATCH)\n"); if(TString(condor_tag)!="") fprintf(fP,"accounting_group = %s\n",condor_tag); fprintf(fP,"output = %s/$(PID)_$(CWB_JOB_LAG)_%s.out\n",full_condor_out_dir,condor_label); fprintf(fP,"error = %s/$(PID)_$(CWB_JOB_LAG)_%s.err\n",full_condor_err_dir,condor_label); fprintf(fP,"log = %s/%s.log\n",condor_log,condor_label); fprintf(fP,"notification = never\n"); fprintf(fP,"rank=memory\n"); fprintf(fP,"queue\n"); fclose(fP); char ofile_condor_dag[1024]; sprintf(ofile_condor_dag,"%s/%s.dag",condor_dir,condor_label); ofstream out; out.open(ofile_condor_dag,ios::out); if (!out.good()) {cout << "Error Opening File : " << ofile_condor_dag << endl;exit(1);} cout << ofile_condor_dag << endl; int ievt=0; vector<TString> JTAG |
Definition at line 157 of file cwb_condor_create_ced.C.
| char ofile_condor_sub[1024] |
Definition at line 108 of file cwb_condor_create_ced.C.
| float phi |
Definition at line 69 of file cwb_condor_create_ced.C.
| char pm[8] |
Definition at line 63 of file cwb_condor_create_ced.C.
| float psi |
Definition at line 69 of file cwb_condor_create_ced.C.
| float theta |
Definition at line 69 of file cwb_condor_create_ced.C.