Skip to content

Python macro to read output objects TTree

Sebastien Murphy requested to merge smurphy/allpix-squared:python-output into master

Added a simple Python example macro in tools/root_analysis_macros that loops over the output TTree objects. Valuable to illustrate how to open the trees and loop over the events in python. A few histograms are plotted at the end of the loop.

Edited by Simon Spannagel

Merge request reports