Fork me on GitHub

source: git/examples/DelphesProMC.sh@ 6f6fac5

ImprovedOutputFile Timing dual_readout llp
Last change on this file since 6f6fac5 was be7697b, checked in by pavel <pavel@…>, 11 years ago

fix ProMC includes and check PROMC variable

  • Property mode set to 100644
File size: 437 bytes
Line 
1#!/bin/sh
2
3if [ -z "$PROMC" ]
4then
5 echo "** ERROR: PROMC variable is not set. Is ProMC installed?"
6else
7 echo ">> PROMC is set to $PROMC"
8 echo ">> Building DelphesProMC";
9
10 INC="-I$PROMC/include -I$PROMC/src"
11
12 LIB="$PROMC/src/*.cc -L$PROMC/lib -lprotoc -lprotobuf -lprotobuf-lite -lcbook -lz"
13
14 g++ -I. -Iexternal $INC `root-config --cflags --ldflags --libs` -lEG -L. -lDelphes $LIB -o DelphesProMC examples/DelphesProMC.cpp
15fi
Note: See TracBrowser for help on using the repository browser.