TTable.cxx File Reference

#include <assert.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 "Api.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"

Go to the source code of this file.

Defines

#define BYTECODE
#define CALLMETHOD   callfunc.Exec(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)
 ClassImp (TTable) TTableDescriptor *TTable
static void FindGoodLimits (Int_t nbins, Int_t &newbins, Float_t &xmin, Float_t &xmax)
static Char_tGetExpressionFileName ()

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}


Define Documentation

#define BYTECODE

#define CALLMETHOD   callfunc.Exec(0);

#define StreamElementIn ( type   ) 

Value:

case TTableDescriptor::_NAME2_(k,type):        \
 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

Definition at line 2166 of file TTable.cxx.

#define StreamElementOut ( type   ) 

Value:

case TTableDescriptor::_NAME2_(k,type):    \
 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 2192 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

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]

Definition at line 183 of file TTable.cxx.

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

ClassImp ( TTable   ) 

Definition at line 207 of file TTable.cxx.

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

Definition at line 725 of file TTable.cxx.

References n, RooFit::Optimize(), and THLimitsFinder::Optimize().

Referenced by TTable::EntryLoop(), G__G__Hist_314_0_2(), G__G__Hist_314_0_3(), and G__G__Hist_314_0_4().

static Char_t* GetExpressionFileName (  )  [static]

Definition at line 1967 of file TTable.cxx.

References TSystem::AccessPathName(), TSystem::ConcatFileName(), TString::Data(), TString::Form(), TSystem::Getenv(), TSystem::GetPid(), and gSystem.

Referenced by TTable::MakeExpression().


Variable Documentation

TH1* gCurrentTableHist = 0 [static]

Definition at line 169 of file TTable.cxx.

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

const char* gDtorName = "dtor" [static]

Definition at line 171 of file TTable.cxx.

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

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

Definition at line 172 of file TTable.cxx.

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

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

Definition at line 174 of file TTable.cxx.

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

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

Definition at line 173 of file TTable.cxx.

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


Generated on Tue Jul 5 16:07:48 2011 for ROOT_528-00b_version by  doxygen 1.5.1