I have been following the RVecs tutorial. However, when I run the code on my own data, the code crashes and gives me a segmentation violation. I realize it might be a simple error; however, I haven’t been able to fix it, so I would really appreciate any help/fixes!
I am attaching the code with some sample data:
selectXXt.cpp (4.8 KB)
I don’t know if this helps in the search but when I tried to simplify my original code to this:
selectXX1.cpp (2.8 KB)
I get an empty canvas and the errors that
newerror.txt (6.6 KB)
I am not sure if it is related (since both codes use the same structure.)
Here is the example data:
Here is the example data
tag_1_delphes_events.root (475.1 KB)
(The only thing is that the branch names should probably be changed as I have it written in my code (Muon_PT, Muon_Eta, etc) However, I forgot how to do that
Many thanks for all your help!
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided