Fork me on GitHub

Changes between Version 38 and Version 39 of WorkBook/QuickTour


Ignore:
Timestamp:
Dec 18, 2014, 2:10:05 AM (10 years ago)
Author:
Pavel Demin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WorkBook/QuickTour

    v38 v39  
    88
    99After configuring your environment for ROOT, download and build Delphes:
    10 {{{
     10{{{#!sh
    1111wget http://cp3.irmp.ucl.ac.be/downloads/Delphes-3.1.2.tar.gz
    1212tar -zxf Delphes-3.1.2.tar.gz
     
    1919
    2020When running Delphes without parameters or when supplying an invalid command line, the following message will be shown:
    21 {{{
     21{{{#!sh
    2222./DelphesHepMC
    2323 Usage: DelphesHepMC config_file output_file [input_file(s)]
     
    2929
    3030Running Delphes with HepMC input files:
    31 {{{
     31{{{#!sh
    3232./DelphesHepMC cards/delphes_card_CMS.tcl output.root input.hepmc
    3333}}}
    3434
    3535Running Delphes with STDHEP (XDR) input files:
    36 {{{
     36{{{#!sh
    3737./DelphesSTDHEP cards/delphes_card_CMS.tcl delphes_output.root input.hep
    3838}}}
    3939
    4040Running Delphes with LHEF input files:
    41 {{{
     41{{{#!sh
    4242./DelphesLHEF cards/delphes_card_CMS.tcl delphes_output.root input.lhef
    4343}}}
    4444
    4545Running Delphes with files stored in CASTOR:
    46 {{{
     46{{{#!sh
    4747rfcat /castor/cern.ch/user/d/demine/test.hepmc.gz | gunzip | ./DelphesHepMC cards/delphes_card_CMS.tcl delphes_output.root
    4848}}}
    4949
    5050Running Delphes with files accessible via HTTP:
    51 {{{
     51{{{#!sh
    5252curl http://cp3.irmp.ucl.ac.be/~demin/test.hepmc.gz | gunzip | ./DelphesHepMC cards/delphes_card_CMS.tcl delphes_output.root
    5353}}}
     
    6262
    6363Start ROOT and load Delphes shared library:
    64 {{{
     64{{{#!sh
    6565root
    6666gSystem->Load("libDelphes");
     
    6868
    6969Open ROOT tree file and do some basic analysis using Draw or TBrowser:
    70 {{{
     70{{{#!C++
    7171TFile::Open("delphes_output.root");
    7272Delphes->Draw("Electron.PT");
     
    8888
    8989Here are commands to run this macro:
    90 {{{
     90{{{#!sh
    9191root
    9292gSystem->Load("libDelphes");
     
    161161
    162162This macro can be run with the following command:
    163 {{{
     163{{{#!sh
    164164root -l examples/Example2.C'("delphes_output.root")'
    165165}}}