Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TFormLeafInfo.h File Reference
#include "TObject.h"
#include "TLeafElement.h"
#include "TArrayI.h"
#include "TDataType.h"
#include "TStreamerInfo.h"
#include "TStreamerElement.h"
Include dependency graph for TFormLeafInfo.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  TFormLeafInfo::GetValueHelper< T >
 
struct  TFormLeafInfo::GetValueHelper< Long64_t >
 
struct  TFormLeafInfo::GetValueHelper< LongDouble_t >
 
struct  TFormLeafInfo::GetValueHelper< ULong64_t >
 
struct  TFormLeafInfo::ReadValueHelper< T >
 
struct  TFormLeafInfo::ReadValueHelper< Long64_t >
 
struct  TFormLeafInfo::ReadValueHelper< LongDouble_t >
 
struct  TFormLeafInfo::ReadValueHelper< ULong64_t >
 
class  TFormLeafInfo
 This class is a small helper class to implement reading a data member on an object stored in a TTree. More...
 
class  TFormLeafInfoCast
 A small helper class to implement casting an object to a different type (equivalent to dynamic_cast) More...
 
class  TFormLeafInfoClones
 A small helper class to implement reading a data member on a TClonesArray object stored in a TTree. More...
 
class  TFormLeafInfoCollection
 A small helper class to implement reading a data member on a generic collection object stored in a TTree. More...
 
class  TFormLeafInfoCollectionObject
 A small helper class to implement reading a data member on a TClonesArray object stored in a TTree. More...
 
class  TFormLeafInfoCollectionSize
 Used to return the size of a collection. More...
 
class  TFormLeafInfoDirect
 A small helper class to implement reading a data member on an object stored in a TTree. More...
 
class  TFormLeafInfoMethod
 Asmall helper class to implement executing a method of an object stored in a TTree. More...
 
class  TFormLeafInfoMultiVarDim
 A helper class to implement reading a data member on a variable size array inside a TClonesArray object stored in a TTree. More...
 
class  TFormLeafInfoMultiVarDimClones
 A small helper class to implement reading a data member on a variable size array inside a TClonesArray object stored in a TTree. More...
 
class  TFormLeafInfoMultiVarDimCollection
 A small helper class to implement reading a data member on a variable size array inside a TClonesArray object stored in a TTree. More...
 
class  TFormLeafInfoMultiVarDimDirect
 A small helper class to implement reading a data member on a variable size array inside a TClonesArray object stored in a TTree. More...
 
class  TFormLeafInfoNumerical
 A small helper class to implement reading a numerical value inside a collection. More...
 
class  TFormLeafInfoPointer
 A small helper class to implement reading a data member by following a pointer inside a branch of TTree. More...
 
class  TFormLeafInfoTTree
 A small helper class to implement reading from the containing TTree object itself. More...
 

Macros

#define DECLARE_GETVAL(VIRTUAL, OVERRIDE)
 
#define DECLARE_READVAL(VIRTUAL, OVERRIDE)
 

Macro Definition Documentation

◆ DECLARE_GETVAL

#define DECLARE_GETVAL (   VIRTUAL,
  OVERRIDE 
)
Value:
VIRTUAL Double_t GetValue(TLeaf *leaf, Int_t instance = 0) OVERRIDE \
{ return GetValueImpl<Double_t>(leaf, instance); } \
VIRTUAL Long64_t GetValueLong64(TLeaf *leaf, Int_t instance = 0) OVERRIDE \
{ return GetValueImpl<Long64_t>(leaf, instance); } \
VIRTUAL LongDouble_t GetValueLongDouble(TLeaf *leaf, Int_t instance = 0) OVERRIDE \
{ return GetValueImpl<LongDouble_t>(leaf, instance); } \
template<typename T> T GetValueImpl(TLeaf *leaf, Int_t instance = 0)
static Roo_reg_AGKInteg1D instance
int Int_t
Definition RtypesCore.h:45
double Double_t
Definition RtypesCore.h:59
long double LongDouble_t
Definition RtypesCore.h:61
long long Long64_t
Definition RtypesCore.h:80
A TLeaf describes individual elements of a TBranch See TBranch structure in TTree.
Definition TLeaf.h:57
double T(double x)

Definition at line 26 of file TFormLeafInfo.h.

◆ DECLARE_READVAL

#define DECLARE_READVAL (   VIRTUAL,
  OVERRIDE 
)
Value:
VIRTUAL Double_t ReadValue(char *where, Int_t instance = 0) OVERRIDE \
{ return ReadValueImpl<Double_t>(where, instance); } \
VIRTUAL Long64_t ReadValueLong64(char *where, Int_t instance = 0) OVERRIDE \
{ return ReadValueImpl<Long64_t>(where, instance); } \
VIRTUAL LongDouble_t ReadValueLongDouble(char *where, Int_t instance = 0) OVERRIDE \
{ return ReadValueImpl<LongDouble_t>(where, instance); } \
template<typename T> T ReadValueImpl(char *where, Int_t instance = 0)

Definition at line 37 of file TFormLeafInfo.h.