TDSetElement


class description - source file - inheritance tree

class TDSetElement : public TObject


    public:
TDSetElement TDSetElement() TDSetElement TDSetElement(const TDSet* set, const char* file, const char* objname = "0", const char* dir = "0", Long64_t first = 0, Long64_t num = -1) TDSetElement TDSetElement(const TDSetElement&) virtual void ~TDSetElement() static TClass* Class() const char* GetDirectory() const const char* GetFileName() const Long64_t GetFirst() const Long64_t GetNum() const const char* GetObjName() const virtual TClass* IsA() const virtual void Print(Option_t* option) const void SetFirst(Long64_t first) void SetNum(Long64_t num) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    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 const TDSet* fSet set to which element belongs

Class Description

                                                                      
 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.        
                                                                      


TDSetElement(const TDSet *set, const char *file, const char *objname, const char *dir, Long64_t first, Long64_t num)
 Create a TDSet element.

const char* GetObjName() const
 Return object name.

const char* GetDirectory() const
 Return directory where to look for object.

void Print(Option_t *) const
 Print a TDSetElement.



Inline Functions


        TDSetElement TDSetElement(const TDSet* set, const char* file, const char* objname = "0", const char* dir = "0", Long64_t first = 0, Long64_t num = -1)
         const char* GetFileName() const
            Long64_t GetFirst() const
                void SetFirst(Long64_t first)
            Long64_t GetNum() const
                void SetNum(Long64_t num)
             TClass* Class()
             TClass* IsA() const
                void ShowMembers(TMemberInspector& insp, char* parent)
                void Streamer(TBuffer& b)
                void StreamerNVirtual(TBuffer& b)
        TDSetElement TDSetElement(const TDSetElement&)
                void ~TDSetElement()


Author: Fons Rademakers 11/01/02
Last update: root/tree:$Name: $:$Id: TDSet.cxx,v 1.3 2003/04/04 10:21:16 rdm Exp $
Copyright (C) 1995-2001, Rene Brun and Fons Rademakers. *


ROOT page - Class index - 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.