Logo ROOT   6.07/09
Reference Guide
Macros | Functions | Variables
TTable.cxx File Reference
#include <assert.h>
#include "RConfigure.h"
#include "Riosfwd.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*-*-*-*-*-*-*-*-*-*-*-*-*-*-* *-* ========================== *-* This mathod is a straight copy of void TTree::FindGoodLimits method *-* 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

#define CALLMETHOD   gInterpreter->CallFunc_Exec(callfunc,0);
#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
unsigned int UInt_t
Definition: RtypesCore.h:42
int type
Definition: TGX11.cxx:120
#define _NAME2_(name1, name2)
Definition: RConfig.h:429
if(line.BeginsWith("/*"))
Definition: HLFactory.cxx:443

Definition at line 2196 of file TTable.cxx.

#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
int type
Definition: TGX11.cxx:120
#define _NAME2_(name1, name2)
Definition: RConfig.h:429
if(line.BeginsWith("/*"))
Definition: HLFactory.cxx:443

Definition at line 2222 of file TTable.cxx.

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

Function Documentation

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 198 of file TTable.cxx.

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 739 of file TTable.cxx.

static Char_t* GetExpressionFileName ( )
static

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

Definition at line 1991 of file TTable.cxx.

Variable Documentation

TH1* gCurrentTableHist = 0
static

Definition at line 171 of file TTable.cxx.

const char* gDtorName = "dtor"
static

Definition at line 173 of file TTable.cxx.

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

Definition at line 174 of file TTable.cxx.

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

Definition at line 176 of file TTable.cxx.

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

Definition at line 175 of file TTable.cxx.