106 const char *
msd = 0,
const char *dataset = 0);
188 TDSet(
const char *
name,
const char *objname =
"*",
189 const char *
dir =
"/",
const char *
type = 0);
193 virtual Bool_t Add(
const char *
file,
const char *objname = 0,
210 virtual Long64_t Draw(
const char *varexp,
const char *selection,
236 virtual void Reset();
241 const char *path,
TString &objname);
void AddInput(TObject *obj)
Add objects that might be needed during the processing of the selector (see Process()).
virtual const char * GetTitle() const
Returns title of object.
TFileInfo * GetFileInfo(const char *type="TTree")
Return the content of this element in the form of a TFileInfo.
std::list< std::pair< TDSetElement *, TString > > FriendsList_t
static Long64_t GetEntries(Bool_t isTree, const char *filename, const char *path, TString &objname)
Returns number of entries in tree or objects in file.
Long64_t GetEntries(Bool_t istree=kTRUE, Bool_t openfile=kTRUE)
Returns number of entries in tree or objects in file.
virtual void Draw(Option_t *opt)
Default Draw method for all objects.
virtual TDSetElement * Next(Long64_t totalEntries=-1)
Returns next TDSetElement.
TDSet()
iterator on fSrvMaps
void SetLookedUp()
Flag all the elements as looked-up, so to avoid opening the files if the functionality is not support...
const char Int_t const char TProof Int_t const char const char * msd
const char * GetObjName() const
virtual Long64_t Process(TSelector *selector, Option_t *option="", Long64_t nentries=-1, Long64_t firstentry=0, TObject *enl=0)
Process TDSet on currently active PROOF session.
void SetTDSetOffset(Long64_t offset)
void SetWriteV3(Bool_t on=kTRUE)
Set/Reset the 'OldStreamer' bit in this instance and its elements.
This class implements a data set to be used for PROOF processing.
Int_t GetNumOfFiles()
Return the number of files in the dataset.
static const char * filename()
void AddAssocObj(TObject *assocobj)
Add an associated object to the list.
void Print(Option_t *options="") const
Print a TDSetElement. When option="a" print full data.
Int_t Compare(const TObject *obj) const
Compare elements by filename (and the fFirst).
Int_t ExportFileList(const char *filepath, Option_t *opt="")
Export TDSetElements files as list of TFileInfo objects in file 'fpath'.
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
Int_t Lookup(Bool_t force=kFALSE)
Resolve end-point URL for this element Return 0 on success and -1 otherwise.
const char * GetObjName() const
TList * GetListOfAssocObjs() const
TList * GetOutputList()
Get list with all object created during processing (see Process()).
Manages an element of a TDSet.
Bool_t HasBeenLookedUp() const
const char * GetDirectory() const
Long64_t GetTDSetOffset() const
void SetEntries(Long64_t ent)
void Validate(Bool_t isTree)
Validate by opening the file.
#define ClassDef(name, id)
THashList implements a hybrid collection class consisting of a hash table and a list to store TObject...
const char * GetMsd() const
The TNamed class is the base class for all named ROOT classes.
TDSetElement & operator=(const TDSetElement &)
virtual ~TDSetElement()
Clean up the element.
Bool_t IsSortable() const
TList * GetListOfElements() const
void Validate()
Validate the TDSet by opening files.
void SetDirectory(const char *dir)
Set/change directory.
void SetDataSet(const char *dataset)
void SetSrvMaps(TList *srvmaps=0)
Set (or unset) the list for mapping servers coordinate for files.
TDSetElement * Current() const
virtual void DeleteFriends()
Deletes the list of friends and all the friends on the list.
Long64_t GetFirst() const
A specialized string object used for TTree selections.
TObject * GetEntryList() const
void SetMaxProcTime(Float_t mpt)
Bool_t ElementsValid()
Check if all elements are valid.
virtual TList * GetListOfFriends() const
TDSetElement * fCurrent
iterator on fElements
TProofChain * fProofChain
entry (or event) list for processing
const char * GetFileName() const
TList * fSrvMaps
current element
Collection abstract base class.
Bool_t TestBit(UInt_t f) const
TObject * GetEntryList() const
A TEventList object is a list of selected events (entries) in a TTree.
virtual const char * GetName() const
Returns name of object.
virtual Long64_t Draw(const char *varexp, const char *selection, Option_t *option="", Long64_t nentries=-1, Long64_t firstentry=0)
Draw expression varexp for specified entries.
Int_t MergeElement(TDSetElement *elem)
Check if 'elem' is overlapping or subsequent and, if the case, return a merged element.
void Print(Option_t *option="") const
Print TDSet basic or full data. When option="a" print full data.
virtual TTree * GetTreeHeader(TProof *proof)
Returns a tree header containing the branches' structure of the dataset.
const char * GetDataSet() const
void ClearInput()
Clear input object list.
void SetObjName(const char *objname)
Set/change object name.
virtual void SetEntryList(TObject *aList)
Set entry (or event) list for this data set.
This class controls a Parallel ROOT Facility, PROOF, cluster.
TObject * GetOutput(const char *name)
Get specified object that has been produced during the processing (see Process()).
void SetNum(Long64_t num)
virtual void Reset()
Reset or initialize access to the elements.
virtual void AddFriend(TDSetElement *friendElement, const char *alias)
Add friend TDSetElement to this set. The friend element will be copied to this object.
void SetEntryList(TObject *aList, Long64_t first=-1, Long64_t num=-1)
Set entry (or event) list for this element.
Mother of all ROOT objects.
void Lookup(Bool_t removeMissing=kFALSE, TList **missingFiles=0)
Resolve the end-point URL for the current elements of this data set If the removeMissing option is se...
const char Int_t const char TProof * proof
void SplitEntryList()
for browsing purposes
TObject * GetAssocObj(Long64_t i, Bool_t isentry=kFALSE)
Get i-th associated object.
virtual Bool_t Add(const char *file, const char *objname=0, const char *dir=0, Long64_t first=0, Long64_t num=-1, const char *msd=0)
Add file to list of files to be analyzed.
A chain is a collection of files containg TTree objects.
const char * GetType() const
Float_t GetMaxProcTime() const
A TTree object has a header with a name and a title.
Class describing a generic file including meta information.
TIter * fSrvMapsIter
list for mapping server coordinates for files
void operator=(const TDSet &)
A TSelector object is used by the TTree::Draw, TTree::Scan, TTree::Process to navigate in a TTree and...
void SetFirst(Long64_t first)
virtual void AddFriend(TDSet *friendset, const char *alias)
Add friend dataset to this set.
A List of entry numbers in a TTree or TChain.
const char * GetDirectory() const
Return directory where to look for object.
virtual void StartViewer()
Start the TTreeViewer on this TTree.
Int_t Remove(TDSetElement *elem, Bool_t deleteElem=kTRUE)
Remove TDSetElement 'elem' from the list.