43 :
TLeaf(parent, name, type)
70 for (
Int_t i = 0, j = 0; i <
n; i++, j +=
fLen) {
90 for (
Int_t i = 0; i < len; i++) {
130 for (
Int_t i = 0, j = 0; i <
n; i++, j+=
fLen) {
142 printf(
"%u", uvalue[l]);
145 printf(
"%d", value[l]);
183 for (
Int_t i = 0, j = 0; i <
n; i++, j +=
fLen) {
virtual const char * GetName() const
Returns name of object.
virtual void SetMaximum(Char_t max)
A TLeaf describes individual elements of a TBranch See TBranch structure in TTree.
A TLeaf for an 8 bit Integer data type.
virtual void Export(TClonesArray *list, Int_t n)
Export element from local leaf buffer to a ClonesArray.
virtual Bool_t IsUnsigned() const
Buffer base class used for serializing objects.
virtual Int_t GetMaximum() const
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
const char * GetTypeName() const
Returns name of leaf type.
Char_t fMaximum
Maximum value if leaf range is specified.
virtual void ReadChar(Char_t &c)=0
Int_t fLenType
Number of bytes for this data type.
virtual void SetMinimum(Char_t min)
virtual void Import(TClonesArray *list, Int_t n)
Import element from ClonesArray into local leaf buffer.
virtual Double_t GetValue(Int_t i=0) const
virtual void ReadBasketExport(TBuffer &, TClonesArray *list, Int_t n)
Read leaf elements from Basket input buffer and export buffer to TClonesArray objects.
virtual Bool_t IsRange() const
Int_t fLen
Number of fixed length elements.
virtual Int_t GetLen() const
Return the number of effective elements of this leaf.
TLeafB()
Default constructor.
Int_t fNdata
! Number of elements in fAddress data buffer
virtual void SetAddress(void *addr=0)
Set value buffer address.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual Int_t GetEntry(Long64_t entry=0, Int_t getall=0)
Read all leaves of entry and return total number of bytes read.
virtual Int_t GetMinimum() const
virtual void ReadFastArray(Bool_t *b, Int_t n)=0
virtual void WriteFastArray(const Bool_t *b, Int_t n)=0
virtual void ReadBasket(TBuffer &)
Read leaf elements from Basket input buffer.
TObject * UncheckedAt(Int_t i) const
Char_t fMinimum
Minimum value if leaf range is specified.
virtual Int_t GetMaximum() const
virtual void ReadValue(std::istream &s, Char_t delim=' ')
Read a 8 bit integer from std::istream s and store it into the branch buffer.
Data member is a pointer to an array of basic types.
virtual void PrintValue(Int_t i=0) const
Prints leaf value.
Bool_t fIsUnsigned
(=kTRUE if unsigned, kFALSE otherwise)
virtual Bool_t IncludeRange(TLeaf *)
Copy/set fMinimum and fMaximum to include/be wide than those of the parameter.
virtual void FillBasket(TBuffer &b)
Pack leaf elements into Basket output buffer.
Char_t ** fPointer
! Address of a pointer to data buffer!
static constexpr double s
Int_t fOffset
Offset in ClonesArray object (if one)
virtual void * GetValuePointer() const
An array of clone (identical) objects.
Char_t * fValue
! Pointer to data buffer
TBranch * fBranch
! Pointer to supporting branch (we do not own the branch)
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 Int_t GetMinimum() const
virtual ~TLeafB()
Destructor.
TBranch * GetBranch() const
A TTree is a list of TBranches.