Changes between Version 38 and Version 39 of WorkBook/QuickTour
- Timestamp:
- Dec 18, 2014, 2:10:05 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WorkBook/QuickTour
v38 v39 8 8 9 9 After configuring your environment for ROOT, download and build Delphes: 10 {{{ 10 {{{#!sh 11 11 wget http://cp3.irmp.ucl.ac.be/downloads/Delphes-3.1.2.tar.gz 12 12 tar -zxf Delphes-3.1.2.tar.gz … … 19 19 20 20 When running Delphes without parameters or when supplying an invalid command line, the following message will be shown: 21 {{{ 21 {{{#!sh 22 22 ./DelphesHepMC 23 23 Usage: DelphesHepMC config_file output_file [input_file(s)] … … 29 29 30 30 Running Delphes with HepMC input files: 31 {{{ 31 {{{#!sh 32 32 ./DelphesHepMC cards/delphes_card_CMS.tcl output.root input.hepmc 33 33 }}} 34 34 35 35 Running Delphes with STDHEP (XDR) input files: 36 {{{ 36 {{{#!sh 37 37 ./DelphesSTDHEP cards/delphes_card_CMS.tcl delphes_output.root input.hep 38 38 }}} 39 39 40 40 Running Delphes with LHEF input files: 41 {{{ 41 {{{#!sh 42 42 ./DelphesLHEF cards/delphes_card_CMS.tcl delphes_output.root input.lhef 43 43 }}} 44 44 45 45 Running Delphes with files stored in CASTOR: 46 {{{ 46 {{{#!sh 47 47 rfcat /castor/cern.ch/user/d/demine/test.hepmc.gz | gunzip | ./DelphesHepMC cards/delphes_card_CMS.tcl delphes_output.root 48 48 }}} 49 49 50 50 Running Delphes with files accessible via HTTP: 51 {{{ 51 {{{#!sh 52 52 curl http://cp3.irmp.ucl.ac.be/~demin/test.hepmc.gz | gunzip | ./DelphesHepMC cards/delphes_card_CMS.tcl delphes_output.root 53 53 }}} … … 62 62 63 63 Start ROOT and load Delphes shared library: 64 {{{ 64 {{{#!sh 65 65 root 66 66 gSystem->Load("libDelphes"); … … 68 68 69 69 Open ROOT tree file and do some basic analysis using Draw or TBrowser: 70 {{{ 70 {{{#!C++ 71 71 TFile::Open("delphes_output.root"); 72 72 Delphes->Draw("Electron.PT"); … … 88 88 89 89 Here are commands to run this macro: 90 {{{ 90 {{{#!sh 91 91 root 92 92 gSystem->Load("libDelphes"); … … 161 161 162 162 This macro can be run with the following command: 163 {{{ 163 {{{#!sh 164 164 root -l examples/Example2.C'("delphes_output.root")' 165 165 }}}