Changes between Version 10 and Version 11 of WorkBook/Tutorials/Student
- Timestamp:
- Sep 8, 2019, 7:07:03 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WorkBook/Tutorials/Student
v10 v11 70 70 71 71 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}}}. 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: 73 74 {{{ 75 python example.py data.root hist_data.root 76 }}}. 77 73 78 This will create a file called {{{hist_data.root}}} that can be browsed as done earlier with {{{data.root}}}. 74 79