Fork me on GitHub

Changeset 7ce5d1c in git


Ignore:
Timestamp:
08/23/19 16:34:37 (12 months ago)
Author:
Pavel Demin <pavel-demin@…>
Branches:
ImprovedOutputFile, Timing, master
Children:
414db83
Parents:
a5ff49f
Message:

update basic analysis example in README files

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • README

    ra5ff49f r7ce5d1c  
    6666Open ROOT file and do some basic analysis using Draw or TBrowser:
    6767
    68    TFile::Open("delphes_output.root");
    69    Delphes->Draw("Electron.PT");
     68   TFile *f = TFile::Open("delphes_output.root");
     69   f->Get("Delphes")->Draw("Electron.PT");
    7070   TBrowser browser;
    7171
  • README.md

    ra5ff49f r7ce5d1c  
    8989
    9090```
    91    TFile::Open("delphes_output.root");
    92    Delphes->Draw("Electron.PT");
     91   TFile *f = TFile::Open("delphes_output.root");
     92   f->Get("Delphes")->Draw("Electron.PT");
    9393   TBrowser browser;
    9494```
Note: See TracChangeset for help on using the changeset viewer.