Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
TFormLeafInfo.cxx File Reference
#include "TFormLeafInfo.h"
#include "TROOT.h"
#include "TArrayI.h"
#include "TClonesArray.h"
#include "TError.h"
#include "TInterpreter.h"
#include "TLeafObject.h"
#include "TMethod.h"
#include "TMethodCall.h"
#include "TTree.h"
#include "TVirtualCollectionProxy.h"
#include "TClassEdit.h"

Macros

#define GET_ARRAY(TYPE_t)
#define INSTANTIATE_GETVAL(CLASS)
#define INSTANTIATE_READVAL(CLASS)
#define READ_ARRAY(TYPE_t)

Macro Definition Documentation

◆ GET_ARRAY

#define GET_ARRAY ( TYPE_t)
Value:
{ \
Int_t len, sub_instance, index; \
if (fNext) len = fNext->GetArrayLength(); \
else len = 1; \
if (len) { \
index = instance / len; \
sub_instance = instance % len; \
} else { \
index = instance; \
sub_instance = 0; \
} \
TYPE_t **val = (TYPE_t**)(thisobj+fOffset); \
return &((val[sub_instance])[index]); \
}
static Roo_reg_AGKInteg1D instance
int Int_t
Signed integer 4 bytes (int).
Definition RtypesCore.h:59

◆ INSTANTIATE_GETVAL

#define INSTANTIATE_GETVAL ( CLASS)
Value:
template Double_t CLASS::GetValueImpl<Double_t>(TLeaf*, Int_t); \
template Long64_t CLASS::GetValueImpl<Long64_t>(TLeaf*, Int_t); \
template LongDouble_t CLASS::GetValueImpl<LongDouble_t>(TLeaf*, Int_t)
double Double_t
Double 8 bytes.
Definition RtypesCore.h:73
long double LongDouble_t
Long Double (not portable).
Definition RtypesCore.h:75
long long Long64_t
Portable signed long integer 8 bytes.
Definition RtypesCore.h:83
A TLeaf describes individual elements of a TBranch See TBranch structure in TTree.
Definition TLeaf.h:57

Definition at line 66 of file TFormLeafInfo.cxx.

◆ INSTANTIATE_READVAL

#define INSTANTIATE_READVAL ( CLASS)
Value:
template Double_t CLASS::ReadValueImpl<Double_t>(char*, Int_t); \
template Long64_t CLASS::ReadValueImpl<Long64_t>(char*, Int_t); \
template LongDouble_t CLASS::ReadValueImpl<LongDouble_t>(char*, Int_t)

Definition at line 60 of file TFormLeafInfo.cxx.

◆ READ_ARRAY

#define READ_ARRAY ( TYPE_t)
Value:
{ \
Int_t len, sub_instance, index; \
len = GetArrayLength(); \
if (len) { \
index = instance / len; \
sub_instance = instance % len; \
} else { \
index = instance; \
sub_instance = 0; \
} \
TYPE_t **val =(TYPE_t**)(thisobj+fOffset); \
return T((val[sub_instance])[index]); \
}
double T(double x)