Changes in examples/ExternalFastJet/ExternalFastJetHepMC.cpp [283537c:aef818f] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/ExternalFastJet/ExternalFastJetHepMC.cpp
r283537c raef818f 22 22 23 23 24 This simple example shows how to use Delphes with an external FastJet installation.25 Events in HepMCformat are read via the DelphesHepMC reader.26 27 In order to run this example you first need to set the paths to your Delphes, FastJet24 This simple example shows how to use Delphes with an external fastjet installation. 25 Events in hepmc format are read via the DelphesHepMC reader. 26 27 In order to run this example you first, you need to set the paths to your Delphes, FastJet 28 28 and ROOT installations (DELPHES_DIR, FASTJET_DIR and ROOT_DIR): 29 29 … … 34 34 Then run the following commands to build the executable: 35 35 36 DELPHES_LIB="-Wl,-rpath ,$DELPHES_DIR -L$DELPHES_DIR -lDelphesNoFastJet"36 DELPHES_LIB="-Wl,-rpath $DELPHES_DIR -L$DELPHES_DIR -lDelphesNoFastJet" 37 37 38 38 FASTJET_INC=`$FASTJET_DIR/bin/fastjet-config --cxxflags` … … 43 43 44 44 CXXFLAGS="$FASTJET_INC -I$ROOT_INC -I$DELPHES_DIR -I$DELPHES_DIR/external" 45 LDFLAGS="$FASTJET_LIB $ROOT_LIB -lEG$DELPHES_LIB"46 47 g++ $CXXFLAGS examples/ExternalFastJet/ExternalFastJetHepMC.cpp $LDFLAGS -oExternalFastJetHepMC48 49 Then run (you need an event file in HepMCformat):50 51 ./ ExternalFastJetHepMC cards/delphes_card_CMS_NoFastJet.tcl file.hepmc45 LDFLAGS="$FASTJET_LIB $ROOT_LIB $DELPHES_LIB" 46 47 g++ $CXXFLAGS $LDFLAGS examples/ExternalFastJetHepMC.cpp -o examples/ExternalFastJetHepMC 48 49 Then run (you need an event file in hepmc format): 50 51 ./examples/ExternalFastJetHepMC cards/delphes_card_CMS_NoFastJet.tcl file.hepmc 52 52 53 53
Note:
See TracChangeset
for help on using the changeset viewer.