library: libTree #include "TDSet.h" |
TDSetElement
class description - header file - source file - inheritance tree (.pdf)
public:
TDSetElement()
TDSetElement(const char* file, const char* objname = "0", const char* dir = "0", Long64_t first = 0, Long64_t num = -1, const char* msd = "0")
TDSetElement(const TDSetElement& elem)
virtual ~TDSetElement()
virtual void AddFriend(TDSetElement* friendElement, const char* alias)
static TClass* Class()
virtual Int_t Compare(const TObject* obj) const
virtual void DeleteFriends()
const char* GetDirectory() const
Long64_t GetEntries() const
TEventList* GetEventList() const
const char* GetFileName() const
Long64_t GetFirst() const
virtual TDSetElement::FriendsList_t* GetListOfFriends() const
const char* GetMsd() const
Long64_t GetNum() const
const char* GetObjName() const
Long64_t GetTDSetOffset() const
Bool_t GetValid() const
void Invalidate()
virtual TClass* IsA() const
virtual Bool_t IsSortable() const
TDSetElement& operator=(const TDSetElement&)
virtual void Print(Option_t* options = "") const
void SetEntries(Long64_t ent)
void SetEventList(TEventList* aList)
void SetFirst(Long64_t first)
void SetNum(Long64_t num)
void SetTDSetOffset(Long64_t offset)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
void Validate(Bool_t isTree)
void Validate(TDSetElement* elem)
private:
TString fFileName physical or logical file name
TString fObjName name of objects to be analyzed in this file
TString fDirectory directory in file where to look for objects
Long64_t fFirst first entry to process
Long64_t fNum number of entries to process
TString fMsd mass storage domain name
Long64_t fTDSetOffset the global offset in the TDSet of the first
TEventList* fEventList event list to be used in processing
Bool_t fValid whether or not the input values are valid
Long64_t fEntries total number of possible entries in file
list<pair<TDSetElement*,TString>,allocator<pair<TDSetElement*,TString> > >* fFriends friend elements
Bool_t fIsTree true if type is a TTree (or TTree derived)
TDSet
This class implements a data set to be used for PROOF processing.
The TDSet defines the class of which objects will be processed,
the directory in the file where the objects of that type can be
found and the list of files to be processed. The files can be
specified as logical file names (LFN's) or as physical file names
(PFN's). In case of LFN's the resolution to PFN's will be done
according to the currently active GRID interface.
Examples:
TDSet treeset("TTree", "AOD");
treeset.Add("lfn:/alien.cern.ch/alice/prod2002/file1");
...
treeset.AddFriend(friendset);
or
TDSet objset("MyEvent", "*", "/events");
objset.Add("root://cms.cern.ch/user/prod2002/hprod_1.root");
...
objset.Add(set2003);
Validity of file names will only be checked at processing time
(typically on the PROOF master server), not at creation time.
const char * GetDirectory()
Return directory where to look for object.
void DeleteFriends()
Deletes the list of friends and all the friends on the list.
Author: Fons Rademakers 11/01/02
Last update: root/tree:$Name: $:$Id: TDSet.cxx,v 1.33 2006/06/27 14:56:57 brun Exp $
Copyright (C) 1995-2001, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.