source:
git/examples/DelphesProMC.sh@
cf14ea5
Last change on this file since cf14ea5 was 8928f24, checked in by , 12 years ago | |
---|---|
|
|
File size: 499 bytes |
Rev | Line | |
---|---|---|
[be7697b] | 1 | #!/bin/sh |
[4b17b1e] | 2 | |
[be7697b] | 3 | if [ -z "$PROMC" ] |
4 | then | |
5 | echo "** ERROR: PROMC variable is not set. Is ProMC installed?" | |
6 | else | |
7 | echo ">> PROMC is set to $PROMC" | |
[d4ad7b3] | 8 | echo ">> Building DelphesProMC" |
[8928f24] | 9 | |
[b8e6ab1] | 10 | /bin/mkdir -p external/ProMC |
[8928f24] | 11 | |
[b8e6ab1] | 12 | /bin/cp $PROMC/src/* external/ProMC/ |
[4b17b1e] | 13 | |
[b8e6ab1] | 14 | INC="-I$PROMC/include" |
[4b17b1e] | 15 | |
[b8e6ab1] | 16 | LIB="external/ProMC/*.cc -L$PROMC/lib -lprotoc -lprotobuf -lprotobuf-lite -lcbook -lz" |
[4b17b1e] | 17 | |
[be7697b] | 18 | g++ -I. -Iexternal $INC `root-config --cflags --ldflags --libs` -lEG -L. -lDelphes $LIB -o DelphesProMC examples/DelphesProMC.cpp |
19 | fi |
Note:
See TracBrowser
for help on using the repository browser.