104 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,
194 const char *dir = 0,
Long64_t first = 0,
195 Long64_t num = -1,
const char *msd = 0);
210 virtual Long64_t Draw(
const char *varexp,
const char *selection,
236 virtual void Reset();
241 const char *path,
TString &objname);
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h offset
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
A chain is a collection of files containing TTree objects.
Collection abstract base class.
A specialized string object used for TTree selections.
Manages an element of a TDSet.
TFileInfo * GetFileInfo(const char *type="TTree")
Return the content of this element in the form of a TFileInfo.
void SetEntries(Long64_t ent)
Long64_t GetEntries(Bool_t istree=kTRUE, Bool_t openfile=kTRUE)
Returns number of entries in tree or objects in file.
const char * GetObjName() const
void Print(Option_t *options="") const override
Print a TDSetElement. When option="a" print full data.
TDSetElement & operator=(const TDSetElement &)
void Validate(Bool_t isTree)
Validate by opening the file.
Bool_t HasBeenLookedUp() const
std::list< std::pair< TDSetElement *, TString > > FriendsList_t
void SetMaxProcTime(Float_t mpt)
Float_t GetMaxProcTime() const
TObject * GetEntryList() const
virtual TList * GetListOfFriends() const
void SetFirst(Long64_t first)
Int_t Compare(const TObject *obj) const override
Compare elements by filename (and the fFirst).
const char * GetDataSet() const
void Reset()
Reset TDSet element.
void SetTDSetOffset(Long64_t offset)
void SetNum(Long64_t num)
const char * GetDirectory() const
Return directory where to look for object.
virtual void DeleteFriends()
Deletes the list of friends and all the friends on the list.
TList * GetListOfAssocObjs() const
void SetEntryList(TObject *aList, Long64_t first=-1, Long64_t num=-1)
Set entry (or event) list for this element.
void AddAssocObj(TObject *assocobj)
Add an associated object to the list.
Long64_t GetTDSetOffset() const
void SetDataSet(const char *dataset)
Int_t Lookup(Bool_t force=kFALSE)
Resolve end-point URL for this element Return 0 on success and -1 otherwise.
virtual void AddFriend(TDSetElement *friendElement, const char *alias)
Add friend TDSetElement to this set. The friend element will be copied to this object.
const char * GetMsd() const
const char * GetFileName() const
TDSetElement()
Default constructor.
TObject * GetAssocObj(Long64_t i, Bool_t isentry=kFALSE)
Get i-th associated object.
Bool_t IsSortable() const override
Long64_t GetFirst() const
~TDSetElement() override
Clean up the element.
Int_t MergeElement(TDSetElement *elem)
Check if 'elem' is overlapping or subsequent and, if the case, return a merged element.
This class implements a data set to be used for PROOF processing.
void SplitEntryList()
for browsing purposes
TIter * fSrvMapsIter
list for mapping server coordinates for files
virtual TDSetElement * Next(Long64_t totalEntries=-1)
Returns next TDSetElement.
virtual void StartViewer()
Start the TTreeViewer on this TTree.
virtual void SetEntryList(TObject *aList)
Set entry (or event) list for this data set.
Int_t Remove(TDSetElement *elem, Bool_t deleteElem=kTRUE)
Remove TDSetElement 'elem' from the list.
void AddInput(TObject *obj)
Add objects that might be needed during the processing of the selector (see Process()).
TProofChain * fProofChain
entry (or event) list for processing
void operator=(const TDSet &)
void Print(Option_t *option="") const override
Print TDSet basic or full data. When option="a" print full data.
void SetLookedUp()
Flag all the elements as looked-up, so to avoid opening the files if the functionality is not support...
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.
virtual void Reset()
Reset or initialize access to the elements.
Bool_t ElementsValid()
Check if all elements are valid.
TList * fSrvMaps
current element
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.
Int_t GetNumOfFiles()
Return the number of files in the dataset.
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...
Int_t ExportFileList(const char *filepath, Option_t *opt="")
Export TDSetElements files as list of TFileInfo objects in file 'fpath'.
virtual TTree * GetTreeHeader(TProof *proof)
Returns a tree header containing the branches' structure of the dataset.
virtual void AddFriend(TDSet *friendset, const char *alias)
Add friend dataset to this set.
TDSetElement * Current() const
void SetSrvMaps(TList *srvmaps=0)
Set (or unset) the list for mapping servers coordinate for files.
TObject * GetOutput(const char *name)
Get specified object that has been produced during the processing (see Process()).
TDSetElement * fCurrent
iterator on fElements
TObject * GetEntryList() const
void Validate()
Validate the TDSet by opening files.
const char * GetType() const
TList * GetOutputList()
Get list with all object created during processing (see Process()).
~TDSet() override
Cleanup.
void Draw(Option_t *opt) override
Default Draw method for all objects.
void SetWriteV3(Bool_t on=kTRUE)
Set/Reset the 'OldStreamer' bit in this instance and its elements.
TList * GetListOfElements() const
void SetDirectory(const char *dir)
Set/change directory.
void SetObjName(const char *objname)
Set/change object name.
const char * GetDirectory() 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.
TDSet()
iterator on fSrvMaps
const char * GetObjName() const
void ClearInput()
Clear input object list.
A List of entry numbers in a TTree or TChain.
<div class="legacybox"><h2>Legacy Code</h2> TEventList is a legacy interface: there will be no bug fi...
Class describing a generic file including meta information.
THashList implements a hybrid collection class consisting of a hash table and a list to store TObject...
The TNamed class is the base class for all named ROOT classes.
const char * GetName() const override
Returns name of object.
const char * GetTitle() const override
Returns title of object.
Mother of all ROOT objects.
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
This class controls a Parallel ROOT Facility, PROOF, cluster.
A TSelector object is used by the TTree::Draw, TTree::Scan, TTree::Process to navigate in a TTree and...
A TTree represents a columnar dataset.