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) TBranchClones TBranchClones(TBranchClones&) virtual void ~TBranchClones() virtual void Browse(TBrowser* b) TClass* Class() virtual Int_t Fill() virtual Int_t GetEntry(Int_t entry = 0, Int_t getall = 0) TClonesArray* GetList() virtual Int_t GetN() virtual TClass* IsA() const virtual Bool_t IsFolder() virtual void Print(Option_t* option) 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)

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) :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)
*-*-*-*-*-*-*-*-*-*-*-*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()
        TClonesArray* GetList()
               Bool_t IsFolder()
              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
        TBranchClones TBranchClones(TBranchClones&)


Author: Rene Brun 11/02/96
Last update: 2.23/12 30/01/2000 18.22.12 by Rene Brun
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *


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.