TBranchClones Class Reference

#include <TBranchClones.h>

Inheritance diagram for TBranchClones:

TBranch TBranch TAttFill TNamed TAttFill TNamed TAttFill TNamed TAttFill TNamed List of all members.

Public Member Functions

 TBranchClones ()
 TBranchClones (TTree *tree, const char *name, void *clonesaddress, Int_t basketsize=32000, Int_t compress=-1, Int_t splitlevel=1)
 TBranchClones (TBranch *parent, const char *name, void *clonesaddress, Int_t basketsize=32000, Int_t compress=-1, Int_t splitlevel=1)
virtual ~TBranchClones ()
virtual void Browse (TBrowser *b)
virtual Int_t Fill ()
virtual Int_t GetEntry (Long64_t entry=0, Int_t getall=0)
virtual Int_t GetN () const
TClonesArrayGetList () const
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 UpdateFile ()
 ClassDef (TBranchClones, 2)
 TBranchClones ()
 TBranchClones (TTree *tree, const char *name, void *clonesaddress, Int_t basketsize=32000, Int_t compress=-1, Int_t splitlevel=1)
 TBranchClones (TBranch *parent, const char *name, void *clonesaddress, Int_t basketsize=32000, Int_t compress=-1, Int_t splitlevel=1)
virtual ~TBranchClones ()
virtual void Browse (TBrowser *b)
virtual Int_t Fill ()
virtual Int_t GetEntry (Long64_t entry=0, Int_t getall=0)
virtual Int_t GetN () const
TClonesArrayGetList () const
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 UpdateFile ()
 ClassDef (TBranchClones, 2)

Protected Member Functions

void Init (TTree *tree, TBranch *parent, const char *name, void *clonesaddress, Int_t basketsize=32000, Int_t compress=-1, Int_t splitlevel=1)
void Init (TTree *tree, TBranch *parent, const char *name, void *clonesaddress, Int_t basketsize=32000, Int_t compress=-1, Int_t splitlevel=1)

Protected Attributes

TClonesArrayfList
Int_t fRead
 Pointer to the clonesarray.
Int_t fN
 flag = 1 if clonesarray has been read
Int_t fNdataMax
 Number of elements in ClonesArray.
TString fClassName
 Maximum value of fN.
TBranchfBranchCount
TClonesArrayfList
TBranchfBranchCount

Friends

class TTreeCloner

Detailed Description

Definition at line 31 of file TBranchClones.h.


Constructor & Destructor Documentation

TBranchClones::TBranchClones (  ) 

TBranchClones::TBranchClones ( TTree tree,
const char *  name,
void *  clonesaddress,
Int_t  basketsize = 32000,
Int_t  compress = -1,
Int_t  splitlevel = 1 
)

Definition at line 52 of file TBranchClones.cxx.

References Init().

TBranchClones::TBranchClones ( TBranch parent,
const char *  name,
void *  clonesaddress,
Int_t  basketsize = 32000,
Int_t  compress = -1,
Int_t  splitlevel = 1 
)

Definition at line 66 of file TBranchClones.cxx.

References Init().

TBranchClones::~TBranchClones (  )  [virtual]

Definition at line 207 of file TBranchClones.cxx.

References TObjArray::Delete(), fBranchCount, TBranch::fBranches, and fList.

TBranchClones::TBranchClones (  ) 

TBranchClones::TBranchClones ( TTree tree,
const char *  name,
void *  clonesaddress,
Int_t  basketsize = 32000,
Int_t  compress = -1,
Int_t  splitlevel = 1 
)

TBranchClones::TBranchClones ( TBranch parent,
const char *  name,
void *  clonesaddress,
Int_t  basketsize = 32000,
Int_t  compress = -1,
Int_t  splitlevel = 1 
)

virtual TBranchClones::~TBranchClones (  )  [virtual]


Member Function Documentation

void TBranchClones::Init ( TTree tree,
TBranch parent,
const char *  name,
void *  clonesaddress,
Int_t  basketsize = 32000,
Int_t  compress = -1,
Int_t  splitlevel = 1 
) [protected]

Definition at line 80 of file TBranchClones.cxx.

