Logo Coherent WaveBurst  
Reference Guide
Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
cwb_condor_create_ced.C File Reference

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\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
 
char ofile_condor_sub [1024]
 
float phi
 
char pm [8]
 
float psi
 
float theta
 

Function Documentation

out close ( )
exit ( )
ifstream f_ev ( events_sorted  )
if ( TString(condor_tag)  = ="")

Definition at line 11 of file cwb_condor_create_ced.C.

if ( nIFO  = =2)

Definition at line 37 of file cwb_condor_create_ced.C.

if ( (fP=fopen(ofile_condor_sub,"w"))  = = NULL)

Definition at line 94 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 141 of file cwb_condor_create_ced.C.

Variable Documentation

char c3[8]

Definition at line 46 of file cwb_condor_create_ced.C.

char condor_label[1024]

Definition at line 85 of file cwb_condor_create_ced.C.

char events_sorted[256]

Definition at line 41 of file cwb_condor_create_ced.C.

FILE* fP =NULL

Definition at line 93 of file cwb_condor_create_ced.C.

float iacor

Definition at line 47 of file cwb_condor_create_ced.C.

float icc

Definition at line 47 of file cwb_condor_create_ced.C.

float icc2

Definition at line 47 of file cwb_condor_create_ced.C.

float icc3

Definition at line 47 of file cwb_condor_create_ced.C.

float icHH

Definition at line 47 of file cwb_condor_create_ced.C.

float idur

Definition at line 49 of file cwb_condor_create_ced.C.

int ifreq

Definition at line 48 of file cwb_condor_create_ced.C.

int ihigh

Definition at line 48 of file cwb_condor_create_ced.C.

double* ihrss = new double[nIFO]

Definition at line 55 of file cwb_condor_create_ced.C.

float ilag

Definition at line 47 of file cwb_condor_create_ced.C.

float ilik

Definition at line 47 of file cwb_condor_create_ced.C.

int ilow

Definition at line 48 of file cwb_condor_create_ced.C.

float ipen

Definition at line 47 of file cwb_condor_create_ced.C.

int irate

Definition at line 50 of file cwb_condor_create_ced.C.

float irho

Definition at line 47 of file cwb_condor_create_ced.C.

int irun

Definition at line 50 of file cwb_condor_create_ced.C.

int isize

Definition at line 50 of file cwb_condor_create_ced.C.

float islag

Definition at line 47 of file cwb_condor_create_ced.C.

double* iSNR = new double[nIFO]

Definition at line 54 of file cwb_condor_create_ced.C.

double* itime = new double[nIFO]

Definition at line 53 of file cwb_condor_create_ced.C.

float ivED

Definition at line 47 of file cwb_condor_create_ced.C.

float ivHH

Definition at line 47 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 139 of file cwb_condor_create_ced.C.

char ofile_condor_sub[1024]

Definition at line 90 of file cwb_condor_create_ced.C.

float phi

Definition at line 51 of file cwb_condor_create_ced.C.

char pm[8]

Definition at line 45 of file cwb_condor_create_ced.C.

float psi

Definition at line 51 of file cwb_condor_create_ced.C.

float theta

Definition at line 51 of file cwb_condor_create_ced.C.