25 std::vector<std::string>::iterator
fIt;
FileListSource(const std::vector< std::string > &files, int stride=-1, int offset=-1, int limit=-1)
Default stride, offset, and limit mean obey cmd-line options.
Cuts and Vars for the 2020 FD DiF Study.
std::vector< std::string >::iterator fIt
Iterator into fFileNames.
std::vector< std::string > fFileNames
The list of files.
int NFiles() const override
May return -1 indicating the number of files is not known.
const std::vector< std::string > & GetFileNames() const
bool fInRetry
Did we finish fFileNames and are now in fRetry?
virtual ~FileListSource()
Interface class for accessing ROOT files in sequence.
Simple file source based on an explicit list provided by the user.
std::vector< std::string > fRetry
List of files that failed 1st attempt.
static bool fgGotTickets
Have we renewed our tickets?
virtual TFile * GetNextFile() override
Returns the next file in sequence, ready for reading.
TFile * fFile
The most-recently-returned file.