Fork me on GitHub

Changeset 1148 in svn


Ignore:
Timestamp:
Jun 25, 2013, 9:41:18 PM (12 years ago)
Author:
Pavel Demin
Message:

fix ProMC includes and check PROMC variable

Location:
trunk/examples
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/DelphesProMC.cpp

    r1147 r1148  
    2929#include "ExRootAnalysis/ExRootProgressBar.h"
    3030
    31 #include "ProMC/ProMC.pb.h"
    32 #include "ProMC/ProMCBook.h"
    33 #include "ProMC/ProMCHeader.pb.h"
     31#include "ProMC.pb.h"
     32#include "ProMCBook.h"
     33#include "ProMCHeader.pb.h"
    3434
    3535using namespace std;
  • trunk/examples/DelphesProMC.sh

    r1146 r1148  
     1#!/bin/sh
    12
    2 INC="-I$PROMC/include -I$PROMC/src"
     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";
    39
    4 LIB="$PROMC/src/*.cc -L$PROMC/lib -lprotoc -lprotobuf -lprotobuf-lite -lcbook -lz"
     10  INC="-I$PROMC/include -I$PROMC/src"
    511
    6 g++ -I. -Iexternal $INC `root-config --cflags --ldflags --libs` -lEG -L. -lDelphes $LIB -o DelphesProMC examples/DelphesProMC.cpp
     12  LIB="$PROMC/src/*.cc -L$PROMC/lib -lprotoc -lprotobuf -lprotobuf-lite -lcbook -lz"
    713
     14  g++ -I. -Iexternal $INC `root-config --cflags --ldflags --libs` -lEG -L. -lDelphes $LIB -o DelphesProMC examples/DelphesProMC.cpp
     15fi
Note: See TracChangeset for help on using the changeset viewer.