Fork me on GitHub

Changes between Version 10 and Version 11 of WorkBook/Tutorials/Student


Ignore:
Timestamp:
Sep 8, 2019, 7:07:03 PM (5 years ago)
Author:
Michele Selvaggi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WorkBook/Tutorials/Student

    v10 v11  
    7070
    7171
    72 In order to perform an event-loop with a more sophisticated event selection you will have to write a small python macro. This macro takes as input the {{{data.root}}} and produce an output file that contains a couple of histograms. Download the file called {{{example.py}}}, and run it via the command {{{python example.py data.root hist_data.root}}}.
     72In order to perform an event-loop with a more sophisticated event selection you will have to write a small python macro. This macro takes as input the {{{data.root}}} and produce an output file that contains a couple of histograms. Download the file called {{{example.py}}}, and run it via the command:
     73
     74{{{
     75python example.py data.root hist_data.root
     76}}}.
     77
    7378This will create a file called {{{hist_data.root}}} that can be browsed as done earlier with {{{data.root}}}.
    7479