51 auto bracket = strchr(type,
'[');
53 fTitle.Append(
'/').Append(type);
76 for (
Int_t i = 0; i <
n; i++) {
100 for (
Int_t i = 0; i <
n; i++) {
101 auto clone = (
char *)list->UncheckedAt(i);
106 fValue[j + k] = kDoubleUndefined;
117 printf(
"%g", value[
l]);
130 if (
fLeafCount->GetBranch()->GetReadEntry() != entry) {
135 printf(
"ERROR leaf:%s, len=%d and max=%d\n",
GetName(), len,
fLeafCount->GetMaximum());
155 for (
Int_t i = 0; i <
n; i++) {
213 if (R__v < 2 &&
fTitle.BeginsWith(
"d[")) {
216 if (
fTitle.Contains(
"/d[")) {
double Double32_t
Double 8 bytes in memory, written to disk as a 4 bytes Float_t (32-bits) by default,...
int Int_t
Signed integer 4 bytes (int).
short Version_t
Class version identifier (short).
char Char_t
Character 1 byte (char).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
long long Long64_t
Portable signed long integer 8 bytes.
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
A TTree is a list of TBranches.
Buffer base class used for serializing objects.
virtual Version_t ReadVersion(UInt_t *start=nullptr, UInt_t *bcnt=nullptr, const TClass *cl=nullptr)=0
virtual Int_t ReadClassBuffer(const TClass *cl, void *pointer, const TClass *onfile_class=nullptr)=0
virtual Int_t WriteClassBuffer(const TClass *cl, void *pointer)=0
~TLeafD32() override
Default destructor for a LeafD32.
void ReadValue(std::istream &s, Char_t delim=' ') override
Read a double from std::istream s and store it into the branch buffer.
void Streamer(TBuffer &) override
Stream an object of class TLeafD32.
void FillBasket(TBuffer &b) override
Pack leaf elements in Basket output buffer.
Double32_t ** fPointer
! Address of pointer to data buffer
void * GetValuePointer() const override
Double32_t * fValue
! Pointer to data buffer
Double32_t fMinimum
Minimum value if leaf range is specified.
void ReadBasket(TBuffer &b) override
Read leaf elements from Basket input buffer.
void PrintValue(Int_t i=0) const override
Prints leaf value.
Double32_t fMaximum
Maximum value if leaf range is specified.
void Import(TClonesArray *list, Int_t n) override
Import element from ClonesArray into local leaf buffer.
void Export(TClonesArray *list, Int_t n) override
Export element from local leaf buffer to ClonesArray.
void ReadBasketExport(TBuffer &b, TClonesArray *list, Int_t n) override
Read leaf elements from Basket input buffer and export buffer to TClonesArray objects.
TStreamerElement * fElement
! StreamerElement used for TBuffer read / write
void SetAddress(void *add=nullptr) override
Set leaf buffer data address.
TLeafD32()
Default constructor for LeafD32.
TLeaf(const TLeaf &)
Copy constructor.
Int_t fLenType
Number of bytes for this data type.
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).
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.
const char * GetName() const override
Returns name of object.
friend class TClonesArray
Bool_t TestBit(UInt_t f) const
Describe one element (data member) to be Streamed.
const char * Data() const