All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SBNAna/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$SRPROXY_INC"
7 
8 LIBDIR=$MRB_INSTALL/sbnana/$SBNANA_VERSION/${CET_SUBDIR}.${MRB_QUALS/:/.}/lib/
9 #LIBS="-L$LIBDIR -lCAFAnaCore"
10 
11 DIRS="Cuts Vars"
12 
13 find $DIRS -name '*.h' | sed 's:\(.*\):#include "SBNAna/\1":' > classes.h
14 
15 genreflex classes.h \
16  -s classes_def.xml \
17  -o SBNAna_dict.cc \
18  --noIncludePaths \
19  --interpreteronly \
20  $INCS
21 
22 g++ SBNAna_dict.cc `root-config --cflags --libs` $INCS $LIBS --shared -fPIC -o $MRB_BUILDDIR/sbnana/lib/libSBNAna_dict.so
23 
24 cp $MRB_BUILDDIR/sbnana/lib/libSBNAna_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