elaird/supy — pull request #112 by betchart (2012-06-11 17:28:00+00:00)
Title: Avoid unnecessary call to TChain::GetEntries()

Hi Ted,

This actually results in -1 line of code, and I hope it will rectify the noted abuse of dCache. There is a major difference running interactively on lx05: looping starts immediately over the ~2400 files in my SingleMu.2011A sample, rather than apparently hanging while opening all the files to get their number of entries.

I don't see any termination logic problems either. I am running a batch queue test now with nEntries=None, and my success criteria is that jobs finish normally with no crash.

I think it's ok to go ahead and pull this into master.

Burt