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