Logo Coherent WaveBurst  
Reference Guide
Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
compare_bkg.csh
Go to the documentation of this file.
1 #!/bin/tcsh -f
2 
3 if ( $1 == '' || $2 == '' ) then
4  echo ""
5  echo 'compare_bkg mlabel ntuple'
6  echo ""
7  echo " this command does some comparisons between the rho distributions of two productions "
8  echo " the rho distribution of mlabel X from the current directory"
9  echo " vs the corresponding one of the ntuple Y "
10  echo " mlabel : merge label"
11  echo " ntuple : compare ntuple"
12  echo " "
13  echo ' Ex : compare_bkg M1 /home/salemi/NINJA2/test_bkg_2G_5/merge/test_bkg_2G_5.M2.root '
14  echo " "
15  exit
16 endif
17 
18 setenv CWB_MERGE_LABEL "$1"
19 setenv CWB_COMPARE_TREE "$2"
20 
21  root -n -l -b ${CWB_PPARMS_FILES} ${CWB_MACROS}/../postproduction/burst/compare_bkg.C
22 
23  root -n -l -b ${CWB_PPARMS_FILES} ${CWB_MACROS}/cwb_mkhtml_index.C
24  if ( $? != 0) then
25  echo ""
26  echo "cwb_mkhtml_index.C error : process terminated"
27  echo ""
28  exit
29  endif
30 
31 
32 
33  # root -n -l -b ${CWB_PPARMS_FILES} ${CWB_MACROS}/cwb_mkhtml_header.C
34  if ( $? != 0) then
35  echo ""
36  echo "cwb_mkhtml_header.C error : process terminated"
37  echo ""
38  exit
39  endif
40 
41  # root -n -l -b ${CWB_PPARMS_FILES} ${CWB_MACROS}/../postproduction/cbc/cwb_mkhtml_cbc.C
42  if ( $? != 0) then
43  echo ""
44  echo "cwb_mkhtml_ebbh.C error : process terminated"
45  echo ""
46  exit
47  endif
48 
49 
int n
Definition: cwb_net.C:10
int l
Definition: cbc_plots.C:434
exit(0)