82 b.WriteFastArrayString(
fValue,len);
148 if ( (readbasket ==
GetBranch()->GetWriteBasket() && (entry+1) ==
GetBranch()->GetEntries())
150 (readbasket <
GetBranch()->GetWriteBasket() && (entry+1) ==
GetBranch()->GetBasketEntry()[readbasket+1] )
160 else if ( entryOffset[entry-
first] == entryOffset[entry-
first+1] )
200 std::getline(
s, temp, delim);
Manages buffers for branches of a Tree.
A TTree is a list of TBranches.
TBasket * GetBasket(Int_t basket)
Long64_t GetReadEntry() const
Int_t GetReadBasket() const
Long64_t * GetBasketEntry() const
Buffer base class used for serializing objects.
An array of clone (identical) objects.
A TLeaf for a variable length string.
virtual void PrintValue(Int_t i=0) const
Prints leaf value.
Int_t fMinimum
Minimum value if leaf range is specified.
TLeafC()
Default constructor for LeafC.
virtual void SetAddress(void *add=0)
Set leaf buffer data address.
virtual void Import(TClonesArray *list, Int_t n)
Import element from ClonesArray into local leaf buffer.
Int_t fMaximum
Maximum value if leaf range is specified.
virtual void Export(TClonesArray *list, Int_t n)
Export element from local leaf buffer to ClonesArray.
virtual Bool_t IncludeRange(TLeaf *)
Copy/set fMinimum and fMaximum to include/be wide than those of the parameter.
Char_t * fValue
! Pointer to data buffer
virtual void ReadBasketExport(TBuffer &b, TClonesArray *list, Int_t n)
Read leaf elements from Basket input buffer and export buffer to TClonesArray objects.
Char_t ** fPointer
! Address of pointer to data 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.
virtual void * GetValuePointer() const
virtual ~TLeafC()
Default destructor for a LeafC.
virtual void FillBasket(TBuffer &b)
Pack leaf elements in Basket output buffer.
virtual void ReadBasket(TBuffer &b)
Read leaf elements from Basket input buffer.
virtual void SetMinimum(Int_t min)
const char * GetTypeName() const
Returns name of leaf type.
virtual void SetMaximum(Int_t max)
A TLeaf describes individual elements of a TBranch See TBranch structure in TTree.
virtual Double_t GetValue(Int_t i=0) const
Int_t fLenType
Number of bytes for this data type.
virtual Int_t GetMaximum() const
Int_t fLen
Number of fixed length elements in the leaf's data.
Int_t fNdata
! Number of elements in fAddress data buffer.
Bool_t fIsUnsigned
(=kTRUE if unsigned, kFALSE otherwise)
TBranch * GetBranch() const
Int_t fOffset
Offset in ClonesArray object (if one)
virtual Int_t GetMinimum() const
TLeaf * fLeafCount
Pointer to Leaf count if variable length (we do not own the counter)
@ kNewValue
Set if we own the value buffer and so must delete it ourselves.
@ kIndirectAddress
Data member is a pointer to an array of basic types.
Int_t ResetAddress(void *add, Bool_t destructor=kFALSE)
Helper routine for TLeafX::SetAddress.
TObject * UncheckedAt(Int_t i) const
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
static constexpr double s