I have a number of files with a running number in the file name that I chain together. Now I would like access this running number in a TChain-Draw() command. I tried to write a method like this
which I then want to call ( Chain->Draw(GetSubRunID()) ) but the problem is that I have to specify the exact filename which I actually want to get back. It seems that wildcards or regular expression don’t work.
Also, is there a more direct way to get the name of the file that is currently been processed in a chain?