65 , fLeafCountValues(nullptr)
84 , fLeafCountValues(nullptr)
104 fLenType(
lf.fLenType),
106 fIsRange(
lf.fIsRange),
107 fIsUnsigned(
lf.fIsUnsigned),
108 fLeafCount(
lf.fLeafCount),
110 fLeafCountValues(nullptr)
147 if (
lst->GetLast()!=-1)
lst->Remove(
this);
165 if (!
name.EndsWith(
"."))
name +=
".";
203 Error(
"GenerateOffsetArrayBase",
"The leaf %s could not retrieve enough entries from its branch count (%s), ask for %d and got %ld",
211 for (
Int_t idx = 0,
offset = base; idx < events; idx++) {
213 len = (*countValues)[idx];
274 Error(
"GetLeafCounter",
"TLeaf %s is not setup properly, fBranch is null.",
GetName());
286 if (
leaf ==
nullptr) {
329 for (i = 0; i <
nch; i++) {
393 branch->GetEntry(start + idx);
#define R__unlikely(expr)
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h offset
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t UChar_t len
A TTree is a list of TBranches.
virtual TString GetFullName() const
Return the 'full' name of the branch.
Long64_t GetReadEntry() const
TObjArray * GetListOfLeaves()
Using a TBrowser one can browse all ROOT objects.
Buffer base class used for serializing objects.
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.
bool fIsRange
(=true if leaf has a range, false otherwise). This is equivalent to being a 'leafcount'....
virtual const Counts_t * GetLeafCountValues(Long64_t start, Long64_t len)
If this branch is a branch count, return the set of collection size for the entry range requested sta...
virtual Int_t GetMaximum() const
~TLeaf() override
Destructor.
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.
TClass * IsA() const override
void Streamer(TBuffer &) override
Stream a class object.
TLeaf & operator=(const TLeaf &)
Assignment operator.
virtual TLeaf * GetLeafCounter(Int_t &countval) const
Return a pointer to the counter of this leaf (if any) or store the number of elements that the leaf c...
Int_t * GenerateOffsetArrayBase(Int_t base, Int_t events) const
If the class supports it, generate an offset array base.
virtual void SetAddress(void *add=nullptr)
void Browse(TBrowser *b) override
Browse the content of this leaf.
virtual void FillBasket(TBuffer &b)
Pack leaf elements in Basket output buffer.
TBranch * GetBranch() const
Int_t fOffset
Offset in ClonesArray object (if one)
virtual Int_t GetOffsetHeaderSize() 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)
@ kNewValue
Set if we own the value buffer and so must delete it ourselves.
virtual void SetLeafCount(TLeaf *leaf)
Set the leaf count of this leaf.
virtual TString GetFullName() const
Return the full name (including the parent's branch names) of the leaf.
LeafCountValues * fLeafCountValues
! Cache of collection/array sizes
std::vector< Int_t > Counts_t
virtual bool IsRange() const
The TNamed class is the base class for all named ROOT classes.
const char * GetName() const override
Returns name of object.
void Streamer(TBuffer &) override
Stream an object of class TObject.
const char * GetTitle() const override
Returns title of object.
TNamed & operator=(const TNamed &rhs)
TNamed assignment operator.
Int_t GetEntries() const override
Return the number of objects in array (i.e.
TObject * FindObject(const char *name) const override
Find an object in this collection using its name.
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
@ kZombie
object ctor failed
R__ALWAYS_INLINE Bool_t IsZombie() const
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
TString & ReplaceAll(const TString &s1, const TString &s2)
A TTree represents a columnar dataset.
void Draw(Option_t *opt) override
Default Draw method for all objects.
Long64_t fStartEntry
! entry number of corresponding to element 0 of the vector.