References TObjArray::Add(), TTree::BuildStreamerInfo(), TClass::CanIgnoreTObjectStreamer(), TString::Data(), TBranch::fAddress, fBranchCount, TBranch::fBranches, fClassName, TBranch::fDirectory, TBranch::fFileName, fList, TBranch::fMother, fN, TString::Form(), TBranch::fParent, TBranch::fSplitLevel, TBranch::fTree, TDataMember::GetArrayDim(), TClass::GetClass(), TClonesArray::GetClass(), TFile::GetCompressionLevel(), TRealData::GetDataMember(), TDataMember::GetDataType(), TTree::GetDirectory(), TDirectory::GetFile(), TDataMember::GetFullTypeName(), TBranch::GetListOfLeaves(), TClass::GetListOfRealData(), TDataMember::GetMaxIndex(), TBranch::GetMother(), TRealData::GetName(), TRealData::GetThisOffset(), TBranch::GetTree(), TDataType::GetType(), TDataMember::IsaPointer(), TDataMember::IsBasic(), TRealData::IsObject(), TDataMember::IsPersistent(), TClonesArray::kForgetBits, kIsClone, TRealData::kTransient, TObject::SetBit(), TLeaf::SetLeafCount(), TLeaf::SetLen(), TNamed::SetName(), TLeaf::SetOffset(), TBranch::TBranch(), TObject::TestBit(), type, TObjArray::UncheckedAt(), and TObject::Warning().

Referenced by TBranchClones().

void TBranchClones::Browse ( TBrowser b  )  [virtual]

Reimplemented from TBranch.

Definition at line 219 of file TBranchClones.cxx.

References b, TCollection::Browse(), and TBranch::fBranches.

Int_t TBranchClones::Fill (  )  [virtual]

Reimplemented from TBranch.

Definition at line 227 of file TBranchClones.cxx.

References TBranch::fAddress, fBranchCount, TBranch::fBranches, TBranch::fEntries, TBranch::Fill(), fList, fN, fNdataMax, TString::Form(), TObjArray::GetEntriesFast(), TBranch::GetLeaf(), TNamed::GetName(), TCollection::GetSize(), i, TLeaf::Import(), TLeaf::SetAddress(), TLeafI::SetMaximum(), and TObjArray::UncheckedAt().

Int_t TBranchClones::GetEntry ( Long64_t  entry = 0,
Int_t  getall = 0 
) [virtual]

Reimplemented from TBranch.

Definition at line 266 of file TBranchClones.cxx.

References TClonesArray::Clear(), TClonesArray::ExpandCreateFast(), fBranchCount, TBranch::fBranches, fList, fN, TObjArray::GetEntriesFast(), TBranch::GetEntry(), TBranch::GetEntryExport(), TBranch::GetListOfLeaves(), TBranch::GetOffset(), TLeaf::GetValue(), i, kDoNotProcess, TObject::TestBit(), and TObjArray::UncheckedAt().

virtual Int_t TBranchClones::GetN (  )  const [inline, virtual]

Definition at line 54 of file TBranchClones.h.

References fN.

TClonesArray* TBranchClones::GetList (  )  const [inline]

Definition at line 55 of file TBranchClones.h.

References fList.

Bool_t TBranchClones::IsFolder (  )  const [inline, virtual]

Reimplemented from TBranch.

Definition at line 56 of file TBranchClones.h.

References kTRUE.

void TBranchClones::Print ( Option_t option = ""  )  const [virtual]

Reimplemented from TBranch.

Definition at line 305 of file TBranchClones.cxx.

References TObjArray::At(), fBranchCount, TBranch::fBranches, TObjArray::GetEntriesFast(), i, TBranch::Print(), and TObject::Print().

void TBranchClones::Reset ( Option_t option = ""  )  [virtual]

Reimplemented from TBranch.

Definition at line 318 of file TBranchClones.cxx.

References TObjArray::At(), fBranchCount, TBranch::fBranches, TBranch::fEntries, TBranch::fTotBytes, TBranch::fZipBytes, TObjArray::GetEntriesFast(), i, and TBranch::Reset().

