5 #include "CWB_Plugin.h"
11 cout <<
"Execute CWB_PluginConfig.C ..." << endl;
14 CWB_PLUGIN_IMPORT(
network**,net);
17 CWB_PLUGIN_IMPORT(
int*,gIFACTOR);
20 CWB_PLUGIN_IMPORT(CWB::mdc*,
MDC);
23 CWB_PLUGIN_IMPORT(CWB::config**,cfg);
29 {1, 1126051217, 1127271617},
30 {2, 1127271617, 1128299417},
31 {3, 1128299417, 1129383017},
32 {4, 1129383017, 1130754617},
33 {5, 1130754617, 1132104617},
34 {6, 1132104617, 1133173817},
35 {7, 1133173817, 1134450017},
36 {8, 1134450017, 1135652417},
37 {9, 1135652417, 1137258496}
44 CWB_PLUGIN_CHECK(
int*,xstop,check);
47 CWB_PLUGIN_IMPORT(
int*,xstart);
48 CWB_PLUGIN_IMPORT(
int*,xstop);
68 while((*xstart>SEGS[k][1]) && (k<9)) {
70 if(*xstop<SEGS[k][2]){cout <<
"Segment is fully included in chunk " << SEGS[k][0] <<
" " << SEGS[k][1] <<
" " << SEGS[k][2] << endl;
break;}
72 if (*xstart<SEGS[k][2]){cout <<
"Segment is not fully included in chunk " << SEGS[k][0] <<
" " << SEGS[k][1] <<
" " << SEGS[k][2] << endl;}
80 TString IDIR =
"/work/salemi/git/lvc-rates-and-pop/share/O2/injection_files";
81 sprintf(
st,
"--xml %s/O1_%d/bbh_broad_isotropic-%d-%d.xml", IDIR.Data(), SEGS[k][0], SEGS[k][1], SEGS[k][2]);
83 cout <<
"Opening XML file: " <<
st << endl;
86 inspOptions+=
" --dir "+TString((*cfg)->tmp_dir)+
" ";
sprintf(tag,"wave_%s", data_label)