42 :
TLeaf(parent, name,type)
129 const Int_t kIntUndefined = -9999;
135 else memcpy(&
fValue[j],&kIntUndefined, 8*
fLen);
147 printf(
"%llu",uvalue[l]);
150 printf(
"%lld",value[l]);
207 #if defined(_MSC_VER) && (_MSC_VER<1300) 208 printf(
"Due to a bug in VC++6, the function TLeafL::ReadValue is dummy\n");
212 for (
Int_t i=0;i<fLen;i++) s >> uvalue[i];
215 for (
Int_t i=0;i<fLen;i++) s >> value[i];
virtual Int_t GetLen() const
Return the number of effective elements of this leaf.
Long64_t fMinimum
Minimum value if leaf range is specified.
Long64_t GetReadEntry() const
A TLeaf describes individual elements of a TBranch See TBranch structure in TTree.
virtual void Import(TClonesArray *list, Int_t n)
Import element from ClonesArray into local leaf buffer.
virtual Bool_t IsUnsigned() const
Long64_t ** fPointer
! Address of pointer to data buffer
virtual LongDouble_t GetValueLongDouble(Int_t i=0) const
Returns current value of leaf.
Buffer base class used for serializing objects.
virtual void PrintValue(Int_t i=0) const
Prints leaf value.
TBranch * GetBranch() const
Int_t fLenType
Number of bytes for this 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.
Data member is a pointer to an array of basic types.
Int_t fLen
Number of fixed length elements.
virtual Double_t GetValue(Int_t i=0) const
Long64_t * fValue
! Pointer to data buffer
virtual Int_t GetMaximum() const
TObject * UncheckedAt(Int_t i) const
virtual void FillBasket(TBuffer &b)
Pack leaf elements in Basket output buffer.
Long64_t fMaximum
Maximum value if leaf range is specified.
virtual void ReadBasket(TBuffer &b)
Read leaf elements from Basket input buffer.
Int_t fNdata
! Number of elements in fAddress data buffer
Bool_t TestBit(UInt_t f) const
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 const char * GetName() const
Returns name of object.
TLeafL()
Default constructor for LeafL.
virtual void ReadFastArray(Bool_t *b, Int_t n)=0
virtual void WriteFastArray(const Bool_t *b, Int_t n)=0
virtual Double_t GetValue(Int_t i=0) const
Returns current value of leaf.
unsigned long long ULong64_t
Bool_t fIsUnsigned
(=kTRUE if unsigned, kFALSE otherwise)
virtual void SetAddress(void *add=0)
Set leaf buffer data address.
virtual void ReadLong64(Long64_t &l)=0
Int_t fOffset
Offset in ClonesArray object (if one)
An array of clone (identical) objects.
virtual ~TLeafL()
Default destructor for a LeafL.
TBranch * fBranch
! Pointer to supporting branch (we do not own the branch)
virtual Bool_t IsRange() const
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)
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
A TLeaf for a 64 bit Integer data type.
virtual void * GetValuePointer() const
A TTree is a list of TBranches.
virtual void ReadValue(std::istream &s, Char_t delim= ' ')
Read a long integer from std::istream s and store it into the branch buffer.
virtual void Export(TClonesArray *list, Int_t n)
Export element from local leaf buffer to ClonesArray.
const char * GetTypeName() const
Returns name of leaf type.