Logo coherent WaveBurst  
Library Reference Guide
Logo
gwosc_parameters_imbhb_lh_gwtc-2.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 = 512.; // high frequency of the search
33 
34  levelR = 4;
35  l_low = 3; // low frequency resolution level
36  l_high = 8; // high frequency resolution level
37 
38  strcpy(wdmXTalk,"wdmXTalk/OverlapCatalog-ilLev3-hLev9-iNu6-P10.xbin"); // 1KHz
39 
41 
42  bpp = 0.001;
43  subnet = 0.5;
44  subcut = 0.0;
45  netRHO = 5.0;
46  netCC = 0.5;
47  Acore = 1.7;
48  Tgap = 0.2;
49  Fgap = 128.0;
50  delta = 0.5;
51  cfg_gamma = -1.0;
52  LOUD = 300;
53 
54  pattern = 10;
55 
56  iwindow = 30.;
57 
58  //precision=GetPrecision(100,5);
59 
60 // nSky = -99; // save pixels skymap probability pixels up to cumulative prob < 0.99
61  nSky=196608; // save all pixels
62 
63  //simulation
64  nfactor = 1;
66 
67  strcpy(channelNamesRaw[0],"L1:GWOSC-4KHZ_R1_STRAIN");
68  strcpy(channelNamesRaw[1],"H1:GWOSC-4KHZ_R1_STRAIN");
69 
70  strcpy(frFiles[0],"input/L1_frames.in");
71  strcpy(frFiles[1],"input/H1_frames.in");
72 
73  // dq file list
74  // {ifo, dqcat_file, dqcat[0/1/2], shift[sec], inverse[false/true], 4columns[true/false]}
75  nDQF=8;
76  dqfile dqf[8]={
77  {"L1" ,"input/cwb_period.txt", CWB_CAT0, 0., false, false},
78  {"H1" ,"input/cwb_period.txt", CWB_CAT0, 0., false, false},
79  {"L1" ,"../DQ/L1_cat0.txt", CWB_CAT0, 0., false, false},
80  {"H1" ,"../DQ/H1_cat0.txt", CWB_CAT0, 0., false, false},
81  {"L1" ,"../DQ/L1_cat1.txt", CWB_CAT1, 0., false, false},
82  {"H1" ,"../DQ/H1_cat1.txt", CWB_CAT1, 0., false, false},
83  {"L1" ,"../DQ/L1_cat2.txt", CWB_CAT2, 0., false, false},
84  {"H1" ,"../DQ/H1_cat2.txt", CWB_CAT2, 0., false, false}
85  };
86  for(int i=0;i<8;i++) DQF[i]=dqf[i];
87 
88 
89  plugin = TMacro("macro/CWB_Plugin_O3aConditioning_WF.C"); // Macro source
90  //plugin.SetTitle("macro/CWB_Plugin_WF_C.so");
91  configPlugin = TMacro("macro/CWB_Plugin_Config.C"); // Macro config
92 
93  TString optwf = ""; // NOTE : add space at the end of each line
94 
95  //optwf += "wf_output_disable=root "; // disable output root file (to be used when QLveto is enabled)
96  optwf += "wf_output_enable=root "; // enable output root file (to be used when QLveto is enabled)
97  optwf += "wf_output_disable=inj "; // disable save injection to the output root file
98  optwf += "wf_output_enable=rec "; // enable save reconstructed waveform to the output root file
99  //optwf += "wf_output_disable=wht "; // disable save whitened data to the output root file
100  //optwf += "wf_output_disable=dat "; // disable save rec+null data to the output root file
101  //optwf += "wf_output_disable=nul "; // disable save null data to the output root file
102  optwf += "wf_output_enable=wht "; // enable save whitened data to the output root file
103  optwf += "wf_output_enable=dat "; // enable save rec+null data to the output root file
104  optwf += "wf_output_enable=nul "; // enable save null data to the output root file
105 
106  optwf += "wf_inj_tstep=150.000 "; // is the injection step time (used only for PE simulations, must be >0)
107 
108  optwf += "sn_strain_file_name=input/L1_ASD.txt "; // add L1 strain file name to first detector
109  optwf += "sn_strain_file_name=input/H1_ASD.txt "; // add H1 strain file name to second detector
110  optwf += "sn_seed=1 "; // add seed for random noise generation to L1 detector
111  optwf += "sn_seed=2 "; // add seed for random noise generation to H1 detector
112 
113  strcpy(parPlugin,optwf.Data()); // set WF plugin parameters
114  strcpy(comment,"GWOSC");
115 }
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
char refIFO[4]
Definition: test_config1.C:14
i drho i
char ifo[NIFO_MAX][8]
dqfile DQF[12]
Definition: test_config1.C:171
strcpy(ifo[0],"L1")
TMacro plugin
TMacro configPlugin