Bool_t DeselectFile(const char *name, Int_t=-1, Int_t=-1)
Deselects the file
from the loaded collection All files can be deselected using "*" as
void SetTag(const char *tag, const char *value, TMap *tagmap)
Set's a key value pair in a tagmap. If it is existing, the existing tag is overwritten. If not, it is created.
TFileStager * fFileStager
Bool_t CheckIfOnline(Bool_t bulk=kFALSE)
Run an online check if files are currently accessible (staged) or offline (to be staged).
const char * Data() const
Bool_t SetExportUrl(const char *exporturl=0)
Set the 'default' export URL for an XML collection. A collection can be restored to the export URL us...
void Print(Option_t *opt) const
Print event file collection.
TDSet * GetDataset(const char *type, const char *objname="*", const char *dir="/")
Return a TDSet from a collection.
static TAlienCollection * OpenAlienCollection(TGridResult *queryresult, Option_t *option="")
Static method used to create an Alien event collection, by creating collection from a TGridResult Get...
#define ClassDef(name, id)
void Add(TGridCollection *addcollection)
adds
to this collection - equal elements are skipped
static TGridCollection * Open(const char *collectionurl, UInt_t maxentries=1000000)
Static method used to create an Alien event collection, by reading an XML collection from the specifi...
Bool_t SelectFile(const char *name, Int_t=-1, Int_t=-1)
Selects all files with name in the collection All files can be selected using "*" as filen...
UInt_t fNofGroups
current event file map
UInt_t GetNofGroups() const
const char * GetOutputFileName(const char *infile, Bool_t rename=kTRUE, const char *suffix="root")
Adds to a file given by infile the collection identification , f.e.
Bool_t Stage(Bool_t bulk=kFALSE, Option_t *option="")
Execute the 'stage' method for all files in this collection (trigger staging).
TIter * fFileGroupListIter
TEntryList * GetEntryList(const char *name)
Get a file's event list. Returns 0 in case of error.
Bool_t OverlapCollection(TGridCollection *comparator)
return kTRUE if comparator overlaps with this all objects in this collection, which are not defined i...
static TGridCollection * OpenQuery(TGridResult *queryresult, Bool_t nogrouping=kFALSE)
Static method used to create an Alien event collection, by creating collection from a TGridResult Que...
void Status()
Prints statistics, selection and status about the loaded collection.
const char * GetSURL(const char *name="")
Get a file's storage URL (SURL). Returns 0 in case of error.
const char * GetInfoComment() const
const char * GetTURL(const char *name="")
Get a file's transport URL (TURL). Returns 0 in case of error.
void SetTagFilterList(TList *filterlist)
Bool_t LookupSUrls(Bool_t verbose=kTRUE)
retrieves all the SURLS for the LFNS
TMap implements an associative array of (key,value) pairs using a THashTable for efficient retrieval ...
Bool_t DownscaleSelection(UInt_t scaler=2)
downscales the selection with scaler
Bool_t ExportXML(TFile *file, Bool_t selected, Bool_t online, const char *name, const char *comment)
Internal Export function to write a collection as an XML file. See above.
TMap * Next()
Return next event file map.
Class that contains a list of TFileInfo's and accumulated meta data information about its entries...
void Reset()
Reset file iterator.
TString fExportUrl
pointer to the file stager object
Bool_t Remove(TMap *map)
Return next event file map.
TFileCollection * GetFileCollection(const char *name="", const char *title="") const
creates a TFileCollection objects and fills it with the information from this collection note that TF...
TFile * OpenFile(const char *filename)
Open the file specified by from the currently active file group in the collection via its ...
TGridResult * GetGridResult(const char *filename="", Bool_t onlyonline=kTRUE, Bool_t publicaccess=kFALSE)
Return a TGridResult.
A List of entry numbers in a TTree or TChain.
const char * GetCollectionName() const