File source based on a SAM query or dataset (definition) More...
#include <SAMQuerySource.h>
Public Member Functions | |
| SAMQuerySource (const std::string &query, int stride=-1, int offset=-1) | |
| virtual | ~SAMQuerySource () |
Public Member Functions inherited from ana::FileListSource | |
| FileListSource (const std::vector< std::string > &files, int stride=-1, int offset=-1) | |
| default offset and stride mean obey cmd-line options More... | |
| virtual | ~FileListSource () |
| virtual TFile * | GetNextFile () override |
| Returns the next file in sequence, ready for reading. More... | |
| int | NFiles () const override |
| May return -1 indicating the number of files is not known. More... | |
Public Member Functions inherited from ana::IFileSource | |
| virtual | ~IFileSource () |
Protected Member Functions | |
| std::vector< std::string > | LocationsForSAMQuery (const std::string &str, int stride, int offset) |
| std::vector< std::string > | LocateSAMFiles (const std::vector< std::string > &fnames) |
| Take filenames, return locations suitable for TFile::Open() More... | |
| std::string | IFDHBaseURI () const |
| std::string | EnsureDataset (const std::string &query) const |
| std::string | EnsureSnapshot (const std::string &def) const |
Additional Inherited Members | |
Protected Attributes inherited from ana::FileListSource | |
| std::vector< std::string > | fFileNames |
| The list of files. More... | |
| std::vector< std::string > ::iterator | fIt |
| Iterator into fFileNames. More... | |
| int | fStride |
| int | fN |
| Number of files that will actually be returned. More... | |
| TFile * | fFile |
| The most-recently-returned file. More... | |
Static Protected Attributes inherited from ana::FileListSource | |
| static bool | fgGotTickets = false |
| Have we renewed our tickets? More... | |
File source based on a SAM query or dataset (definition)
Locates the files on bluearc or pnfs (bluearc preferred).
Definition at line 8 of file SAMQuerySource.h.
| ana::SAMQuerySource::SAMQuerySource | ( | const std::string & | query, |
| int | stride = -1, |
||
| int | offset = -1 |
||
| ) |
| query | May be a SAM dataset name or a SAM query string |
Definition at line 19 of file SAMQuerySource.cxx.
|
virtual |
Definition at line 27 of file SAMQuerySource.cxx.
|
protected |
Definition at line 32 of file SAMQuerySource.cxx.
|
protected |
Definition at line 62 of file SAMQuerySource.cxx.
|
protected |
Definition at line 124 of file SAMQuerySource.cxx.
|
protected |
Take filenames, return locations suitable for TFile::Open()
Definition at line 199 of file SAMQuerySource.cxx.
|
protected |
Definition at line 137 of file SAMQuerySource.cxx.
1.8.5