TBranchClones


class description - source file - inheritance tree

class TBranchClones : public TBranch


    public:
TBranchClones TBranchClones(const Text_t* name, void* clonesaddress, Int_t basketsize = 32000, Int_t compress = -1) TBranchClones TBranchClones(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) 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 Text_t *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)
*-*-*-*-*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/07 26/10/99 16.49.52 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.