Fork me on GitHub

Changeset be7697b in git


Ignore:
Timestamp:
Jun 25, 2013, 9:41:18 PM (12 years ago)
Author:
pavel <pavel@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
3d24148
Parents:
2f82259
Message:

fix ProMC includes and check PROMC variable

Location:
examples
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • examples/DelphesProMC.cpp

    r2f82259 rbe7697b  
    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;
  • examples/DelphesProMC.sh

    r2f82259 rbe7697b  
     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.