43 :
TLeaf(parent, name,type)
131 if ( (readbasket ==
GetBranch()->GetWriteBasket() && (entry+1) ==
GetBranch()->GetEntries())
133 (readbasket <
GetBranch()->GetWriteBasket() && (entry+1) ==
GetBranch()->GetBasketEntry()[readbasket+1] )
136 if ( entryOffset[entry-first] == basket->
GetLast() )
143 else if ( entryOffset[entry-first] == entryOffset[entry-first+1] )
183 std::getline(s, temp, delim);
virtual void PrintValue(Int_t i=0) const
Prints leaf value.
virtual void FillBasket(TBuffer &b)
Pack leaf elements in Basket output buffer.
A TLeaf describes individual elements of a TBranch See TBranch structure in TTree.
Long64_t * GetBasketEntry() const
Int_t fMaximum
Maximum value if leaf range is specified.
const char * GetTypeName() const
Returns name of leaf type.
TLeafC()
Default constructor for LeafC.
Set if we own the value buffer and so must delete it ourselves.
Bool_t TestBit(UInt_t f) const
Buffer base class used for serializing objects.
Data member is a pointer to an array of basic types.
Int_t fMinimum
Minimum value if leaf range is specified.
Char_t * fValue
! Pointer to data buffer
A TLeaf for a variable length string.
Int_t fLenType
Number of bytes for this data type.
virtual void WriteFastArrayString(const Char_t *c, Int_t n)=0
virtual Double_t GetValue(Int_t i=0) const
TBasket * GetBasket(Int_t basket)
Return pointer to basket basketnumber in this Branch.
Int_t fLen
Number of fixed length elements.
Int_t GetReadBasket() const
Int_t fNdata
! Number of elements in fAddress data buffer
virtual void * GetValuePointer() const
Manages buffers for branches of a Tree.
Int_t * GetEntryOffset() const
virtual void ReadBasketExport(TBuffer &b, TClonesArray *list, Int_t n)
Read leaf elements from Basket input buffer and export buffer to TClonesArray objects.
virtual void Export(TClonesArray *list, Int_t n)
Export element from local leaf buffer to ClonesArray.
virtual void ReadFastArray(Bool_t *b, Int_t n)=0
TObject * UncheckedAt(Int_t i) const
virtual void ReadBasket(TBuffer &b)
Read leaf elements from Basket input buffer.
virtual Int_t GetMaximum() const
Bool_t fIsUnsigned
(=kTRUE if unsigned, kFALSE otherwise)
virtual void Import(TClonesArray *list, Int_t n)
Import element from ClonesArray into local leaf buffer.
virtual void ReadValue(std::istream &s, Char_t delim=' ')
Read a string from std::istream s up to delimiter and store it into the branch buffer.
Char_t ** fPointer
! Address of pointer to data buffer
Int_t fOffset
Offset in ClonesArray object (if one)
An array of clone (identical) objects.
virtual void ReadFastArrayString(Char_t *c, Int_t n)=0
Int_t ResetAddress(void *add, Bool_t destructor=kFALSE)
Helper routine for TLeafX::SetAddress.
TLeaf * fLeafCount
Pointer to Leaf count if variable length (we do not own the counter)
Long64_t GetReadEntry() const
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
virtual ~TLeafC()
Default destructor for a LeafC.
TBranch * GetBranch() const
A TTree is a list of TBranches.
virtual void SetAddress(void *add=0)
Set leaf buffer data address.