ROOT  6.06/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:

Go to the source code of this file.

Macros

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

Functions

static void ArrayLayout (UInt_t *layout, const UInt_t *size, Int_t dim)
 ArrayLayout - calculates the array layout recursively. More...
 
ClassImp(TTable) TTableDescriptor *TTable return new TTableDescriptor (this)
 protected: create a new TTableDescriptor descriptor for this table 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 gVmin [4] = {0,0,0,0}
 
static Float_t gVmax [4] = {20,20,20,20}
 

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; \
} \
} \
_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
if(pyself &&pyself!=Py_None)
unsigned int UInt_t
Definition: RtypesCore.h:42
int type
Definition: TGX11.cxx:120
else
Definition: TBase64.cxx:55
#define _NAME2_(name1, name2)
Definition: RConfig.h:409

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
if(pyself &&pyself!=Py_None)
int type
Definition: TGX11.cxx:120
#define _NAME2_(name1, name2)
Definition: RConfig.h:409

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++) { \
for(Int_t i=0;i< n;i++)
Definition: legend1.C:18
#define CALLMETHOD

Referenced by TTable::EntryLoop().

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

Referenced by TTable::EntryLoop().

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.

Referenced by TTable::Print(), and TTable::SavePrimitive().

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.

Referenced by TTable::EntryLoop().

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.

Referenced by TTable::MakeExpression().

Variable Documentation

TH1* gCurrentTableHist = 0
static

Definition at line 171 of file TTable.cxx.

Referenced by TTable::Draw(), and TTable::Fit().

const char* gDtorName = "dtor"
static

Definition at line 173 of file TTable.cxx.

Referenced by TTable::Clear(), and TTable::Delete().

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

Definition at line 174 of file TTable.cxx.

Referenced by TTable::Draw(), and TTable::EntryLoop().

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

Definition at line 176 of file TTable.cxx.

Referenced by TTable::Draw(), and TTable::EntryLoop().

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

Definition at line 175 of file TTable.cxx.

Referenced by TTable::Draw(), and TTable::EntryLoop().