A beginner with a specific task - where should I start?

Hi,

I have quite a big root file (1.5GB) with many events and as a first task I was asked to filter the events so they all will be within a specific energy range. My question is where should I read in order to know how to do it?
I’ve found a few guides and tutorials, and if I had the time, I would start at the beginning. Unfortunately, I don’t so I ask for a more specific reading material.

Thanks in advance!

I assume you have a tree?

https://root.cern.ch/trees-five-steps (Intro)
https://root.cern.ch/root/htmldoc/guides/users-guide/ROOTUsersGuide.html#trees (More detailed User information.)
https://root.cern.ch/doc/master/copytree3_8C.html (an example that may be close to what you want to do.)
https://root.cern.ch/doc/master/classTTree.html (detailed programmer’s reference)

TDataFrame: (An alternative approach being developed.)
https://root.cern.ch/doc/master/classROOT_1_1Experimental_1_1TDataFrame.html
https://root.cern.ch/doc/master/group__tutorial__tdataframe.html

Thank you very much for the informative and fast reply.
I guess I will start at the first link but will read the “ROOT primer” before going on to the next links.

Will learning C++ help significantly?

This will probably be necessary (there are python bindings as well). Don’t expect this to be an overnight venture.