40 :
TLeaf(parent,name,type)
112 const Short_t kShortUndefined = -9999;
118 else memcpy(&
fValue[j],&kShortUndefined, 2*
fLen);
189 for (
Int_t i=0;i<fLen;i++) s >> uvalue[i];
192 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 GetReadEntry() const
virtual void ReadValue(std::istream &s, Char_t delim= ' ')
Read a integer integer from std::istream s and store it into the branch buffer.
A TLeaf describes individual elements of a TBranch See TBranch structure in TTree.
virtual Bool_t IsUnsigned() const
Buffer base class used for serializing objects.
TLeafS()
Address of pointer to data buffer.
virtual void ReadShort(Short_t &s)=0
TBranch * GetBranch() const
virtual void * GetValuePointer() const
virtual void ReadBasketExport(TBuffer &b, TClonesArray *list, Int_t n)
Read leaf elements from Basket input buffer and export buffer to TClonesArray objects.
Int_t fLen
Number of elements in fAddress data buffer.
virtual Double_t GetValue(Int_t i=0) const
virtual void Import(TClonesArray *list, Int_t n)
Import element from ClonesArray into local leaf buffer.
virtual Int_t GetMaximum() const
TObject * UncheckedAt(Int_t i) const
virtual void ReadBasket(TBuffer &b)
Read leaf elements from Basket input buffer.
virtual void SetAddress(void *add=0)
Set leaf buffer data address.
Double_t GetValue(Int_t i=0) const
Returns current value of leaf.
Bool_t TestBit(UInt_t f) const
virtual void Export(TClonesArray *list, Int_t n)
Export element from local leaf buffer to ClonesArray.
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.
virtual void ReadFastArray(Bool_t *b, Int_t n)=0
virtual void WriteFastArray(const Bool_t *b, Int_t n)=0
const char * GetTypeName() const
Returns name of leaf type.
virtual void PrintValue(Int_t i=0) const
Prints leaf value.
ClassImp(TMCParticle) void TMCParticle printf(": p=(%7.3f,%7.3f,%9.3f) ;", fPx, fPy, fPz)
Short_t ** fPointer
Pointer to data buffer.
A TLeaf for a 16 bit Integer data type.
An array of clone (identical) objects.
virtual Bool_t IsRange() const
Int_t ResetAddress(void *add, Bool_t destructor=kFALSE)
Helper routine for TLeafX::SetAddress.
virtual void FillBasket(TBuffer &b)
Pack leaf elements in Basket output buffer.
A TTree is a list of TBranches.
ClassImp(TLeafS) TLeafS
Default constructor for LeafS.
virtual ~TLeafS()
Default destructor for a LeafS.