void TBranchClones::SetAddress ( void *  add  )  [virtual]

Reimplemented from TBranch.

Definition at line 338 of file TBranchClones.cxx.

References TBranch::fAddress, fBranchCount, fClassName, fList, fN, TBranch::fReadEntry, and TBranch::SetAddress().

void TBranchClones::SetBasketSize ( Int_t  buffsize  )  [virtual]

Reimplemented from TBranch.

Definition at line 357 of file TBranchClones.cxx.

References TBranch::fBasketSize, TBranch::fBranches, TObjArray::GetEntriesFast(), i, and TBranch::SetBasketSize().

void TBranchClones::UpdateFile (  )  [virtual]

Reimplemented from TBranch.

Definition at line 456 of file TBranchClones.cxx.

References TBranch::UpdateFile().

TBranchClones::ClassDef ( TBranchClones  ,
 
)

void TBranchClones::Init ( TTree tree,
TBranch parent,
const char *  name,
void *  clonesaddress,
Int_t  basketsize = 32000,
Int_t  compress = -1,
Int_t  splitlevel = 1 
) [protected]

virtual void TBranchClones::Browse ( TBrowser b  )  [virtual]

Reimplemented from TBranch.

virtual Int_t TBranchClones::Fill (  )  [virtual]

Reimplemented from TBranch.

virtual Int_t TBranchClones::GetEntry ( Long64_t  entry = 0,
Int_t  getall = 0 
) [virtual]

Reimplemented from TBranch.

virtual Int_t TBranchClones::GetN (  )  const [inline, virtual]

Definition at line 54 of file TBranchClones.h.

References fN.

TClonesArray* TBranchClones::GetList (  )  const [inline]

Definition at line 55 of file TBranchClones.h.

References fList.

Bool_t TBranchClones::IsFolder (  )  const [inline, virtual]

Reimplemented from TBranch.

Definition at line 56 of file TBranchClones.h.

References kTRUE.

virtual void TBranchClones::Print ( Option_t option = ""  )  const [virtual]

Reimplemented from TBranch.

virtual void TBranchClones::Reset ( Option_t option = ""  )  [virtual]

Reimplemented from TBranch.

virtual void TBranchClones::SetAddress ( void *  add  )  [virtual]

Reimplemented from TBranch.

virtual void TBranchClones::SetBasketSize ( Int_t  buffsize  )  [virtual]

Reimplemented from TBranch.

virtual void TBranchClones::UpdateFile (  )  [virtual]

Reimplemented from TBranch.

TBranchClones::ClassDef ( TBranchClones  ,
 
)


Friends And Related Function Documentation

TTreeCloner [friend]

Definition at line 41 of file TBranchClones.h.


Member Data Documentation

TClonesArray* TBranchClones::fList [protected]

Definition at line 34 of file TBranchClones.h.

Referenced by Fill(), GetEntry(), GetList(), Init(), SetAddress(), and ~TBranchClones().

Int_t TBranchClones::fRead [protected]

Pointer to the clonesarray.

Definition at line 35 of file TBranchClones.h.

Int_t TBranchClones::fN [protected]

flag = 1 if clonesarray has been read

Definition at line 36 of file TBranchClones.h.

Referenced by Fill(), GetEntry(), GetN(), Init(), and SetAddress().

Int_t TBranchClones::fNdataMax [protected]

Number of elements in ClonesArray.

Definition at line 37 of file TBranchClones.h.

Referenced by Fill().

TString TBranchClones::fClassName [protected]

Maximum value of fN.

Definition at line 38 of file TBranchClones.h.

Referenced by Init(), and SetAddress().

TBranch* TBranchClones::fBranchCount [protected]

Definition at line 39 of file TBranchClones.h.

Referenced by TTreeCloner::CollectBranches(), Fill(), GetEntry(), Init(), Print(), Reset(), SetAddress(), and ~TBranchClones().

TClonesArray* TBranchClones::fList [protected]

Definition at line 34 of file TBranchClones.h.

TBranch* TBranchClones::fBranchCount [protected]

Definition at line 39 of file TBranchClones.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:34:53 2011 for ROOT_528-00b_version by  doxygen 1.5.1