library: libProof
#include "TDSet.h"

TDSetElement


class description - header file - source file
viewCVS header - viewCVS source

class TDSetElement: public TObject

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
public:
TDSetElement()
TDSetElement(const TDSetElement& elem)
TDSetElement(const char* file, const char* objname = "0", const char* dir = "0", Long64_t first = 0, Long64_t num = -1, const char* msd = "0")
virtual~TDSetElement()
voidTObject::AbstractMethod(const char* method) const
virtual voidAddFriend(TDSetElement* friendElement, const char* alias)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tCompare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")
virtual voidDeleteFriends()
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() const
virtual TObject*TObject::DrawClone(Option_t* option = "") const
virtual voidTObject::Dump() const
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
const char*GetDirectory() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Long64_tGetEntries(Bool_t istree = kTRUE)
TEventList*GetEventList() const
const char*GetFileName() const
Long64_tGetFirst() const
virtual const char*TObject::GetIconName() const
virtual TDSetElement::FriendsList_t*GetListOfFriends() const
const char*GetMsd() const
virtual const char*TObject::GetName() const
Long64_tGetNum() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
const char*GetObjName() const
virtual Option_t*TObject::GetOption() const
Long64_tGetTDSetOffset() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
Bool_tGetValid() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() const
voidInvalidate()
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tIsSortable() const
Bool_tTObject::IsZombie() const
voidLookup(Bool_t force = kFALSE)
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
TDSetElement&operator=(const TDSetElement&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidPrint(Option_t* options = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")
static voidTObject::SetDtorOnly(void* obj)
voidSetEntries(Long64_t ent)
voidSetEventList(TEventList* aList)
voidSetFirst(Long64_t first)
voidSetLookedUp()
voidSetNum(Long64_t num)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetTDSetOffset(Long64_t offset)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
voidValidate(Bool_t isTree)
voidValidate(TDSetElement* elem)
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
private:
Bool_tHasBeenLookedUp() const

Data Members

public:
enum EStatusBits { kHasBeenLookedUp
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
private:
TStringfFileNamephysical or logical file name
TStringfObjNamename of objects to be analyzed in this file
TStringfDirectorydirectory in file where to look for objects
Long64_tfFirstfirst entry to process
Long64_tfNumnumber of entries to process
TStringfMsdmass storage domain name
Long64_tfTDSetOffsetthe global offset in the TDSet of the first
TEventList*fEventListevent list to be used in processing
Bool_tfValidwhether or not the input values are valid
Long64_tfEntriestotal number of possible entries in file
list<pair<TDSetElement*,TString>,allocator<pair<TDSetElement*,TString> > >*fFriendsfriend elements
Bool_tfIsTreetrue if type is a TTree (or TTree derived)

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 char *file, const char *objname, const char *dir, Long64_t first, Long64_t num, const char *msd)
 Create a TDSet element.
TDSetElement(const TDSetElement& elem)
 copy constructor
~TDSetElement()
 Clean up the element.
const char * GetObjName()
 Return object name.
const char * GetDirectory()
 Return directory where to look for object.
void Print(Option_t *opt)
 Print a TDSetElement. When option="a" print full data.
void Validate(Bool_t isTree)
 Validate by opening the file.
void Validate(TDSetElement *elem)
 Validate by checking against another element.
Int_t Compare(const TObject *obj)
Compare elements by filename (and the fFirst).
void AddFriend(TDSetElement *friendElement, const char *alias)
 Add friend TDSetElement to this set. The friend element will be copied to this object.
void DeleteFriends()
 Deletes the list of friends and all the friends on the list.
Long64_t GetEntries(Bool_t isTree)
 Returns number of entries in tree or objects in file. Returns -1 in
 case of error.
void Lookup(Bool_t force)
 Resolve end-point URL for this element
Bool_t HasBeenLookedUp()
{ return TestBit(kHasBeenLookedUp); }
TDSetElement()
{ fValid = kFALSE; fEventList = 0; fEntries = -1; fFriends = 0; }
FriendsList_t * GetListOfFriends()
{ return fFriends; }
const char * GetFileName()
{ return fFileName; }
Long64_t GetFirst()
{ return fFirst; }
void SetFirst(Long64_t first)
{ fFirst = first; }
Long64_t GetNum()
{ return fNum; }
void SetEntries(Long64_t ent)
{ fEntries = ent; }
const char * GetMsd()
{ return fMsd; }
void SetNum(Long64_t num)
{ fNum = num; }
Bool_t GetValid()
{ return fValid; }
Long64_t GetTDSetOffset()
{ return fTDSetOffset; }
void SetTDSetOffset(Long64_t offset)
{ fTDSetOffset = offset; }
TEventList * GetEventList()
{ return fEventList; }
void SetEventList(TEventList *aList)
{ fEventList = aList; }
void Invalidate()
{ fValid = kFALSE; }
Bool_t IsSortable()
{ return kTRUE; }
void SetLookedUp()
{ SetBit(kHasBeenLookedUp); }
void operator=(const TDSet &)

Author: Fons Rademakers 11/01/02
Last update: root/proof:$Name: $:$Id: TDSet.cxx,v 1.2 2006/11/28 12:10:52 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.