Im a beginner in ROOT. I have two tasks:
- Read from the file” model_event.root " a branch with particle collision events containing objects of the Event class (the file Event.cxx).
- Build a two-dimensional histogram with the number of intervals (bin) equal to 50 and for the module radius of the vertex vector(√𝑉𝑥2+𝑉𝑦2+𝑉𝑧2) and full momentum (√𝑃𝑥2+𝑃𝑦2+𝑃𝑧2).
I attached a script with my attempt to solve problems, I can’t read the branch with Px, Py and Pz.
Help me, please!