Logo ROOT   6.18/05
Reference Guide
Classes | Macros
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
 
#define DECLARE_READVAL
 

Macro Definition Documentation

◆ DECLARE_GETVAL

#define DECLARE_GETVAL
Value:
virtual Double_t GetValue(TLeaf *leaf, Int_t instance = 0) \
{ return GetValueImpl<Double_t>(leaf, instance); } \
virtual Long64_t GetValueLong64(TLeaf *leaf, Int_t instance = 0) \
{ return GetValueImpl<Long64_t>(leaf, instance); } \
virtual LongDouble_t GetValueLongDouble(TLeaf *leaf, Int_t instance = 0) \
{ return GetValueImpl<LongDouble_t>(leaf, instance); } \
template<typename T> T GetValueImpl(TLeaf *leaf, Int_t instance = 0)
int Int_t
Definition: RtypesCore.h:41
double Double_t
Definition: RtypesCore.h:55
long double LongDouble_t
Definition: RtypesCore.h:57
long long Long64_t
Definition: RtypesCore.h:69
A TLeaf describes individual elements of a TBranch See TBranch structure in TTree.
Definition: TLeaf.h:49
double T(double x)
Definition: ChebyshevPol.h:34

Definition at line 26 of file TFormLeafInfo.h.

◆ DECLARE_READVAL

#define DECLARE_READVAL
Value:
virtual Double_t ReadValue(char *where, Int_t instance = 0) \
{ return ReadValueImpl<Double_t>(where, instance); } \
virtual Long64_t ReadValueLong64(char *where, Int_t instance = 0) \
{ return ReadValueImpl<Long64_t>(where, instance); } \
virtual LongDouble_t ReadValueLongDouble(char *where, Int_t instance = 0) \
{ 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.