Fork me on GitHub

Changeset deecda3 in git for README.md


Ignore:
Timestamp:
Sep 5, 2014, 11:00:39 AM (10 years ago)
Author:
Pavel Demin <pavel.demin@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
21f3c04
Parents:
640d6d3
Message:

add blank lines before and after code blocks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • README.md

    r640d6d3 rdeecda3  
    33
    44Commands to get the code:
     5
    56```
    67wget http://cp3.irmp.ucl.ac.be/downloads/Delphes-3.1.2.tar.gz
     
    89tar -zxf Delphes-3.1.2.tar.gz
    910```
     11
    1012Commands to compile the code:
     13
    1114```
    1215cd Delphes-3.1.2
     
    1417make
    1518```
     19
    1620Finally, we can run Delphes:
     21
    1722```
    1823./DelphesHepMC
    1924```
     25
    2026Command line parameters:
     27
    2128```
    2229./DelphesHepMC config_file output_file [input_file(s)]
     
    2633  with no input_file, or when input_file is -, read standard input.
    2734```
     35
    2836Let's simulate some Z->ee events:
     37
    2938```
    3039wget http://cp3.irmp.ucl.ac.be/downloads/z_ee.hep.gz
     
    3241./DelphesSTDHEP examples/delphes_card_CMS.tcl delphes_output.root z_ee.hep
    3342```
     43
    3444or
     45
    3546```
    3647curl -s http://cp3.irmp.ucl.ac.be/downloads/z_ee.hep.gz | gunzip | ./DelphesSTDHEP examples/delphes_card_CMS.tcl delphes_output.root
    3748```
     49
    3850For more detailed documentation, please visit
    3951
     
    4759
    4860Start ROOT and load Delphes shared library:
     61
    4962```
    5063root -l
    5164gSystem->Load("libDelphes");
    5265```
     66
    5367Open ROOT file and do some basic analysis using Draw or TBrowser:
     68
    5469```
    5570TFile::Open("delphes_output.root");
     
    5772TBrowser browser;
    5873```
     74
    5975Note 1: Delphes - tree name, it can be learned e.g. from TBrowser
    6076
     
    7793
    7894Start ROOT and load Delphes shared library:
     95
    7996```
    8097root -l
    8198gSystem->Load("libDelphes");
    8299```
     100
    83101Basic analysis macro:
     102
    84103```
    85104{
     
    125144```
    126145
     146
    127147More advanced macro-based analysis
    128148==================================
     
    131151
    132152Here are the commands to run these ROOT macros:
     153
    133154```
    134155root -l
    135156.X examples/Example1.C("delphes_output.root");
    136157```
     158
    137159or
     160
    138161```
    139162root -l examples/Example1.C\(\"delphes_output.root\"\)
Note: See TracChangeset for help on using the changeset viewer.