Logo Coherent WaveBurst  
Reference Guide
Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
esetIFAR.C
Go to the documentation of this file.
1 {
2  // Definitions of the search bins used for the GW150914 analysis
3  #include "../../cwb/postproduction/O1/GW150914_search_bins.hh"
4 
5  // Merge Label
6  TString merge_label = "M1.V_cat2LH_hvetoLH_cat3LH";
7 
8  // Definition of the FAR file names
9  TString far_dir = "../ER8b_12Sep20Oct_C01_BKG_LF_rMRA_run1ato10a/report/dump/";
10  TString far_eunmodeled = far_dir+"FARvsRHO_ER8b_12Sep20Oct_C01_BKG_LF_rMRA_run1ato10a_eunmodeled.txt";
11  TString far_econstrained = far_dir+"FARvsRHO_ER8b_12Sep20Oct_C01_BKG_LF_rMRA_run1ato10a_econstrained.txt";
12  TString far_chirp = far_dir+"FARvsRHO_ER8b_12Sep20Oct_C01_BKG_LF_rMRA_run1ato10a_chirp.txt";
13 
14  char cmd[1024];
15 
16  // add ifar parameter to the wave root file for the eunmodeled bin
17  sprintf(cmd,"${CWB_SCRIPTS}/cwb_setifar.csh %s \"%s\" %s eunmodeled exclusive",
18  merge_label.Data(),eunmodeled.GetTitle(),far_eunmodeled.Data());
19  cout << cmd << endl;
20  gSystem->Exec(cmd);
21 
22  // add ifar parameter to the wave root file for the econstrained bin
23  sprintf(cmd,"${CWB_SCRIPTS}/cwb_setifar.csh %s.S_eunmodeled \"%s\" %s econstrained exclusive",
24  merge_label.Data(),econstrained.GetTitle(),far_econstrained.Data());
25  cout << cmd << endl;
26  gSystem->Exec(cmd);
27 
28  // add ifar parameter to the wave root file for the chirp bin
29  sprintf(cmd,"${CWB_SCRIPTS}/cwb_setifar.csh %s.S_eunmodeled.S_econstrained \"%s\" %s chirp exclusive",
30  merge_label.Data(),chirp.GetTitle(),far_chirp.Data());
31  cout << cmd << endl;
32  gSystem->Exec(cmd);
33 
34  exit(0);
35 }
TString far_dir
Definition: esetIFAR.C:9
TCut chirp
TString("c")
TString far_econstrained
Definition: esetIFAR.C:11
TCut eunmodeled
TString merge_label
sprintf(cmd,"${CWB_SCRIPTS}/cwb_setifar.csh %s \"%s\" %s eunmodeled exclusive", merge_label.Data(), eunmodeled.GetTitle(), far_eunmodeled.Data())
TString far_chirp
Definition: esetIFAR.C:12
TString far_eunmodeled
Definition: esetIFAR.C:10
char cmd[1024]
Definition: esetIFAR.C:14
exit(0)
TCut econstrained