69 for (
Int_t i = 0, j = 0; i <
n; i++, j +=
fLen) {
89 for (
Int_t i = 0; i < len; i++) {
129 for (
Int_t i = 0, j = 0; i <
n; i++, j+=
fLen) {
141 printf(
"%u", uvalue[
l]);
144 printf(
"%d", value[
l]);
158 if (
fLeafCount->GetBranch()->GetReadEntry() != entry) {
182 for (
Int_t i = 0, j = 0; i <
n; i++, j +=
fLen) {
unsigned short UShort_t
Unsigned Short integer 2 bytes (unsigned short).
int Int_t
Signed integer 4 bytes (int).
unsigned char UChar_t
Unsigned Character 1 byte (unsigned char).
char Char_t
Character 1 byte (char).
short Short_t
Signed Short integer 2 bytes (short).
long long Long64_t
Portable signed long integer 8 bytes.
A TTree is a list of TBranches.
Buffer base class used for serializing objects.
Char_t fMaximum
Maximum value if leaf range is specified.
Char_t fMinimum
Minimum value if leaf range is specified.
void PrintValue(Int_t i=0) const override
Prints leaf value.
~TLeafB() override
Destructor.
void ReadValue(std::istream &s, Char_t delim=' ') override
Read a 8 bit integer from std::istream s and store it into the branch buffer.
virtual void SetMinimum(Char_t min)
Char_t * fValue
! Pointer to data buffer
const char * GetTypeName() const override
Returns name of leaf type.
void * GetValuePointer() const override
virtual void SetMaximum(Char_t max)
Char_t ** fPointer
! Address of a pointer to data buffer!
void ReadBasket(TBuffer &) override
Read leaf elements from Basket input buffer.
void SetAddress(void *addr=nullptr) override
Set value buffer address.
TLeafB()
Default constructor.
void FillBasket(TBuffer &b) override
Pack leaf elements into Basket output buffer.
void Export(TClonesArray *list, Int_t n) override
Export element from local leaf buffer to a ClonesArray.
void ReadBasketExport(TBuffer &, TClonesArray *list, Int_t n) override
Read leaf elements from Basket input buffer and export buffer to TClonesArray objects.
bool IncludeRange(TLeaf *) override
Copy/set fMinimum and fMaximum to include/be wide than those of the parameter.
void Import(TClonesArray *list, Int_t n) override
Import element from ClonesArray into local leaf buffer.
TLeaf(const TLeaf &)
Copy constructor.
Int_t fLenType
Number of bytes for this data type.
virtual Int_t GetMaximum() const
virtual bool IsUnsigned() 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.
Int_t ResetAddress(void *add, bool calledFromDestructor=false)
Helper routine for TLeafX::SetAddress.
Int_t fOffset
Offset in ClonesArray object (if one).
virtual Int_t GetMinimum() const
TBranch * fBranch
! Pointer to supporting branch (we do not own the branch)
bool fIsUnsigned
(=true if unsigned, false otherwise)
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 bool IsRange() const
const char * GetName() const override
Returns name of object.
friend class TClonesArray
Bool_t TestBit(UInt_t f) const
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.