Logo Coherent WaveBurst  
Reference Guide
Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cbc_plots_ifar.csh
Go to the documentation of this file.
1 #!/bin/tcsh -f
2 
3 onintr irq_ctrlc
4 
5 if ( $1 == '' ) then
6  echo ""
7  echo "cb_plots_ifar mlabel "
8  echo ""
9  echo " this command produces cbc plots + html page for sim4 simulations"
10  echo " when given a tree with ifar branch it produces also FAD plots"
11  echo ""
12  echo " mlabel : merge label"
13 # echo " bkg_tree: entire path to the the tree root file "
14  echo " Ex : cbc_plots_ifar M1 "
15  echo " "
16  exit
17 
18 else
19  setenv CWB_MERGE_LABEL "$1"
20  setenv CWB_LAG_NUMBER -1
21  setenv CWB_SLAG_NUMBER -1
22  if ( $2 != '' ) then
23  setenv CWB_BKG_TREE "$2"
24  endif
25 endif
26 
27 #set CWB_XPARM = "setenv CWB_EMPARAMETERS_FILE"
28 #set CWB_XPPARM = "setenv CWB_UPPARAMETERS_FILE"
29 
30 
31 # root -n -l -b ${CWB_PPARMS_FILES} ${CWB_MACROS}/../postproduction/cbc/cbc_plots_sim4.C
32  root -n -l -b ${CWB_PPARMS_FILES} /work/salemi/git/cWB/library/tools/cwb/postproduction/cbc/cbc_plots_sim4_ifar.C
33 #(${CWB_XPARM};${CWB_XPPARM};root -n -l -b ${CWB_PPARMS_FILES} ${CWB_MACROS}/../postproduction/cbc/cbc_plots_sim4_ifar.C)
34 # root -n -l ${CWB_PPARMS_FILES} ${CWB_MACROS}/../postproduction/cbc/cbc_plots_sim4_ifar.C
35  if ( $? != 0) then
36  echo ""
37  echo "cbc_plots_ifar.C error : process terminated"
38  echo ""
39  exit
40  endif
41 
42  root -n -l -b ${CWB_PPARMS_FILES} ${CWB_MACROS}/cwb_mkhtml_index.C
43  if ( $? != 0) then
44  echo ""
45  echo "cwb_mkhtml_index.C error : process terminated"
46  echo ""
47  exit
48  endif
49 
50  root -n -l -b ${CWB_PPARMS_FILES} ${CWB_MACROS}/cwb_mkhtml_header.C
51  if ( $? != 0) then
52  echo ""
53  echo "cwb_mkhtml_header.C error : process terminated"
54  echo ""
55  exit
56  endif
57 
58  root -n -l -b ${CWB_PPARMS_FILES} /work/salemi/git/cWB/library/tools/cwb/postproduction/cbc/cwb_mkhtml_cbc.C
59  if ( $? != 0) then
60  echo ""
61  echo "cwb_mkhtml_cbc.C error : process terminated"
62  echo ""
63  exit
64  endif
65 
66  unsetenv CWB_MERGE_LABEL
67  unsetenv CWB_BKG_TREE
68 
69 exit 0
70 irq_ctrlc:
71  ps r | grep root | awk '{print $1}' | xargs kill -9
72  exit 1
73 
int n
Definition: cwb_net.C:10
regression r
Definition: Regression_H1.C:44
TCut cbc("cbc","log10(penalty)<0.5 && chirp[1]>1")
int l
Definition: cbc_plots.C:434
Definition: cwb.hh:119
xargs kill
exit(0)