TBranchClones


class description - source file - inheritance tree

class TBranchClones : public TBranch


    public:
TBranchClones TBranchClones() TBranchClones TBranchClones(const char* name, void* clonesaddress, Int_t basketsize = 32000, Int_t compress = -1, Int_t splitlevel = 1) TBranchClones TBranchClones(TBranchClones&) virtual void ~TBranchClones() virtual void Browse(TBrowser* b) static TClass* Class() virtual Int_t Fill() virtual Int_t GetEntry(Int_t entry = 0, Int_t getall = 0) TClonesArray* GetList() const virtual Int_t GetN() const virtual TClass* IsA() const virtual Bool_t IsFolder() const virtual void Print(Option_t* option) const virtual void Reset(Option_t* option) virtual void SetAddress(void* add) virtual void SetBasketSize(Int_t buffsize) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

protected:
TClonesArray* fList !Pointer to the clonesarray Int_t fRead !flag = 1 if clonesarray has been read Int_t fN !Number of elements in ClonesArray Int_t fNdataMax !Maximum value of fN TString fClassName name of the class of the objets in the ClonesArray TBranch* fBranchCount Branch with clones count

Class Description

                                                                      
 A Branch for the case of an array of clone objects                   //                                                                      
 See TTree.                                                           //                                                                     
                                                                      


TBranchClones(): TBranch()
*-*-*-*-*-*Default constructor for BranchClones*-*-*-*-*-*-*-*-*-*
*-*        ====================================

TBranchClones(const char *name, void *pointer, Int_t basketsize, Int_t compress, Int_t splitlevel) :TBranch()
*-*-*-*-*-*-*-*-*-*-*-*-*Create a BranchClones*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                      =====================


~TBranchClones()
*-*-*-*-*-*Default destructor for a BranchClones*-*-*-*-*-*-*-*-*-*-*-*
*-*        =====================================

void Browse(TBrowser *b)

Int_t Fill()
*-*-*-*-*Loop on all Branches of this BranchClones to fill Basket buffer*-*
*-*      ===============================================================

Int_t GetEntry(Int_t entry, Int_t getall)
*-*-*-*-*Read all branches of a BranchClones and return total number of bytes
*-*      ====================================================================

void Print(Option_t *option) const
*-*-*-*-*-*-*-*-*-*-*-*Print TBranch parameters*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                    ========================

void Reset(Option_t *option)
*-*-*-*-*-*-*-*Reset a Branch*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*            ====================

    Existing buffers are deleted
    Entries, max and min are reset


void SetAddress(void *add)
*-*-*-*-*-*-*-*Set address of this branch*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*            ====================
*-*

void SetBasketSize(Int_t buffsize)
*-*-*-*-*-*-*-*Reset basket size for all subbranches of this branchclones
*-*            ==========================================================


void Streamer(TBuffer &b)
*-*-*-*-*-*-*-*-*Stream a class object*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*              =========================================



Inline Functions


                Int_t GetN() const
        TClonesArray* GetList() const
               Bool_t IsFolder() const
              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void StreamerNVirtual(TBuffer& b)
        TBranchClones TBranchClones(TBranchClones&)


Author: Rene Brun 11/02/96
Last update: root/tree:$Name: $:$Id: TBranchClones.cxx,v 1.9 2000/12/18 07:12:58 brun Exp $
Copyright (C) 1995-2000, 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.