53 if (strchr(
type,
'['))
75 for (
Int_t i = 0; i <
n; i++) {
101 const Float16_t kFloatUndefined = -9999.;
103 for (
Int_t i = 0; i <
n; i++) {
108 memcpy(&
fValue[j], &kFloatUndefined, 4 *
fLen);
119 printf(
"%g", value[
l]);
161 for (
Int_t i = 0; i <
n; i++) {
216void TLeafF16::Streamer(
TBuffer &R__b)
char * Form(const char *fmt,...)
A TTree is a list of TBranches.
virtual Int_t GetEntry(Long64_t entry=0, Int_t getall=0)
Read all leaves of entry and return total number of bytes read.
Long64_t GetReadEntry() const
Buffer base class used for serializing objects.
virtual Int_t ReadClassBuffer(const TClass *cl, void *pointer, const TClass *onfile_class=0)=0
virtual Int_t WriteClassBuffer(const TClass *cl, void *pointer)=0
An array of clone (identical) objects.
A TLeaf for a 24 bit truncated floating point 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 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.
virtual void ReadBasket(TBuffer &b)
Read leaf elements from Basket input buffer.
virtual ~TLeafF16()
Default destructor for a LeafF16.
Float16_t ** fPointer
! Address of pointer to data buffer!
virtual void ReadValue(std::istream &s, Char_t delim=' ')
Read a float from std::istream s and store it into the branch buffer.
virtual void PrintValue(Int_t i=0) const
Prints leaf value.
TStreamerElement * fElement
! StreamerElement used for TBuffer read / write
Float16_t fMaximum
Maximum value if leaf range is specified.
Float16_t * fValue
! Pointer to data buffer
TLeafF16()
Default constructor for LeafF16.
virtual void * GetValuePointer() const
virtual void Import(TClonesArray *list, Int_t n)
Import element from ClonesArray into local leaf buffer.
virtual void SetAddress(void *add=0)
Set leaf buffer data address.
Float16_t fMinimum
Minimum value if leaf range is specified.
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.
virtual Int_t GetLen() const
Return the number of effective elements of this leaf, for the current entry.
TBranch * GetBranch() const
Int_t fOffset
Offset in ClonesArray object (if one)
Int_t ResetAddress(void *add, Bool_t calledFromDestructor=kFALSE)
Helper routine for TLeafX::SetAddress.
TBranch * fBranch
! Pointer to supporting branch (we do not own the branch)
TLeaf * fLeafCount
Pointer to Leaf count if variable length (we do not own the counter)
@ kIndirectAddress
Data member is a pointer to an array of basic types.
virtual const char * GetName() const
Returns name of object.
TObject * UncheckedAt(Int_t i) const
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
const char * Data() const
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const