43 :
TLeaf(parent, name,type)
147 if ( (readbasket ==
GetBranch()->GetWriteBasket() && (entry+1) ==
GetBranch()->GetEntries())
149 (readbasket <
GetBranch()->GetWriteBasket() && (entry+1) ==
GetBranch()->GetBasketEntry()[readbasket+1] )
152 if ( entryOffset[entry-first] == basket->
GetLast() )
159 else if ( entryOffset[entry-first] == entryOffset[entry-first+1] )
199 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.
virtual Bool_t IncludeRange(TLeaf *)
Copy/set fMinimum and fMaximum to include/be wide than those of the parameter.
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.
virtual void SetMinimum(Int_t min)
Buffer base class used for serializing objects.
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
Int_t fMinimum
Minimum value if leaf range is specified.
Char_t * fValue
! Pointer to data buffer
A TLeaf for a variable length string.
virtual Int_t GetMinimum() const
Int_t fLenType
Number of bytes for this data type.
virtual Int_t GetMaximum() const
virtual void WriteFastArrayString(const Char_t *c, Int_t n)=0
virtual Double_t GetValue(Int_t i=0) const
Set if we own the value buffer and so must delete it ourselves.
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.
virtual Int_t GetMinimum() 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
Data member is a pointer to an array of basic types.
Bool_t fIsUnsigned
(=kTRUE if unsigned, kFALSE otherwise)
static constexpr double s
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 SetMaximum(Int_t max)
virtual void SetAddress(void *add=0)
Set leaf buffer data address.