Logo coherent WaveBurst  
Library Reference Guide
Logo
gwosc_parameters_gw170817_lhv_gwtc-1.C
Go to the documentation of this file.
1 {
2  strcpy(analysis,"2G");
3 
4  nIFO = 3;
5  cfg_search = 'r';
6  optim=false;
7 
8  strcpy(ifo[0],"L1");
9  strcpy(ifo[1],"H1");
10  strcpy(ifo[2],"V1");
11  strcpy(refIFO,"L1");
12 
13  //lags
14  lagSize = 1;
15  lagStep = 1.;
16  lagOff = 0;
17  lagMax = 0;
18 
19  //superlags
20  slagSize = 0; // number of super lags (simulation=1) - if slagSize=0 -> Standard Segments
21  slagMin = 0;
22  slagMax = 0;
23  slagOff = 0;
24 
25  //jobs
26  segLen = 1200;
27  segMLS = 600;
28  segTHR = 200;
29  segEdge = 10;
30 
31  //frequency
32  fLow = 16.; // low frequency of the search
33 // fLow = 64.; // kill V1 noise - Used with Tukey Window
34  fHigh = 1024.; // high frequency of the search
35 
36  levelR = 3;
37  l_low = 4; // low frequency resolution level
38  l_high = 10; // high frequency resolution level
39 
40  strcpy(wdmXTalk,"wdmXTalk/OverlapCatalog16-1024.bin");
41 
43 
44  bpp = 0.001;
45  subnet = 0.5;
46 // subnet = 0.0; // Used with Tukey Window
47  subcut = 0.0;
48  netRHO = 5.5;
49  netCC = 0.5;
50  Acore = 1.7;
51  Tgap = 0.2;
52 // Tgap = 0.8; // Used with Tukey Window
53  Fgap = 128.0;
54  delta = 0.5;
55  cfg_gamma = -1.0;
56  LOUD = 300;
57 
58  pattern = 5;
59 
60  iwindow = 30.;
61 
62  //precision=GetPrecision(100,5);
63 
64 // nSky = -99; // save pixels skymap probability pixels up to cumulative prob < 0.99
65  nSky=196608; // save all pixels
66 
67 // jobfOptions = CWB_JOBF_SAVE_CSTRAIN; // save cstrain data into the final ROOT file
68 
69  //simulation
70  nfactor = 1;
72 
73  strcpy(channelNamesRaw[0],"L1:DCH-CLEAN_STRAIN_C02_T1700406_v3"); // https://dcc.ligo.org/LIGO-T1700406/public - L1 Glitch Removed
74 // strcpy(channelNamesRaw[0],"L1:GWOSC-4KHZ_R1_STRAIN"); // Used with Tukey Window
75  strcpy(channelNamesRaw[1],"H1:GWOSC-4KHZ_R1_STRAIN");
76  strcpy(channelNamesRaw[2],"V1:GWOSC-4KHZ_R1_STRAIN");
77 
78  strcpy(frFiles[0],"input/L1_frames.in");
79  strcpy(frFiles[1],"input/H1_frames.in");
80  strcpy(frFiles[2],"input/V1_frames.in");
81 
82  // dq file list
83  // {ifo, dqcat_file, dqcat[0/1/2], shift[sec], inverse[false/true], 4columns[true/false]}
84 // #define NDFQ 12 // Used with Tukey Window
85  #define NDFQ 11
88  {"L1" ,"input/cwb_period.txt", CWB_CAT0, 0., false, false},
89  {"H1" ,"input/cwb_period.txt", CWB_CAT0, 0., false, false},
90  {"V1" ,"input/cwb_period.txt", CWB_CAT0, 0., false, false},
91  {"L1" ,"../DQ/L1_cat0.txt", CWB_CAT0, 0., false, false},
92  {"H1" ,"../DQ/H1_cat0.txt", CWB_CAT0, 0., false, false},
93  {"V1" ,"../DQ/V1_cat0.txt", CWB_CAT0, 0., false, false},
94  {"L1" ,"../DQ/L1_cat1.txt", CWB_CAT1, 0., false, false},
95  {"H1" ,"../DQ/H1_cat1.txt", CWB_CAT1, 0., false, false},
96  {"V1" ,"../DQ/V1_cat1.txt", CWB_CAT1, 0., false, false},
97  //{"L1" ,"../DQ/L1_cat2.txt", CWB_CAT2, 0., false, false},
98  //{"L1" ,"input/gw170817_twwin_cat2.txt", CWB_CAT2, 0., false, false}, // Used with Tukey Window
99  {"H1" ,"../DQ/H1_cat2.txt", CWB_CAT2, 0., false, false},
100  {"V1" ,"../DQ/V1_cat2.txt", CWB_CAT2, 0., false, false}
101  };
102  for(int i=0;i<NDFQ;i++) DQF[i]=dqf[i];
103 
104  plugin = TMacro("macro/CWB_Plugin_WF.C");
105  configPlugin = TMacro("macro/CWB_Plugin_Config.C"); // Macro config
106 
107 /*
108  plugin = TMacro("macro/CWB_Plugin_TukeyWindow_WF.C"); // Used with Tukey Window
109 
110  TString opttw = ""; // NOTE : add space at the end of each line
111 
112  opttw += "tw_gps_time=1187008881.38 "; // TW central GPS time
113  opttw += "tw_width=0.34 "; // TW width
114  opttw += "tw_range=0.14 "; // TW range
115  opttw += "tw_ced_spectrogram_zmax=1e-3 "; // TW set zmax in CED spectrograms
116  opttw += "tw_dump=false "; // TW dump ascii file
117 
118  strcpy(parPlugin,opttw.Data()); // set TW plugin parameters
119 */
120 
121  TString optwf = ""; // NOTE : add space at the end of each line
122 
123  //optwf += "wf_output_disable=root "; // disable output root file (to be used when QLveto is enabled)
124  optwf += "wf_output_enable=root "; // enable output root file (to be used when QLveto is enabled)
125  optwf += "wf_output_disable=inj "; // disable save injection to the output root file
126  optwf += "wf_output_enable=rec "; // enable save reconstructed waveform to the output root file
127  //optwf += "wf_output_disable=wht "; // disable save whitened data to the output root file
128  //optwf += "wf_output_disable=dat "; // disable save rec+null data to the output root file
129  //optwf += "wf_output_disable=nul "; // disable save null data to the output root file
130  optwf += "wf_output_enable=wht "; // enable save whitened data to the output root file
131  optwf += "wf_output_enable=dat "; // enable save rec+null data to the output root file
132  optwf += "wf_output_enable=nul "; // enable save null data to the output root file
133 
134  optwf += "wf_inj_tstep=150.000 "; // is the injection step time (used only for PE simulations, must be >0)
135 
136  optwf += "sn_strain_file_name=input/L1_ASD.txt "; // add L1 strain file name to first detector
137  optwf += "sn_strain_file_name=input/H1_ASD.txt "; // add H1 strain file name to second detector
138  optwf += "sn_strain_file_name=input/V1_ASD.txt "; // add V1 strain file name to second detector
139  optwf += "sn_seed=1 "; // add seed for random noise generation to L1 detector
140  optwf += "sn_seed=2 "; // add seed for random noise generation to H1 detector
141  optwf += "sn_seed=3 "; // add seed for random noise generation to V1 detector
142 
143  strcat(parPlugin,optwf.Data()); // set WF plugin parameters
144  strcpy(comment,"GWOSC");
145 }
char wdmXTalk[1024]
strcpy(ifo[0],"L1")
char parPlugin[1024]
char channelNamesRaw[NIFO_MAX][50]
TString("c")
char comment[1024]
char frFiles[NIFO_MAX+1][256]
Definition: test_config1.C:166
char refIFO[4]
Definition: test_config1.C:14
i drho i
char ifo[NIFO_MAX][8]
dqfile DQF[12]
Definition: test_config1.C:171
TMacro plugin
TMacro configPlugin