TRestRun::GetEventWitdID not working. The eventID value in analysis tree is not initialised

REST version : v2.2.10

I was trying to use the method TRestRun::GetEventWithID(). However, it was not working with a fresh generated restG4 output.

The reason behind is that the values inside the analysis tree have not been initialised/assigned by restG4?

38

This is indeed a mistake that event info is not flushed into AnalysisTree in restG4. I have fixed it in the latest commit 97c179f8.

1 Like

Ok, perfect, it works now.