#include <TLeaf.h>
Inheritance diagram for TLeaf:
Public Types | |
enum | |
enum | |
Public Member Functions | |
TLeaf () | |
TLeaf (TBranch *parent, const char *name, const char *type) | |
virtual | ~TLeaf () |
virtual void | Browse (TBrowser *b) |
virtual void | Export (TClonesArray *, Int_t) |
virtual void | FillBasket (TBuffer &b) |
TBranch * | GetBranch () const |
virtual TLeaf * | GetLeafCount () const |
virtual TLeaf * | GetLeafCounter (Int_t &countval) const |
virtual Int_t | GetLen () const |
virtual Int_t | GetLenStatic () const |
virtual Int_t | GetLenType () const |
virtual Int_t | GetMaximum () const |
virtual Int_t | GetMinimum () const |
virtual Int_t | GetNdata () const |
virtual Int_t | GetOffset () const |
virtual void * | GetValuePointer () const |
virtual const char * | GetTypeName () const |
virtual Double_t | GetValue (Int_t i=0) const |
virtual void | Import (TClonesArray *, Int_t) |
virtual Bool_t | IsOnTerminalBranch () const |
virtual Bool_t | IsRange () const |
virtual Bool_t | IsUnsigned () const |
virtual void | PrintValue (Int_t i=0) const |
virtual void | ReadBasket (TBuffer &) |
virtual void | ReadBasketExport (TBuffer &, TClonesArray *, Int_t) |
virtual void | ReadValue (istream &) |
Int_t | ResetAddress (void *add, Bool_t destructor=kFALSE) |
virtual void | SetAddress (void *add=0) |
virtual void | SetBranch (TBranch *branch) |
virtual void | SetLeafCount (TLeaf *leaf) |
virtual void | SetLen (Int_t len=1) |
virtual void | SetOffset (Int_t offset=0) |
virtual void | SetRange (Bool_t range=kTRUE) |
virtual void | SetUnsigned () |
ClassDef (TLeaf, 2) | |
TLeaf () | |
TLeaf (TBranch *parent, const char *name, const char *type) | |
virtual | ~TLeaf () |
virtual void | Browse (TBrowser *b) |
virtual void | Export (TClonesArray *, Int_t) |
virtual void | FillBasket (TBuffer &b) |
TBranch * | GetBranch () const |
virtual TLeaf * | GetLeafCount () const |
virtual TLeaf * | GetLeafCounter (Int_t &countval) const |
virtual Int_t | GetLen () const |
virtual Int_t | GetLenStatic () const |
virtual Int_t | GetLenType () const |
virtual Int_t | GetMaximum () const |
virtual Int_t | GetMinimum () const |
virtual Int_t | GetNdata () const |
virtual Int_t | GetOffset () const |
virtual void * | GetValuePointer () const |
virtual const char * | GetTypeName () const |
virtual Double_t | GetValue (Int_t i=0) const |
virtual void | Import (TClonesArray *, Int_t) |
virtual Bool_t | IsOnTerminalBranch () const |
virtual Bool_t | IsRange () const |
virtual Bool_t | IsUnsigned () const |
virtual void | PrintValue (Int_t i=0) const |
virtual void | ReadBasket (TBuffer &) |
virtual void | ReadBasketExport (TBuffer &, TClonesArray *, Int_t) |
virtual void | ReadValue (istream &) |
Int_t | ResetAddress (void *add, Bool_t destructor=kFALSE) |
virtual void | SetAddress (void *add=0) |
virtual void | SetBranch (TBranch *branch) |
virtual void | SetLeafCount (TLeaf *leaf) |
virtual void | SetLen (Int_t len=1) |
virtual void | SetOffset (Int_t offset=0) |
virtual void | SetRange (Bool_t range=kTRUE) |
virtual void | SetUnsigned () |
ClassDef (TLeaf, 2) | |
Protected Member Functions | |
TLeaf (const TLeaf &) | |
Pointer to supporting branch (we do not own the branch). | |
TLeaf & | operator= (const TLeaf &) |
TLeaf (const TLeaf &) | |
Pointer to supporting branch (we do not own the branch). | |
TLeaf & | operator= (const TLeaf &) |
Protected Attributes | |
Int_t | fNdata |
Int_t | fLen |
Number of elements in fAddress data buffer. | |
Int_t | fLenType |
Int_t | fOffset |
Bool_t | fIsRange |
Bool_t | fIsUnsigned |
TLeaf * | fLeafCount |
TBranch * | fBranch |
TLeaf * | fLeafCount |
TBranch * | fBranch |
Definition at line 37 of file TLeaf.h.
TLeaf::TLeaf | ( | const TLeaf & | ) | [protected] |
TLeaf::TLeaf | ( | ) |
TLeaf::TLeaf | ( | TBranch * | parent, | |
const char * | name, | |||
const char * | type | |||
) |
Definition at line 46 of file TLeaf.cxx.
References fLeafCount, fLen, TNamed::fName, GetLeafCounter(), TObject::MakeZombie(), and TString::ReplaceAll().
TLeaf::~TLeaf | ( | ) | [virtual] |
Definition at line 106 of file TLeaf.cxx.
References fBranch, fLeafCount, TObjArray::GetLast(), TTree::GetListOfLeaves(), TBranch::GetTree(), and TObjArray::Remove().
TLeaf::TLeaf | ( | const TLeaf & | ) | [protected] |
Pointer to supporting branch (we do not own the branch).
TLeaf::TLeaf | ( | ) |
TLeaf::TLeaf | ( | TBranch * | parent, | |
const char * | name, | |||
const char * | type | |||
) |
virtual TLeaf::~TLeaf | ( | ) | [virtual] |
Definition at line 88 of file TLeaf.cxx.
References fBranch, fIsRange, fIsUnsigned, fLeafCount, fLen, fLenType, fNdata, fOffset, and TNamed::operator=().
void TLeaf::Browse | ( | TBrowser * | b | ) | [virtual] |
Reimplemented from TObject.
Definition at line 122 of file TLeaf.cxx.
References b, TTree::Draw(), fBranch, TObjArray::GetEntries(), TBranch::GetListOfLeaves(), TNamed::GetName(), TBranch::GetTree(), gPad, and name.
virtual void TLeaf::Export | ( | TClonesArray * | , | |
Int_t | ||||
) | [inline, virtual] |
TBranch* TLeaf::GetBranch | ( | ) | const [inline] |
Definition at line 66 of file TLeaf.h.
References fBranch.
Referenced by TTreeCache::AddBranch(), ROOT::TTreeProxyGenerator::AnalyzeOldLeaf(), TMVA::DataSetFactory::ChangeToNewTree(), TTreeFormula::DefinedVariable(), TTree::Delete(), TTreeFormula::EvalObject(), TTreeFormula::EvalStringInstance(), TBranch::FindLeaf(), TTree::FindLeaf(), TTreeFormula::FindLeafForExpression(), TTree::GetLeaf(), GetLeafCounter(), TTreeFormula::GetLeafWithDatamember(), TFormLeafInfoReference::GetLocalValuePointer(), TFormLeafInfoCollectionObject::GetLocalValuePointer(), TFormLeafInfoClones::GetLocalValuePointer(), TFormLeafInfoCollection::GetLocalValuePointer(), TTree::GetMaximum(), TTree::GetMinimum(), TFormLeafInfo::GetObjectAddress(), TFormLeafInfoReference::GetValue(), TTree::LoadBaskets(), TTreePlayer::MakeClass(), TTreePlayer::MakeCode(), TTree::Notify(), TTreeFormula::ParseWithLeaf(), TTree::Print(), R__GetBranchPointerName(), TLeafI::ReadBasket(), TLeafO::ReadBasket(), TLeafS::ReadBasket(), TLeafC::ReadBasket(), TLeafObject::ReadBasket(), TLeafD::ReadBasket(), TLeafB::ReadBasket(), TLeafF::ReadBasket(), TLeafL::ReadBasket(), TTreeFormula::RegisterDimensions(), TTree::SetBranchStatus(), and ROOT::TBranchProxy::Setup().
virtual TLeaf* TLeaf::GetLeafCount | ( | ) | const [inline, virtual] |
Definition at line 67 of file TLeaf.h.
References fLeafCount.
Referenced by TTreeCache::AddBranch(), ROOT::TTreeProxyGenerator::AnalyzeOldLeaf(), convert_cwn(), THbookFile::ConvertCWN(), TBranch::Init(), THbookFile::InitLeaves(), TTreePlayer::MakeClass(), TTreePlayer::MakeCode(), R__GetBranchPointerName(), TTree::SetBranchStatus(), ROOT::TBranchProxy::Setup(), and PyROOT::TTreeGetAttr().
Definition at line 150 of file TLeaf.cxx.
References fBranch, TTree::FindLeaf(), TObjArray::FindObject(), GetBranch(), TBranch::GetListOfLeaves(), TTree::GetListOfLeaves(), TNamed::GetName(), TNamed::GetTitle(), TBranch::GetTree(), gTree, i, name, SetRange(), and strcpy().
Referenced by RooAbsReal::attachToTree(), and TLeaf().
Int_t TLeaf::GetLen | ( | ) | const [virtual] |
Definition at line 273 of file TLeaf.cxx.
References TObject::Error(), fLeafCount, fLen, GetMaximum(), TNamed::GetName(), GetValue(), and len.
Referenced by ROOT::TTreeProxyGenerator::AnalyzeOldLeaf(), TLeafF::FillBasket(), TLeafL::FillBasket(), TLeafI::FillBasket(), TLeafO::FillBasket(), TLeafD::FillBasket(), TLeafS::FillBasket(), TLeafB::FillBasket(), TTree::GetMaximum(), TTree::GetMinimum(), TBranch::Init(), and TTreePlayer::MakeClass().
virtual Int_t TLeaf::GetLenStatic | ( | ) | const [inline, virtual] |
Definition at line 70 of file TLeaf.h.
References fLen.
Referenced by TTreeSQL::CreateTable(), TBranchElement::FillLeaves(), TBranchElement::PrintValue(), TBranchElement::ReadLeavesMakeClass(), and PyROOT::TTreeGetAttr().
virtual Int_t TLeaf::GetLenType | ( | ) | const [inline, virtual] |
virtual Int_t TLeaf::GetMaximum | ( | ) | const [inline, virtual] |
Definition at line 72 of file TLeaf.h.
Referenced by ROOT::TTreeProxyGenerator::AnalyzeOldLeaf(), GetLen(), TBranchElement::InitInfo(), TTreePlayer::MakeClass(), TTreePlayer::MakeCode(), TLeafI::ReadBasket(), TLeafO::ReadBasket(), TLeafS::ReadBasket(), TLeafD::ReadBasket(), TLeafB::ReadBasket(), TLeafF::ReadBasket(), TLeafL::ReadBasket(), TLeafI::SetAddress(), TLeafL::SetAddress(), TLeafF::SetAddress(), TLeafB::SetAddress(), TLeafD::SetAddress(), TLeafC::SetAddress(), TLeafS::SetAddress(), and TLeafO::SetAddress().
virtual Int_t TLeaf::GetNdata | ( | ) | const [inline, virtual] |
virtual Int_t TLeaf::GetOffset | ( | ) | const [inline, virtual] |
virtual void* TLeaf::GetValuePointer | ( | ) | const [inline, virtual] |
Definition at line 76 of file TLeaf.h.
Referenced by TTree::CopyAddresses(), TTreeFormula::EvalObject(), TTreeFormula::EvalStringInstance(), TFormLeafInfoDirect::GetLocalValuePointer(), ROOT::TBranchProxy::Setup(), and PyROOT::TTreeGetAttr().
virtual const char* TLeaf::GetTypeName | ( | ) | const [inline, virtual] |
Definition at line 77 of file TLeaf.h.
Referenced by ROOT::TTreeProxyGenerator::AnalyzeOldLeaf(), RooAbsReal::attachToTree(), TTreeSQL::CheckBranch(), TTreeCloner::CollectBranches(), TTreeSQL::CreateTable(), TTreePlayer::MakeClass(), TBranch::Print(), and PyROOT::TTreeGetAttr().
Definition at line 99 of file TLeaf.h.
Referenced by TBranchClones::GetEntry(), GetLen(), TTree::GetMaximum(), TTree::GetMinimum(), TFormLeafInfoDirect::GetValue(), TLeafI::ReadBasket(), TLeafO::ReadBasket(), TLeafS::ReadBasket(), TLeafD::ReadBasket(), TLeafB::ReadBasket(), TLeafF::ReadBasket(), TLeafL::ReadBasket(), TLeafI::SetAddress(), TLeafL::SetAddress(), TLeafF::SetAddress(), TLeafB::SetAddress(), TLeafD::SetAddress(), TLeafC::SetAddress(), TLeafS::SetAddress(), and TLeafO::SetAddress().
virtual void TLeaf::Import | ( | TClonesArray * | , | |
Int_t | ||||
) | [inline, virtual] |
virtual Bool_t TLeaf::IsOnTerminalBranch | ( | ) | const [inline, virtual] |
Definition at line 80 of file TLeaf.h.
References kTRUE.
Referenced by TTreeFormula::BranchHasMethod(), TTreeFormula::FindLeafForExpression(), TTreeFormula::GetLeafWithDatamember(), and TTreeFormula::ParseWithLeaf().
virtual Bool_t TLeaf::IsRange | ( | ) | const [inline, virtual] |
Definition at line 81 of file TLeaf.h.
References fIsRange.
Referenced by TLeafL::FillBasket(), TLeafI::FillBasket(), TLeafS::FillBasket(), and TLeafB::FillBasket().
virtual Bool_t TLeaf::IsUnsigned | ( | ) | const [inline, virtual] |
Definition at line 82 of file TLeaf.h.
References fIsUnsigned.
Referenced by TLeafL::FillBasket(), TLeafI::FillBasket(), TLeafS::FillBasket(), TLeafB::FillBasket(), and TLeafB::GetValue().
void TLeaf::PrintValue | ( | Int_t | i = 0 |
) | const [inline, virtual] |
virtual void TLeaf::ReadBasket | ( | TBuffer & | ) | [inline, virtual] |
virtual void TLeaf::ReadBasketExport | ( | TBuffer & | , | |
TClonesArray * | , | |||
Int_t | ||||
) | [inline, virtual] |
virtual void TLeaf::ReadValue | ( | istream & | ) | [inline, virtual] |
Definition at line 292 of file TLeaf.cxx.
References fLeafCount, fLen, fNdata, kFALSE, kNewValue, kTRUE, TObject::ResetBit(), TObject::SetBit(), and TObject::TestBit().
Referenced by TLeafI::SetAddress(), TLeafL::SetAddress(), TLeafF::SetAddress(), TLeafB::SetAddress(), TLeafD::SetAddress(), TLeafC::SetAddress(), TLeafS::SetAddress(), TLeafO::SetAddress(), TLeafB::~TLeafB(), TLeafC::~TLeafC(), TLeafD::~TLeafD(), TLeafF::~TLeafF(), TLeafI::~TLeafI(), TLeafL::~TLeafL(), TLeafO::~TLeafO(), and TLeafS::~TLeafS().
void TLeaf::SetAddress | ( | void * | add = 0 |
) | [inline, virtual] |
Definition at line 101 of file TLeaf.h.
Referenced by TTree::BranchOld(), Build_Timing_Tree(), Draw_PerfProfiles(), TBranchClones::Fill(), TBranch::Init(), TBranchObject::Init(), run_selector_tests(), and TBranchObject::SetAddress().
virtual void TLeaf::SetBranch | ( | TBranch * | branch | ) | [inline, virtual] |
void TLeaf::SetLeafCount | ( | TLeaf * | leaf | ) | [virtual] |
Definition at line 335 of file TLeaf.cxx.
References fLeafCount, fLen, TObject::IsZombie(), TObject::kZombie, and TObject::ResetBit().
Referenced by TBranchClones::Init().
virtual void TLeaf::SetLen | ( | Int_t | len = 1 |
) | [inline, virtual] |
virtual void TLeaf::SetOffset | ( | Int_t | offset = 0 |
) | [inline, virtual] |
Definition at line 92 of file TLeaf.h.
References fOffset.
Referenced by TBranch::Init(), and TBranchClones::Init().
virtual void TLeaf::SetUnsigned | ( | ) | [inline, virtual] |
Definition at line 94 of file TLeaf.h.
References fIsUnsigned, and kTRUE.
Referenced by TBranch::Init().
TLeaf::ClassDef | ( | TLeaf | , | |
2 | ||||
) |
virtual void TLeaf::Export | ( | TClonesArray * | , | |
Int_t | ||||
) | [inline, virtual] |
virtual void TLeaf::FillBasket | ( | TBuffer & | b | ) | [virtual] |
TBranch* TLeaf::GetBranch | ( | ) | const [inline] |
virtual TLeaf* TLeaf::GetLeafCount | ( | ) | const [inline, virtual] |
virtual Int_t TLeaf::GetLen | ( | ) | const [virtual] |
virtual Int_t TLeaf::GetLenStatic | ( | ) | const [inline, virtual] |
virtual Int_t TLeaf::GetLenType | ( | ) | const [inline, virtual] |
virtual Int_t TLeaf::GetNdata | ( | ) | const [inline, virtual] |
virtual Int_t TLeaf::GetOffset | ( | ) | const [inline, virtual] |
virtual void* TLeaf::GetValuePointer | ( | ) | const [inline, virtual] |
virtual const char* TLeaf::GetTypeName | ( | ) | const [inline, virtual] |
virtual void TLeaf::Import | ( | TClonesArray * | , | |
Int_t | ||||
) | [inline, virtual] |
virtual Bool_t TLeaf::IsOnTerminalBranch | ( | ) | const [inline, virtual] |
virtual Bool_t TLeaf::IsRange | ( | ) | const [inline, virtual] |
virtual Bool_t TLeaf::IsUnsigned | ( | ) | const [inline, virtual] |
virtual void TLeaf::PrintValue | ( | Int_t | i = 0 |
) | const [virtual] |
virtual void TLeaf::ReadBasket | ( | TBuffer & | ) | [inline, virtual] |
virtual void TLeaf::ReadBasketExport | ( | TBuffer & | , | |
TClonesArray * | , | |||
Int_t | ||||
) | [inline, virtual] |
virtual void TLeaf::ReadValue | ( | istream & | ) | [inline, virtual] |
virtual void TLeaf::SetAddress | ( | void * | add = 0 |
) | [virtual] |
virtual void TLeaf::SetBranch | ( | TBranch * | branch | ) | [inline, virtual] |
virtual void TLeaf::SetLeafCount | ( | TLeaf * | leaf | ) | [virtual] |
virtual void TLeaf::SetLen | ( | Int_t | len = 1 |
) | [inline, virtual] |
virtual void TLeaf::SetOffset | ( | Int_t | offset = 0 |
) | [inline, virtual] |
virtual void TLeaf::SetUnsigned | ( | ) | [inline, virtual] |
TLeaf::ClassDef | ( | TLeaf | , | |
2 | ||||
) |
Int_t TLeaf::fNdata [protected] |
Definition at line 41 of file TLeaf.h.
Referenced by GetNdata(), operator=(), TLeafI::ReadBasket(), TLeafO::ReadBasket(), TLeafS::ReadBasket(), TLeafD::ReadBasket(), TLeafB::ReadBasket(), TLeafF::ReadBasket(), TLeafL::ReadBasket(), TLeafC::ReadValue(), ResetAddress(), TLeafI::SetAddress(), TLeafL::SetAddress(), TLeafF::SetAddress(), TLeafB::SetAddress(), TLeafD::SetAddress(), TLeafC::SetAddress(), TLeafS::SetAddress(), and TLeafO::SetAddress().
Int_t TLeaf::fLen [protected] |
Number of elements in fAddress data buffer.
Definition at line 42 of file TLeaf.h.
Referenced by TLeafB::Export(), TLeafC::Export(), TLeafS::Export(), TLeafD::Export(), TLeafO::Export(), TLeafI::Export(), TLeafL::Export(), TLeafF::Export(), TLeafC::FillBasket(), GetLen(), TLeafElement::GetLen(), GetLenStatic(), TLeafElement::GetNdata(), TLeafElement::GetValue(), TLeafF::Import(), TLeafB::Import(), TLeafC::Import(), TLeafS::Import(), TLeafD::Import(), TLeafO::Import(), TLeafI::Import(), TLeafL::Import(), operator=(), TLeafI::ReadBasket(), TLeafO::ReadBasket(), TLeafS::ReadBasket(), TLeafC::ReadBasket(), TLeafD::ReadBasket(), TLeafB::ReadBasket(), TLeafF::ReadBasket(), TLeafL::ReadBasket(), TLeafF::ReadBasketExport(), TLeafL::ReadBasketExport(), TLeafI::ReadBasketExport(), TLeafO::ReadBasketExport(), TLeafC::ReadBasketExport(), TLeafS::ReadBasketExport(), TLeafD::ReadBasketExport(), TLeafB::ReadBasketExport(), ResetAddress(), TLeafI::SetAddress(), TLeafL::SetAddress(), TLeafF::SetAddress(), TLeafB::SetAddress(), TLeafD::SetAddress(), TLeafC::SetAddress(), TLeafS::SetAddress(), TLeafO::SetAddress(), SetLeafCount(), SetLen(), and TLeaf().
Int_t TLeaf::fLenType [protected] |
Definition at line 43 of file TLeaf.h.
Referenced by GetLenType(), operator=(), TLeafB::TLeafB(), TLeafC::TLeafC(), TLeafD::TLeafD(), TLeafF::TLeafF(), TLeafI::TLeafI(), TLeafL::TLeafL(), TLeafO::TLeafO(), and TLeafS::TLeafS().
Int_t TLeaf::fOffset [protected] |
Definition at line 44 of file TLeaf.h.
Referenced by TLeafB::Export(), TLeafC::Export(), TLeafD::Export(), TLeafS::Export(), TLeafO::Export(), TLeafI::Export(), TLeafL::Export(), TLeafF::Export(), GetOffset(), TLeafF::Import(), TLeafB::Import(), TLeafC::Import(), TLeafD::Import(), TLeafS::Import(), TLeafO::Import(), TLeafI::Import(), TLeafL::Import(), operator=(), TLeafF::ReadBasketExport(), TLeafL::ReadBasketExport(), TLeafI::ReadBasketExport(), TLeafO::ReadBasketExport(), TLeafC::ReadBasketExport(), TLeafD::ReadBasketExport(), TLeafS::ReadBasketExport(), TLeafB::ReadBasketExport(), and SetOffset().
Bool_t TLeaf::fIsRange [protected] |
Bool_t TLeaf::fIsUnsigned [protected] |
Definition at line 46 of file TLeaf.h.
Referenced by TLeafS::GetTypeName(), TLeafC::GetTypeName(), TLeafB::GetTypeName(), TLeafI::GetTypeName(), TLeafL::GetTypeName(), TLeafI::GetValue(), TLeafS::GetValue(), IsUnsigned(), operator=(), TLeafL::PrintValue(), TLeafI::PrintValue(), TLeafB::PrintValue(), TLeafS::PrintValue(), TLeafS::ReadValue(), TLeafI::ReadValue(), TLeafL::ReadValue(), and SetUnsigned().
TLeaf* TLeaf::fLeafCount [protected] |
Definition at line 47 of file TLeaf.h.
Referenced by GetLeafCount(), GetLen(), operator=(), TLeafI::ReadBasket(), TLeafO::ReadBasket(), TLeafS::ReadBasket(), TLeafD::ReadBasket(), TLeafB::ReadBasket(), TLeafF::ReadBasket(), TLeafL::ReadBasket(), ResetAddress(), TLeafI::SetAddress(), TLeafL::SetAddress(), TLeafF::SetAddress(), TLeafB::SetAddress(), TLeafD::SetAddress(), TLeafC::SetAddress(), TLeafS::SetAddress(), TLeafO::SetAddress(), SetLeafCount(), TLeafElement::SetLeafCount(), TLeaf(), and ~TLeaf().
TBranch* TLeaf::fBranch [protected] |
Definition at line 48 of file TLeaf.h.
Referenced by Browse(), GetBranch(), GetLeafCounter(), TLeafElement::GetLen(), TLeafElement::GetMaximum(), TLeafElement::GetNdata(), TLeafElement::GetTypeName(), TLeafElement::GetValue(), TLeafElement::GetValuePointer(), TLeafElement::GetValueSubArray(), TLeafObject::IsOnTerminalBranch(), TLeafElement::IsOnTerminalBranch(), operator=(), TLeafElement::PrintValue(), TLeafI::ReadBasket(), TLeafO::ReadBasket(), TLeafS::ReadBasket(), TLeafD::ReadBasket(), TLeafObject::ReadBasket(), TLeafB::ReadBasket(), TLeafF::ReadBasket(), TLeafL::ReadBasket(), SetBranch(), and ~TLeaf().
TLeaf* TLeaf::fLeafCount [protected] |
TBranch* TLeaf::fBranch [protected] |