Logo Coherent WaveBurst  
Reference Guide
Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cbc_plots.sh
Go to the documentation of this file.
1 if [[ -z $1 ]]; then
2  echo ""
3  echo 'cbc_plots mlabel bkg_tree(optional) '
4  echo ""
5  echo " this command produces cbc plots + html page"
6  echo " when given the bkg tree it produces also FAD plots"
7  echo ""
8  echo " mlabel : merge label"
9  echo " bkg_tree: entire path to the the tree root file "
10  echo ' Ex : cbc_plots M1 ../TEST1/merge/wave_TEST1.M2.root '
11  echo " "
12  return 0
13 
14 else
15  export CWB_MERGE_LABEL="$1"
16 
17  if [[ -n $2 ]]; then
18 
19  export CWB_BKG_TREE="$2"
20  fi
21 fi
22 
23  #root -n -l -b ${CWB_PPARMS_FILES} ${CWB_MACROS}/../postproduction/cbc/cbc_plots.C
24  root -n -l ${CWB_PPARMS_FILES} ${CWB_MACROS}/../postproduction/cbc/cbc_plots.C
25  if [[ $? != 0 ]]; then
26  echo ""
27  echo "cbc_plots.C error : process terminated"
28  echo ""
29  return 0
30  fi
31 
32  root -n -l -b ${CWB_PPARMS_FILES} ${CWB_MACROS}/cwb_mkhtml_index.C
33  if [[ $? != 0 ]]; then
34  echo ""
35  echo "cwb_mkhtml_index.C error : process terminated"
36  echo ""
37  return 0
38  fi
39 
40  root -n -l -b ${CWB_PPARMS_FILES} ${CWB_MACROS}/cwb_mkhtml_header.C
41  if [[ $? != 0 ]]; then
42  echo ""
43  echo "cwb_mkhtml_header.C error : process terminated"
44  echo ""
45  return 0
46  fi
47 
48  root -n -l -b ${CWB_PPARMS_FILES} ${CWB_MACROS}/../postproduction/cbc/cwb_mkhtml_cbc.C
49  if [[ $? != 0 ]]; then
50  echo ""
51  echo "cwb_mkhtml_ebbh.C error : process terminated"
52  echo ""
53  return 0
54  fi
55 
56  unset CWB_MERGE_LABEL
57  unset CWB_BKG_TREE
58 
59 
60 
61 
int n
Definition: cwb_net.C:10
wavearray< double > z
Definition: Test10.C:32
TCut cbc("cbc","log10(penalty)<0.5 && chirp[1]>1")
int l
Definition: cbc_plots.C:434