Logo Coherent WaveBurst  
Reference Guide
Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cWB_conf.py
Go to the documentation of this file.
1 #!/usr/bin/python
2 
3 import commands, os, sys
4 from glue.segments import *
5 from glue.segmentsUtils import *
6 import getpass
7 
8 #general setup
9 user=getpass.getuser()
10 title="TITLE"
11 accounting_group="ligo.prod.o2.burst.allsky.cwbonline"
12 
13 label="LABEL"
14 online_dir="/home/%s/online/%s"%(user,label)
15 
16 ifos=["L1","H1"]
17 
18 channelname={}
19 DQ_channel={}
20 DQ_channel_rate={}
21 bitmask={}
22 for ifo in ifos:
23  channelname[ifo]="%s:GDS-CALIB_STRAIN"%(ifo)
24  DQ_channel[ifo]=["%s:GDS-CALIB_STATE_VECTOR"%(ifo),"%s:DMT-DQ_VECTOR"%(ifo)]
25  DQ_channel_rate[ifo]=[16,16]
26  bitmask[ifo]=[3,1]
27 
28 inj_name=["BURST","CBC","STOCH","DETCHAR"]
29 inj_bitmask=[128,64,32,256]
30 
31 #Job setup
32 run_offset=0
33 job_offset=8
34 job_timeout=90*60
35 #min_seg_duration=30
36 seg_duration=180
37 moving_step=60
38 look_back=5*60
39 debug=0
40 sleep=3
41 max_jobs=20
42 #science_segment_offset=[30]
43 
44 #run_start=1126256840
45 #run_end=1126260736
46 
47 #General cWB parameters
48 cwb_par=""" //frequency
49  fLow = 16.; // low frequency of the search
50  fHigh = 2048.; // high frequency of the search
51 
52  levelR = 2;
53  l_low = 4; // low frequency resolution level
54  l_high = 10; // high frequency resolution level
55 
56  strcpy(wdmXTalk,"wdmXTalk/OverlapCatalog16-1024.bin");
57 
58  healpix=7;
59  nSky=196608;
60 
61  bpp = 0.001;
62  subnet = 0.5;
63  subcut = 0.0;
64  netRHO = 5.0;
65  netCC = 0.5;
66  Acore = 1.7;
67  Tgap = 0.2;
68  Fgap = 128.0;
69  delta = 0.5;
70  gamma = -1.0;
71  LOUD = 300;
72 
73  pattern = 10;
74 
75  //simulation
76  nfactor = 1;
77  simulation = 0;"""
78 #Background information
79 
80 bkg_delay=5*60
81 bkg_nlags=500
82 bkg_job_duration=600
83 bkg_job_minimum=600
84 bkg_split=1
85 bkg_njobs=20
86 bkg_framesize=4
87 
88 #Directories
89 
90 run_dir=online_dir+"/RUN_cWB"
91 jobs_dir="JOBS"
92 seg_dir="SEGMENTS"
93 zerolag_par="%s/config/user_parameters.C"%(run_dir)
94 bkg_par="%s/config/user_parameters_bkg.C"%(run_dir)
95 pp_par="%s/config/user_pparameters.C"%(run_dir)
96 #pe_par="%s/config/user_parameters_pe.C"%(run_dir)
97 #pe_plugin="%s/tools/online/cWB_Plugin_PE_on.C"%(os.environ['HOME_WAT'])
98 qveto_plugin="%s/tools/cwb/plugins/CWB_Plugin_QLWveto.C"%(os.environ['HOME_WAT'])
99 
100 bkg_run_dir="%s/TIME_SHIFTS"%(online_dir)
101 postprod_dir="POSTPRODUCTION"
102 considered_segments_file="considered.txt"
103 processed_segments_file="processed.txt"
104 running_segments_file="running.txt"
105 missing_segments_file="missing.txt"
106 run_segments_file="run.txt"
107 job_segments_file="jobs.txt"
108 
109 if (os.environ['SITE_CLUSTER']=="CIT"):
110  frames_dir=["/dev/shm/llhoft"]*2
111  bkg_dir=["/scratch/llcache/llhoft/"]*2
112  bkg_fnames=["L-L1_llhoft-","H-H1_llhoft-"]
113  log_path="/usr1/%s"%(user)
114  web_dir="/home/%s/public_html/online/%s"%(user,label)
115  web_link="https://ldas-jobs.ligo.caltech.edu/~%s/online/%s"%(user,label)
116  accounting_group_user="marco.drago"
117  condor_requirements="""Requirements = (TARGET.Online_Burst_cWB =?= True)
118 +Online_Burst_cWB=True"""
119 if (os.environ['SITE_CLUSTER']=="ATLAS"):
120  frames_dir=["/dev/shm/llhoft"]*2
121  bkg_dir=["/atlas/data/llcache"]*2
122  bkg_fnames=["L1-llhoft-","H1-llhoft-"]
123  log_path="/local/user/%s"%(user)
124  web_dir="/home/%s/WWW/LSC/online/%s"%(user,label)
125  web_link="https://atlas3.atlas.aei.uni-hannover.de/~%s/LSC/online/%s"%(user,label)
126  log_dir="/atlas/user/atlas5/%s/%s"%(user,label)
127  accounting_group_user="marco.drago"
128 
129 #Data Quality
130 apply_veto=False
131 
132 #E-mails
133 emails=["marco.drago@aei.mpg.de","klimenko@phys.ufl.edu","gabriele.vedovato@lnl.infn.it","francesco.salemi@aei.mpg.de","shubhanshu.tiwari@gssi.infn.it","clazzaro@pd.infn.it","maria.tringali@unitn.it","filipe.dasilva@ufl.edu"]
134 
135 #Library information
136 version="1"
137 version_wat="2G"
138 search="r"
139 optim="false"
140 
141 #gracedb
142 gracedb_group="Burst"
143 gracedb_analysis="CWB"
144 gracedb_search="AllSky"
145 
146 #pp threshold
147 id_rho=0
148 #th_rho_off=8.
149 th_far_off=3.17e-08
150 th_rho_lum=6.
151 id_cc=0
152 th_cc=0.6
153 
154 #TCuts
155 #Cuts_file=""
156 #Cuts_list=["",""]
157 #Cuts_name=["",""]
158