Logo ROOT   6.16/01
Reference Guide
Macros | Functions | Variables
TTable.cxx File Reference
#include <assert.h>
#include "RConfigure.h"
#include "Riostream.h"
#include "TROOT.h"
#include "TBaseClass.h"
#include "TSystem.h"
#include "TBuffer.h"
#include "TMath.h"
#include "TClass.h"
#include "TBrowser.h"
#include "TString.h"
#include "TInterpreter.h"
#include "TDataSetIter.h"
#include "TTable.h"
#include "TTableDescriptor.h"
#include "TColumnView.h"
#include "TGaxis.h"
#include "TH1.h"
#include "TH2.h"
#include "TProfile.h"
#include "TVirtualPad.h"
#include "TEventList.h"
#include "TPolyMarker.h"
#include "TView.h"
#include "TPolyMarker3D.h"
#include "THLimitsFinder.h"
#include "TTableMap.h"
Include dependency graph for TTable.cxx:

Macros

#define CALLMETHOD   gInterpreter->CallFunc_Exec(callfunc,0);
 
#define StreamElementIn(type)
 
#define StreamElementOut(type)
 
#define TAKEACTION_BEGIN
 
#define TAKEACTION_END   for (int j=0; j < tabsDsc->GetNRows(); j++ ) addressArray[j] += rSize;}
 

Functions

static void ArrayLayout (UInt_t *layout, const UInt_t *size, Int_t dim)
 ArrayLayout - calculates the array layout recursively. More...
 
static void FindGoodLimits (Int_t nbins, Int_t &newbins, Float_t &xmin, Float_t &xmax)
 Find reasonable bin values. More...
 
static Char_tGetExpressionFileName ()
 Create a name of the file in the temporary directory if any. More...
 

Variables

static TH1gCurrentTableHist = 0
 
static const char * gDtorName = "dtor"
 
static Int_t gNbins [4] = {100,100,100,100}
 
static Float_t gVmax [4] = {20,20,20,20}
 
static Float_t gVmin [4] = {0,0,0,0}
 

Macro Definition Documentation

◆ CALLMETHOD

#define CALLMETHOD   gInterpreter->CallFunc_Exec(callfunc,0);

◆ StreamElementIn

#define StreamElementIn (   type)
Value:
if (evolutionOn) { \
if (nextCol->fDimensions) { \
if (nextCol->fOffset != UInt_t(-1)) { \
R__b.ReadFastArray((_NAME2_(type,_t) *)(row+nextCol->fOffset),nextCol->fSize/sizeof(_NAME2_(type,_t))); \
} else { \
_NAME2_(type,_t) *readPtrV = new _NAME2_(type,_t)[nextCol->fSize/sizeof(_NAME2_(type,_t))]; \
R__b.ReadFastArray((_NAME2_(type,_t) *)(row+nextCol->fOffset),nextCol->fSize/sizeof(_NAME2_(type,_t))); \
delete [] readPtrV; \
readPtrV = 0; \
} \
} \
else { \
_NAME2_(type,_t) skipBuffer; \
_NAME2_(type,_t) *readPtr = (_NAME2_(type,_t) *)(row+nextCol->fOffset); \
if (nextCol->fOffset == UInt_t(-1)) readPtr = &skipBuffer; \
R__b >> *readPtr; \
} \
} else { \
if (nextCol->fDimensions) { \
R__b.ReadFastArray ((_NAME2_(type,_t) *)(row+nextCol->fOffset),nextCol->fSize/sizeof(_NAME2_(type,_t))); \
} else \
R__b >> *(_NAME2_(type,_t) *)(row+nextCol->fOffset); \
} \
break
#define _NAME2_(name1, name2)
Definition: RConfig.hxx:444
unsigned int UInt_t
Definition: RtypesCore.h:42
int type
Definition: TGX11.cxx:120

Definition at line 2185 of file TTable.cxx.

◆ StreamElementOut

#define StreamElementOut (   type)
Value:
if (nextCol->fDimensions) \
R__b.WriteFastArray((_NAME2_(type,_t) *)(row+nextCol->fOffset), nextCol->fSize/sizeof(_NAME2_(type,_t))); \
else \
R__b << *(_NAME2_(type,_t) *)(row+nextCol->fOffset); \
break

Definition at line 2211 of file TTable.cxx.

◆ TAKEACTION_BEGIN

#define TAKEACTION_BEGIN
Value:
descTable = tabsDsc->GetTable(); \
for (i=0; i < tabsDsc->GetNRows(); i++,descTable++ ) \
addressArray[i] = addressEntry + descTable->fOffset; \
for(i=firstentry;i<lastEntry;i++) { \
CALLMETHOD

◆ TAKEACTION_END

#define TAKEACTION_END   for (int j=0; j < tabsDsc->GetNRows(); j++ ) addressArray[j] += rSize;}

Function Documentation

◆ ArrayLayout()

static void ArrayLayout ( UInt_t layout,
const UInt_t size,
Int_t  dim 
)
static

ArrayLayout - calculates the array layout recursively.

Input:

dim - dimension of the targeted array size - the max index for each dimension

Output:

layout - the "start index" for each dimension of an array

Definition at line 197 of file TTable.cxx.

◆ FindGoodLimits()

static void FindGoodLimits ( Int_t  nbins,
Int_t newbins,
Float_t xmin,
Float_t xmax 
)
static

Find reasonable bin values.

This mathod is a straight copy of void TTree::FindGoodLimits method.

Definition at line 734 of file TTable.cxx.

◆ GetExpressionFileName()

static Char_t * GetExpressionFileName ( )
static

Create a name of the file in the temporary directory if any.

Definition at line 1980 of file TTable.cxx.

Variable Documentation

◆ gCurrentTableHist

TH1* gCurrentTableHist = 0
static

Definition at line 170 of file TTable.cxx.

◆ gDtorName

const char* gDtorName = "dtor"
static

Definition at line 172 of file TTable.cxx.

◆ gNbins

Int_t gNbins[4] = {100,100,100,100}
static

Definition at line 173 of file TTable.cxx.

◆ gVmax

Float_t gVmax[4] = {20,20,20,20}
static

Definition at line 175 of file TTable.cxx.

◆ gVmin

Float_t gVmin[4] = {0,0,0,0}
static

Definition at line 174 of file TTable.cxx.