Hi,
I have a root file containing five histograms and a root tree inside that named B4. I have four branches for the tree namely ESil, ESci, LSil, LSci. I have written a script to plot the contents on the branches, but it is not working. I am attaching the structure of my root file and the script along with this post. (I am unable to attach my root file here as the file format is not supported to upload).
Hello,
Thanks a lot for your time and interest. I had the tree plotted in TBrowser too. But I was confused why my script to plot the branches were not working. analysis.c (2.3 KB)
Actually these are the root files generated from a geant4 simulation. I use this above script to plot the root files from the simulation and it used to work really well. But I run the same simulation on a different system using an older version of geant4 and the result I got cannot be opened with this cpp script which I used to use. I doubt it is due to a new element row_wise_branch. In my older root files simulated form the simulation, such an element was not present. I am not sure from where such a branch structure came. I did not define such a branch in the GEANT4 analysis script and I am quite unsure what change should I make in the script I provided above to plot it.
Again thanks a lot for your valuable recommendations.