#include <TBranchClones.h>
Inheritance diagram for TBranchClones:
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 |
TClonesArray * | GetList () 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 |
TClonesArray * | GetList () 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 | |
TClonesArray * | fList |
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. | |
TBranch * | fBranchCount |
TClonesArray * | fList |
TBranch * | fBranchCount |
Friends | |
class | TTreeCloner |
Definition at line 31 of file TBranchClones.h.
TBranchClones::TBranchClones | ( | ) |
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] |
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().
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] |
TClonesArray* TBranchClones::GetList | ( | ) | const [inline] |
Bool_t TBranchClones::IsFolder | ( | ) | const [inline, virtual] |
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 | , | |
2 | ||||
) |
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] |
Reimplemented from TBranch.
virtual Int_t TBranchClones::GetN | ( | ) | const [inline, virtual] |
TClonesArray* TBranchClones::GetList | ( | ) | const [inline] |
Bool_t TBranchClones::IsFolder | ( | ) | const [inline, virtual] |
virtual void TBranchClones::Print | ( | Option_t * | option = "" |
) | const [virtual] |
Reimplemented from TBranch.
virtual void TBranchClones::SetAddress | ( | void * | add | ) | [virtual] |
Reimplemented from TBranch.
virtual void TBranchClones::UpdateFile | ( | ) | [virtual] |
Reimplemented from TBranch.
TBranchClones::ClassDef | ( | TBranchClones | , | |
2 | ||||
) |
TTreeCloner [friend] |
Definition at line 41 of file TBranchClones.h.
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] |
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.