library: libTree
#include "TBranchClones.h"

TBranchClones


class description - header file - source file - inheritance tree (.pdf)

class TBranchClones : public TBranch

Inheritance Chart:
TObject
<-
TNamed
TAttFill
<-
TBranch
<-
TBranchClones

    public:
TBranchClones() TBranchClones(const char* name, void* clonesaddress, Int_t basketsize = 32000, Int_t compress = -1, Int_t splitlevel = 1) TBranchClones(const TBranchClones&) virtual ~TBranchClones() virtual void Browse(TBrowser* b) static TClass* Class() virtual Int_t Fill() virtual Int_t GetEntry(Long64_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()
*-*-*-*-*-*Default constructor for BranchClones*-*-*-*-*-*-*-*-*-*
*-*        ====================================
TBranchClones(const char *name, void *pointer, Int_t basketsize, Int_t compress, Int_t splitlevel)
*-*-*-*-*-*-*-*-*-*-*-*-*Create a BranchClones*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                      =====================

~TBranchClones()
*-*-*-*-*-*Default destructor for a BranchClones*-*-*-*-*-*-*-*-*-*-*-*
*-*        =====================================
void Browse(TBrowser *b)
 Browse this branch.
Int_t Fill()
*-*-*-*-*Loop on all Branches of this BranchClones to fill Basket buffer*-*
*-*      ===============================================================
Int_t GetEntry(Long64_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*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*              =========================================
TBranchClones()
Int_t GetN()
Bool_t IsFolder()

Author: Rene Brun 11/02/96
Last update: root/tree:$Name: $:$Id: TBranchClones.cxx,v 1.20 2005/11/16 20:23:33 pcanal 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.