library: libTree
#include "TTreeSQL.h"


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

class TTreeSQL: public TTree

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
TTreeSQL(TSQLServer* server, TString DB, const TString& table)
voidTObject::AbstractMethod(const char* method) const
virtual TFriendElement*TTree::AddFriend(const char* treename, const char* filename = "")
virtual TFriendElement*TTree::AddFriend(const char* treename, TFile* file)
virtual TFriendElement*TTree::AddFriend(TTree* tree, const char* alias = "", Bool_t warn = kFALSE)
virtual voidTTree::AddTotBytes(Int_t tot)
virtual voidTTree::AddZipBytes(Int_t zip)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual Long64_tTTree::AutoSave(Option_t* option = "")
virtual Int_tBranch(TList* list, Int_t bufsize = 32000, Int_t splitlevel = 99)
virtual Int_tBranch(const char* folder, Int_t bufsize = 32000, Int_t splitlevel = 99)
virtual Int_tBranch(TCollection* list, Int_t bufsize = 32000, Int_t splitlevel = 99, const char* name = "")
virtual TBranch*Branch(const char* name, void* address, const char* leaflist, Int_t bufsize)
virtual TBranch*BranchOld(const char* name, const char* classname, void* addobj, Int_t bufsize = 32000, Int_t splitlevel = 1)
virtual TBranch*TTree::BranchRef()
virtual TBranch*Bronch(const char* name, const char* classname, void* addobj, Int_t bufsize = 32000, Int_t splitlevel = 99)
virtual voidTTree::Browse(TBrowser*)
virtual Int_tTTree::BuildIndex(const char* majorname, const char* minorname = "0")
TStreamerInfo*TTree::BuildStreamerInfo(TClass* cl, void* pointer = 0)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual TTree*TTree::CloneTree(Long64_t nentries = -1, Option_t* option = "")
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
virtual voidTTree::CopyAddresses(TTree*)
virtual Long64_tTTree::CopyEntries(TTree* tree, Long64_t nentries = -1)
virtual TTree*TTree::CopyTree(const char* selection, Option_t* option = "", Long64_t nentries = 1000000000, Long64_t firstentry = 0)
Int_tTTree::Debug() const
virtual voidTTree::Delete(Option_t* option = "")
Int_tTAttLine::DistancetoLine(Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2)
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTTree::Draw(Option_t* opt)
virtual Long64_tTTree::Draw(const char* varexp, const TCut& selection, Option_t* option = "", Long64_t nentries = 1000000000, Long64_t firstentry = 0)
virtual Long64_tTTree::Draw(const char* varexp, const char* selection, Option_t* option = "", Long64_t nentries = 1000000000, Long64_t firstentry = 0)
virtual voidTObject::DrawClass() const
virtual TObject*TObject::DrawClone(Option_t* option = "") const
virtual voidTTree::DropBaskets()
virtual voidTTree::DropBuffers(Int_t nbytes)
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 Int_tFill()
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TBranch*TTree::FindBranch(const char* name)
virtual TLeaf*TTree::FindLeaf(const char* name)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Long64_tTTree::Fit(const char* funcname, const char* varexp, const char* selection = "", Option_t* option = "", Option_t* goption = "", Long64_t nentries = 1000000000, Long64_t firstentry = 0)
virtual const char*TTree::GetAlias(const char* aliasName) const
virtual TBranch*TTree::GetBranch(const char* name)
virtual TBranchRef*TTree::GetBranchRef() const
virtual Bool_tTTree::GetBranchStatus(const char* branchname) const
static Int_tTTree::GetBranchStyle()
virtual Long64_tTTree::GetCacheSize() const
virtual Long64_tTTree::GetChainEntryNumber(Long64_t entry) const
virtual Long64_tTTree::GetChainOffset() const
TFile*TTree::GetCurrentFile() const
Long64_tTTree::GetDebugMax() const
Long64_tTTree::GetDebugMin() const
TDirectory*TTree::GetDirectory() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual Long64_tGetEntries() const
virtual Long64_tGetEntries(const char* sel)
virtual Long64_tGetEntriesFast() const
virtual Long64_tTTree::GetEntriesFriend() const
virtual Int_tGetEntry(Long64_t entry = 0, Int_t getall = 0)
virtual Long64_tTTree::GetEntryNumber(Long64_t entry) const
virtual Long64_tTTree::GetEntryNumberWithBestIndex(Int_t major, Int_t minor = 0) const
virtual Long64_tTTree::GetEntryNumberWithIndex(Int_t major, Int_t minor = 0) const
virtual Int_tTTree::GetEntryWithIndex(Int_t major, Int_t minor = 0)
virtual Long64_tTTree::GetEstimate() const
Int_tTTree::GetEvent(Long64_t entry = 0, Int_t getall = 0)
TEventList*TTree::GetEventList() const
virtual Int_tTTree::GetFileNumber() const
virtual Color_tTAttFill::GetFillColor() const
virtual Style_tTAttFill::GetFillStyle() const
virtual const char*TTree::GetFriendAlias(TTree*) const
virtual const char*TObject::GetIconName() const
virtual Int_t*TTree::GetIndex()
virtual Double_t*TTree::GetIndexValues()
virtual TIterator*TTree::GetIteratorOnAllLeaves(Bool_t dir = kIterForward)
virtual TLeaf*TTree::GetLeaf(const char* name)
virtual Color_tTAttLine::GetLineColor() const
virtual Style_tTAttLine::GetLineStyle() const
virtual Width_tTAttLine::GetLineWidth() const
virtual TSeqCollection*TTree::GetListOfAliases() const
virtual TObjArray*TTree::GetListOfBranches()
virtual TList*TTree::GetListOfClones()
virtual TList*TTree::GetListOfFriends() const
virtual TObjArray*TTree::GetListOfLeaves()
Int_tTTree::GetMakeClass() const
virtual Color_tTAttMarker::GetMarkerColor() const
virtual Size_tTAttMarker::GetMarkerSize() const
virtual Style_tTAttMarker::GetMarkerStyle() const
virtual Long64_tTTree::GetMaxEntryLoop() const
virtual Double_tTTree::GetMaximum(const char* columname)
static Long64_tTTree::GetMaxTreeSize()
virtual Long64_tTTree::GetMaxVirtualSize() const
virtual Double_tTTree::GetMinimum(const char* columname)
virtual const char*TNamed::GetName() const
virtual Int_tTTree::GetNbranches()
TObject*TTree::GetNotify() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual Int_tTTree::GetPacketSize() const
virtual Long64_tTTree::GetReadEntry() const
virtual Long64_tTTree::GetReadEvent() const
virtual Int_tTTree::GetScanField() const
virtual Long64_tTTree::GetSelectedRows()
virtual Int_tTTree::GetTimerInterval() const
virtual const char*TNamed::GetTitle() const
virtual Long64_tTTree::GetTotBytes() const
virtual TTree*TTree::GetTree() const
virtual TVirtualIndex*TTree::GetTreeIndex() const
virtual Int_tTTree::GetTreeNumber() const
virtual UInt_tTObject::GetUniqueID() const
virtual Int_tTTree::GetUpdate() const
virtual TList*TTree::GetUserInfo()
virtual Double_t*TTree::GetV1()
virtual Double_t*TTree::GetV2()
virtual Double_t*TTree::GetV3()
virtual Double_t*TTree::GetV4()
virtual Double_t*TTree::GetW()
virtual Double_tTTree::GetWeight() const
virtual Long64_tTTree::GetZipBytes() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual voidTTree::IncrementTotalBuffers(Int_t nbytes)
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
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTTree::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
virtual Bool_tTAttFill::IsTransparent() const
Bool_tTObject::IsZombie() const
virtual Int_tTTree::LoadBaskets(Long64_t maxmemory = 2000000000)
virtual Long64_tLoadTree(Long64_t entry)
virtual Long64_tTTree::LoadTreeFriend(Long64_t entry, TTree* T)
virtual voidTNamed::ls(Option_t* option = "") const
virtual Int_tTTree::MakeClass(const char* classname = "0", Option_t* option = "")
virtual Int_tTTree::MakeCode(const char* filename = "0")
virtual Int_tTTree::MakeProxy(const char* classname, const char* macrofilename = "0", const char* cutfilename = "0", const char* option = "0", Int_t maxUnrolling = 3)
virtual Int_tTTree::MakeSelector(const char* selector = "0")
voidTObject::MayNotUse(const char* method) const
Bool_tTTree::MemoryFull(Int_t nbytes)
virtual Long64_tTTree::Merge(TCollection* list, Option_t* option = "")
static TTree*TTree::MergeTrees(TList* list, Option_t* option = "")
virtual voidTAttLine::Modify()
virtual Bool_tTTree::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)
TNamed&TNamed::operator=(const TNamed& rhs)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual Long64_tPrepEntry(Long64_t entry)
TPrincipal*TTree::Principal(const char* varexp = "", const char* selection = "", Option_t* option = "np", Long64_t nentries = 1000000000, Long64_t firstentry = 0)
virtual voidTTree::Print(Option_t* option = "") const
virtual Long64_tTTree::Process(const char* filename, Option_t* option = "", Long64_t nentries = 1000000000, Long64_t firstentry = 0)
virtual Long64_tTTree::Process(TSelector* selector, Option_t* option = "", Long64_t nentries = 1000000000, Long64_t firstentry = 0)
virtual Long64_tTTree::Project(const char* hname, const char* varexp, const char* selection = "", Option_t* option = "", Long64_t nentries = 1000000000, Long64_t firstentry = 0)
virtual TSQLResult*TTree::Query(const char* varexp = "", const char* selection = "", Option_t* option = "", Long64_t nentries = 1000000000, Long64_t firstentry = 0)
virtual Int_tTObject::Read(const char* name)
virtual Long64_tTTree::ReadFile(const char* filename, const char* branchDescriptor = "")
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual voidRefresh()
virtual voidTTree::RemoveFriend(TTree*)
virtual voidTTree::Reset(Option_t* option = "")
virtual voidTAttFill::ResetAttFill(Option_t* option = "")
virtual voidTAttLine::ResetAttLine(Option_t* option = "")
virtual voidTAttMarker::ResetAttMarker(Option_t* toption = "")
voidTObject::ResetBit(UInt_t f)
virtual voidTTree::ResetBranchAddresses()
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTAttFill::SaveFillAttributes(ostream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1001)
virtual voidTAttLine::SaveLineAttributes(ostream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1, Int_t widdef = 1)
virtual voidTAttMarker::SaveMarkerAttributes(ostream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1, Int_t sizdef = 1)
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
virtual Long64_tTTree::Scan(const char* varexp = "", const char* selection = "", Option_t* option = "", Long64_t nentries = 1000000000, Long64_t firstentry = 0)
virtual Bool_tTTree::SetAlias(const char* aliasName, const char* aliasFormula)
virtual voidTTree::SetAutoSave(Long64_t autos = 10000000)
virtual voidTTree::SetBasketSize(const char* bname, Int_t buffsize = 16000)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidTTree::SetBranchAddress(const char* bname, void** add, TBranch** ptr = 0)
virtual voidTTree::SetBranchAddress(const char* bname, void* add, TClass* realClass, EDataType datatype, Bool_t isptr)
virtual voidTTree::SetBranchAddress(const char* bname, void* add, TBranch** ptr, TClass* realClass, EDataType datatype, Bool_t isptr)
virtual voidTTree::SetBranchStatus(const char* bname, Bool_t status = 1, UInt_t* found = 0)
static voidTTree::SetBranchStyle(Int_t style = 1)
virtual voidTTree::SetCacheSize(Long64_t cachesize = 10000000)
virtual voidTTree::SetChainOffset(Int_t offset = 0)
virtual voidTTree::SetCircular(Long64_t maxEntries)
virtual voidTTree::SetDebug(Int_t level = 1, Long64_t min = 0, Long64_t max = 9999999)
virtual voidTTree::SetDirectory(TDirectory* dir)
virtual voidTObject::SetDrawOption(Option_t* option = "")
static voidTObject::SetDtorOnly(void* obj)
virtual Long64_tTTree::SetEntries(Long64_t n = -1)
virtual voidTTree::SetEstimate(Long64_t nentries = 10000)
virtual voidTTree::SetEventList(TEventList* list)
virtual voidTTree::SetFileNumber(Int_t number = 0)
virtual voidTAttFill::SetFillAttributes()
virtual voidTAttFill::SetFillColor(Color_t fcolor)
virtual voidTAttFill::SetFillStyle(Style_t fstyle)
virtual voidTAttLine::SetLineAttributes()
virtual voidTAttLine::SetLineColor(Color_t lcolor)
virtual voidTAttLine::SetLineStyle(Style_t lstyle)
virtual voidTAttLine::SetLineWidth(Width_t lwidth)
virtual voidTTree::SetMakeClass(Int_t make)
virtual voidTAttMarker::SetMarkerAttributes()
virtual voidTAttMarker::SetMarkerColor(Color_t tcolor = 1)
virtual voidTAttMarker::SetMarkerSize(Size_t msize = 1)
virtual voidTAttMarker::SetMarkerStyle(Style_t mstyle = 1)
virtual voidTTree::SetMaxEntryLoop(Long64_t maxev = 1000000000)
static voidTTree::SetMaxTreeSize(Long64_t maxsize = 1900000000)
virtual voidTTree::SetMaxVirtualSize(Long64_t size = 0)
virtual voidTTree::SetName(const char* name)
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
virtual voidTTree::SetNotify(TObject* obj)
virtual voidTTree::SetObject(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTTree::SetScanField(Int_t n = 50)
virtual voidTTree::SetTimerInterval(Int_t msec = 333)
virtual voidTNamed::SetTitle(const char* title = "")
virtual voidTTree::SetTreeIndex(TVirtualIndex* index)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidTTree::SetUpdate(Int_t freq = 0)
virtual voidTTree::SetWeight(Double_t w = 1, Option_t* option = "")
virtual voidTTree::Show(Long64_t entry = -1, Int_t lenmax = 20)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual Int_tTNamed::Sizeof() const
virtual voidTTree::StartViewer()
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 Long64_tTTree::UnbinnedFit(const char* funcname, const char* varexp, const char* selection = "", Option_t* option = "", Long64_t nentries = 1000000000, Long64_t firstentry = 0)
virtual voidTTree::UseCurrentStyle()
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
virtual TBranch*BranchImp(const char* branchname, TClass* ptrClass, void* addobj, Int_t bufsize, Int_t splitlevel)
virtual TBranch*BranchImp(const char* branchname, const char* classname, TClass* ptrClass, void* addobj, Int_t bufsize, Int_t splitlevel)
virtual TFile*TTree::ChangeFile(TFile* file)
voidCheckBasket(TBranch* tb)
Bool_tCheckBranch(TBranch* tb)
virtual Bool_tTTree::CheckBranchAddressType(TBranch* branch, TClass* ptrClass, EDataType datatype, Bool_t ptr)
Bool_tCheckTable(const TString& table) const
TStringConvertTypeName(const TString& typeName)
virtual TBasket*CreateBasket(TBranch* br)
virtual voidCreateBranch(const TString& branchName, const TString& typeName)
TStringCreateBranches(TSQLResult* rs)
voidCreateTable(const TString& table)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
vector<Int_t>*GetColumnIndice(TBranch* branch)
const char*TTree::GetNameByIndex(TString& varexp, Int_t* index, Int_t colindex) const
virtual voidTTree::KeepCircular()
virtual voidTTree::MakeIndex(TString& varexp, Int_t* index)

Data Members

enum TTree::ELockStatusBits { kFindBranch
enum TTree::[unnamed] { kForceRead
enum TObject::EStatusBits { kCanDelete
enum TObject::[unnamed] { kIsOnHeap
Long64_tTTree::fEntriesNumber of entries
Long64_tTTree::fTotBytesTotal number of bytes in all branches before compression
Long64_tTTree::fZipBytesTotal number of bytes in all branches after compression
Long64_tTTree::fSavedBytesNumber of autosaved bytes
Double_tTTree::fWeightTree weight (see TTree::SetWeight)
Int_tTTree::fTimerIntervalTimer interval in milliseconds
Int_tTTree::fScanFieldNumber of runs before prompting in Scan
Int_tTTree::fUpdateUpdate frequency for EntryLoop
Long64_tTTree::fMaxEntriesMaximum number of entries in case of circular buffers
Long64_tTTree::fMaxEntryLoopMaximum number of entries to process
Long64_tTTree::fMaxVirtualSizeMaximum total size of buffers kept in memory
Long64_tTTree::fAutoSaveAutosave tree when fAutoSave bytes produced
Long64_tTTree::fEstimateNumber of entries to estimate histogram limits
Long64_tTTree::fCacheSize! Maximum size of file buffers
Long64_tTTree::fChainOffset! Offset of 1st entry of this Tree in a TChain
Long64_tTTree::fReadEntry! Number of the entry being processed
Long64_tTTree::fTotalBuffers! Total number of bytes in branch buffers
Int_tTTree::fPacketSize! Number of entries in one packet for parallel root
Int_tTTree::fNfill! Local for EntryLoop
Int_tTTree::fDebug! Debug level
Long64_tTTree::fDebugMin! First entry number to debug
Long64_tTTree::fDebugMax! Last entry number to debug
Int_tTTree::fMakeClass! not zero when processing code generated by MakeClass
Int_tTTree::fFileNumber! current file number (if file extensions)
TObject*TTree::fNotify! Object to be notified when loading a Tree
TDirectory*TTree::fDirectory! Pointer to directory holding this tree
TObjArrayTTree::fBranchesList of Branches
TObjArrayTTree::fLeavesDirect pointers to individual branch leaves
TList*TTree::fAliasesList of aliases for expressions based on the tree branches.
TEventList*TTree::fEventList! Pointer to event selection list (if one)
TArrayDTTree::fIndexValuesSorted index values
TArrayITTree::fIndexIndex of sorted values
TVirtualIndex*TTree::fTreeIndexPointer to the tree Index (if any)
TList*TTree::fFriendspointer to list of friend elements
TList*TTree::fUserInfopointer to a list of user objects associated to this Tree
TVirtualTreePlayer*TTree::fPlayer! Pointer to current Tree player
TList*TTree::fClones! List of cloned trees which share our addresses
TBranchRef*TTree::fBranchRefBranch supporting the TRefTable (if any)
UInt_tTTree::fFriendLockStatus! Record which method is locking the friend recursion
static Int_tTTree::fgBranchStyleOld/New branch style
static Long64_tTTree::fgMaxTreeSizeMaximum size of a file containg a Tree
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title
Color_tTAttLine::fLineColorline color
Style_tTAttLine::fLineStyleline style
Width_tTAttLine::fLineWidthline width
Color_tTAttFill::fFillColorfill area color
Style_tTAttFill::fFillStylefill area style
Color_tTAttMarker::fMarkerColorMarker color index
Style_tTAttMarker::fMarkerStyleMarker style
Size_tTAttMarker::fMarkerSizeMarker size

Class Description

 Implement TTree for a SQL backend                                    

TTreeSQL(TSQLServer *server, TString DB, const TString& table)
 Constructor with an explicit TSQLServer
TBranch* BranchImp(const char *, const char *, TClass *, void *, Int_t , Int_t )
 Not implemented yet
TBranch* BranchImp(const char *, TClass *, void *, Int_t , Int_t )
 Not implemented yet
Int_t Branch(TCollection *, Int_t, Int_t, const char *)
 Not implemented yet
Int_t Branch(TList *, Int_t, Int_t)
 Not implemented yet
Int_t Branch(const char *, Int_t , Int_t)
 Not implemented yet
TBranch* Bronch(const char *, const char *, void *, Int_t, Int_t)
 Not implemented yet
TBranch* BranchOld(const char *, const char *, void *, Int_t, Int_t)
 Not implemented yet
TBranch * Branch(const char *, const char *, void *, Int_t, Int_t)
 Not implemented yet
void CheckBasket(TBranch *branch)
 Check if the basket is properly setup
Bool_t CheckBranch(TBranch * tb)
 Check if the table has a column corresponding the branch
 and that the resultset are properly setup
Bool_t CheckTable(const TString &table)
 Check the table exist in the database
TString ConvertTypeName(const TString& typeName )
 Convert from ROOT typename to SQL typename
TBasket * CreateBasket(TBranch * tb)
 Create a TBasketSQL
void CreateBranch(const TString &branchName, const TString &typeName)
 Create the column(s) in the database that correspond to the branch
TString CreateBranches(TSQLResult * rs)
 determine leaf description string
void CreateTable(const TString &table)
 Create the database table corresponding to this TTree.
void Init()
 Initializeation routine
Int_t Fill()
 Copy the information from the user object to the TTree
vector<Int_t> * GetColumnIndice(TBranch *branch)
 Return a vector of columns index corresponding to the
 current SQL table and the branch given as argument
 Returns 0 if no columns indices is found
 Otherwise returns a pointer to a vector to be deleted by the caller
Long64_t GetEntries()
 Get the number of rows in the database
Long64_t GetEntriesFast()
 Return the number of entries as of the last check.
 Use GetEntries for a more accurate count.
Int_t GetEntry(Long64_t entry, Int_t getall)
 Load the data for the entry from the database.
Long64_t LoadTree(Long64_t entry)
 Setup the tree to the load the specified entry.
Long64_t PrepEntry(Long64_t entry)
 Make sure the server and result set are setup for the requested entry
void Refresh()
  Refresh contents of this Tree and his branches from the current
  Tree status in the database
  One can call this function in case the Tree on its file is being
  updated by another process
void ResetQuery()
 Reset the internal query
Long64_t GetEntries()
TString GetTableName()
{ return fTable; }

Author: Philippe Canal and al. 08/2004
Last update: root/tree:$Name: $:$Id: TTreeSQL.cxx,v 1.9 2006/04/19 08:22:25 rdm Exp $
Copyright (C) 1995-2000, 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.