Loop over all directories

Dear experts,
I want to loop over all the directories which is numbered (so excluding the one which is called sumWeights) in my root files (1). Is there example on how to do that?
Regards

(1)
http://calpas.web.cern.ch/calpas/

Have a look in the post above, where I pasted a simle program that prints out what is inside the ROOT file. You can use that as an example to loop over your directories. Cheers,

Bonjour Guilherme,

thank you for your help.

Regards

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.