All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CAFAna/build_dicts.sh
Go to the documentation of this file.
1 #!/bin/bash
2 
3 INCS="-I$MRB_INSTALL/sbnana/$SBNANA_VERSION/include/
4 # -I$MRB_INSTALL/sbnana/$SBNANA_VERSION/include/sbnana/
5 # -I$MRB_INSTALL/sbnana/$SBNANA_VERSION/include/sbnana/CAFAna
6  -I$MRB_INSTALL/sbnanaobj/$SBNANAOBJ_VERSION/include/
7  -I$SRPROXY_INC
8  -I$EIGEN_INC
9  -I$OSCLIB_INC"
10 
11 LIBDIR=$MRB_INSTALL/sbnana/$SBNANA_VERSION/${CET_SUBDIR}.${MRB_QUALS/:/.}/lib/
12 #LIBS="-L$LIBDIR -lCAFAnaCore"
13 
14 DIRS="Analysis Core Cuts Experiment Extrap Prediction Systs Vars"
15 
16 find $DIRS -name '*.h' | grep -v CalcsNuFit_cdr.h | grep -v Prolog.h | grep -v EpilogFwd.h | sed 's:\(.*\):#include "sbnana/CAFAna/\1":' > classes.h
17 
18 genreflex classes.h \
19  -s classes_def.xml \
20  -o CAFAna_dict.cc \
21  --noIncludePaths \
22  --interpreteronly \
23  $INCS
24 
25 g++ CAFAna_dict.cc `root-config --cflags --libs` $INCS $LIBS --shared -fPIC -o $MRB_BUILDDIR/sbnana/lib/libCAFAna_dict.so
26 
27 cp $MRB_BUILDDIR/sbnana/lib/libCAFAna_dict.so $LIBDIR
BEGIN_PROLOG g
BEGIN_PROLOG dataFFTHistosEW root
then echo File list $list not found else cat $list while read file do echo $file sed s
Definition: file_to_url.sh:60
then echo fcl name