library: libTree
#include "TDSet.h"

TDSetElement


class description - source file - inheritance tree (.pdf)

class TDSetElement : public TObject

Inheritance Chart:
TObject
<-
TDSetElement

    public:
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* msd = "0") TDSetElement(const TDSetElement&) virtual ~TDSetElement() static TClass* Class() virtual Int_t Compare(const TObject* obj) const const char* GetDirectory() const TEventList* GetEventList() const const char* GetFileName() const Long64_t GetFirst() const const char* GetMsd() const Long64_t GetNum() const const char* GetObjName() const Long64_t GetTDSetOffset() const Bool_t GetValid() const virtual TClass* IsA() const virtual Bool_t IsSortable() const virtual void Print(Option_t* options = "") const 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() void Validate(TDSetElement* elem)

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 TString fMsd mass storage domain name Long64_t fTDSetOffset ! offset in the whole 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

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, const char *msd)
 Create a TDSet element.

~TDSetElement()
 Clean up the element.

const char* GetObjName() const
 Return object name.

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

void Print(Option_t *opt) const
 Print a TDSetElement. When option="a" print full data.

void Validate()
 Validate by opening the file.

void Validate(TDSetElement* elem)
 Validate by checking against another element.

Int_t Compare(const TObject *obj) const
Compare elements by filename (and the fFirst).



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* msd = "0")
         const char* GetFileName() const
            Long64_t GetFirst() const
                void SetFirst(Long64_t first)
            Long64_t GetNum() const
         const char* GetMsd() const
                void SetNum(Long64_t num)
              Bool_t GetValid() const
            Long64_t GetTDSetOffset() const
                void SetTDSetOffset(Long64_t offset)
         TEventList* GetEventList() const
                void SetEventList(TEventList* aList)
              Bool_t IsSortable() const
             TClass* Class()
             TClass* IsA() const
                void ShowMembers(TMemberInspector& insp, char* parent)
                void Streamer(TBuffer& b)
                void StreamerNVirtual(TBuffer& b)
        TDSetElement TDSetElement(const TDSetElement&)


Author: Fons Rademakers 11/01/02
Last update: root/tree:$Name: $:$Id: TDSet.cxx,v 1.20 2005/05/13 16:39:50 rdm 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.