Logo coherent WaveBurst  
Config Reference Guide
Logo
user_pparameters.C
Go to the documentation of this file.
1 #define RUN_LABEL "BurstLD O3 #CWB_CALIB_VER K#CWB_CHUNK_NUMBER "
2 //#define CAT2_VETO
3 //#define CAT3_VETO
4 #define HVETO_VETO
5 
6 {
7  // #include <O3/SEARCHES/OFFLINE/BurstLD/LH/PP_Cuts.hh>
8  #include <O3/SEARCHES/OFFLINE/BurstLD/LH/PP_2bin_Cuts.hh>
9  #include <O3/CHUNKS/Chunks_Cuts.hh>
10 
11  calibVer = "#CWB_CALIB_VER";
12 
13  // read far vs rho background files from config/far_rho_bin1.lst & config/far_rho_bin2.lst (must be defined by the user)
14  TString far_bin1_cut_file[1024];
15  vector<TString> xfile_bin1 = CWB::Toolbox::readFileList("config/far_rho_bin1.lst");
16  for(int n=0;n<xfile_bin1.size();n++) far_bin1_cut_file[n]=xfile_bin1[n];
17  TString far_bin2_cut_file[1024];
18  vector<TString> xfile_bin2 = CWB::Toolbox::readFileList("config/far_rho_bin2.lst");
19  for(int n=0;n<xfile_bin2.size();n++) far_bin2_cut_file[n]=xfile_bin2[n];
20 
21  T_cor = 0.0; // cc cut
22  T_cut = 0.0; // rho high frequency cut
23  T_out = 0.0;
24  hours = 1.; // bin size in hours for rate vs time plot
25 
26  T_ifar = 50. ; // ifar cut yrs
27 
28  pp_irho = 0;
29  pp_inetcc = 0;
30  pp_rho_min = 5.0;
31  pp_rho_max = 10;
32  pp_drho = 0.1;
33 
35 
36  T_win=1200;
37  pp_hrss_min = 1e-22;
38  pp_hrss_max = 1e-20;
39 
40  // pp_jet_benckmark = -1;
41  //pp_mem_benckmark = -1;
42 
43  // ----------------------------------------------------------
44  // VETO cuts
45  // dq file list
46  // {ifo, dqcat_file, dqcat[0/1/2], shift[sec], inverse[false/true], 4columns[true/false]}
47  // ----------------------------------------------------------
48  const int nvdqf=2;
49  dqfile vdqf[nvdqf] = {
50  {"L1" ,"", CWB_HVETO, 0., false, false},
51  {"H1" ,"", CWB_HVETO, 0., false, false}
52  };
53 
54  sprintf(vdqf[0].file, "%s/O3/DATA/%s/HVETO/L1/HVETO_L1_O3A_SEGMENTS_MERGED.txt",cwb_config_env,calibVer.Data());
55  sprintf(vdqf[1].file, "%s/O3/DATA/%s/HVETO/H1/HVETO_H1_O3A_SEGMENTS_MERGED.txt",cwb_config_env,calibVer.Data());
56 
57 }
pp_rho_min
dqfile vdqf[nvdqf]
pp_irho
pp_rho_max
pp_max_nloudest_list
pp_inetcc
pp_drho
const int nvdqf
sprintf(vdqf[0].file, "%s/O1/DATA/%s/HVETO/L1/HVETO_L1_ALLO1_MERGED.txt", cwb_config_env, calibVer.Data())
calibVer
TString far_bin1_cut_file[100]
pp_hrss_max
pp_hrss_min
TString far_bin2_cut_file[100]
vector< TString > xfile_bin1
vector< TString > xfile_bin2
shift breaksw case n
Definition: cwb_clchunk.csh:75