42 :
TLeaf(parent,name,type)
126 printf(
"%d",(
Int_t)value[l]);
virtual const char * GetName() const
Returns name of object.
A TLeaf describes individual elements of a TBranch See TBranch structure in TTree.
virtual void PrintValue(Int_t i=0) const
Prints leaf value.
virtual void SetMaximum(Bool_t max)
Buffer base class used for serializing objects.
virtual Bool_t IncludeRange(TLeaf *)
Copy/set fMinimum and fMaximum to include/be wide than those of the parameter.
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
A TLeaf for a bool data type.
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 SetMinimum(Bool_t min)
Int_t fLenType
Number of bytes for this data type.
virtual void SetAddress(void *add=0)
Set leaf buffer data address.
virtual Double_t GetValue(Int_t i=0) const
virtual Bool_t IsRange() const
Int_t fLen
Number of fixed length elements.
Bool_t ** fPointer
! Address of a pointer to data buffer!
virtual Int_t GetLen() const
Return the number of effective elements of this leaf.
virtual void ReadBool(Bool_t &b)=0
Int_t fNdata
! Number of elements in fAddress data buffer
virtual Int_t GetMinimum() const
Bool_t * fValue
! Pointer to data buffer
Bool_t fMaximum
Maximum value if leaf range is specified.
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 * GetValuePointer() const
virtual void ReadFastArray(Bool_t *b, Int_t n)=0
virtual void WriteFastArray(const Bool_t *b, Int_t n)=0
virtual ~TLeafO()
Default destructor for a LeafO.
virtual void FillBasket(TBuffer &b)
Pack leaf elements in Basket output buffer.
virtual void Export(TClonesArray *list, Int_t n)
Export element from local leaf buffer to ClonesArray.
TObject * UncheckedAt(Int_t i) const
virtual Int_t GetMaximum() const
Data member is a pointer to an array of basic types.
virtual void Import(TClonesArray *list, Int_t n)
Import element from ClonesArray into local leaf buffer.
static constexpr double s
virtual void ReadBasket(TBuffer &b)
Read leaf elements from Basket input buffer.
Int_t fOffset
Offset in ClonesArray object (if one)
An array of clone (identical) objects.
virtual void ReadValue(std::istream &s, Char_t delim=' ')
Read a string from std::istream s and store it into the branch 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.
virtual Int_t GetMaximum() const
Bool_t fMinimum
Minimum value if leaf range is specified.
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
const char * GetTypeName() const
Returns name of leaf type.
TBranch * GetBranch() const
A TTree is a list of TBranches.
TLeafO()
Default constructor for LeafO.