Changeset 283537c in git for examples/ExternalFastJet/ExternalFastJetBasic.cpp
- Timestamp:
- Dec 22, 2014, 3:59:08 PM (10 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 7b50bf8, 7b6aafa
- Parents:
- 6a8f6b8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/ExternalFastJet/ExternalFastJetBasic.cpp
r6a8f6b8 r283537c 22 22 23 23 24 This simple example shows how to use Delphes with an external fastjet installation.25 Events are specified via the multidimen tionnal array "EVENTS" (for an example reading26 an hepmcfile see ExternalFastJetHepMC.cpp).27 28 In order to run this example you first , youneed to set the paths to your Delphes, FastJet24 This simple example shows how to use Delphes with an external FastJet installation. 25 Events are specified via the multidimensional array "EVENTS" (for an example reading 26 an HepMC file see ExternalFastJetHepMC.cpp). 27 28 In order to run this example you first need to set the paths to your Delphes, FastJet 29 29 and ROOT installations (DELPHES_DIR, FASTJET_DIR and ROOT_DIR): 30 30 … … 35 35 Then run the following commands to build the executable: 36 36 37 DELPHES_LIB="-Wl,-rpath 37 DELPHES_LIB="-Wl,-rpath,$DELPHES_DIR -L$DELPHES_DIR -lDelphesNoFastJet" 38 38 39 39 FASTJET_INC=`$FASTJET_DIR/bin/fastjet-config --cxxflags` … … 44 44 45 45 CXXFLAGS="$FASTJET_INC -I$ROOT_INC -I$DELPHES_DIR -I$DELPHES_DIR/external" 46 LDFLAGS="$FASTJET_LIB $ROOT_LIB $DELPHES_LIB"47 48 g++ $CXXFLAGS $LDFLAGS examples/ExternalFastJetBasic.cpp -o examples/ExternalFastJetBasic46 LDFLAGS="$FASTJET_LIB $ROOT_LIB -lEG $DELPHES_LIB" 47 48 g++ $CXXFLAGS examples/ExternalFastJet/ExternalFastJetBasic.cpp $LDFLAGS -o ExternalFastJetBasic 49 49 50 50 Then run: 51 51 52 ./ examples/ExternalFastJetBasic cards/delphes_card_CMS_NoFastJet.tcl52 ./ExternalFastJetBasic cards/delphes_card_CMS_NoFastJet.tcl 53 53 54 54
Note:
See TracChangeset
for help on using the changeset viewer.