library: libGeom
#include "TGeoCache.h"

TGeoMatrixCache


class description - header file - source file
viewCVS header - viewCVS source

class TGeoMatrixCache

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
public:
TGeoMatrixCache()
TGeoMatrixCache(Int_t size)
virtual~TGeoMatrixCache()
Int_tAddMatrix(TGeoMatrix* matrix)
voidcd(Int_t mindex)
static TClass*Class()
voidClearMatrix(Int_t index)
voidGetMatrix(TGeoHMatrix* matrix) const
virtual TClass*IsA() const
voidLocalToMaster(const Double_t* local, Double_t* master) const
voidLocalToMasterBomb(const Double_t* local, Double_t* master) const
voidLocalToMasterVect(const Double_t* local, Double_t* master) const
voidMasterToLocal(const Double_t* master, Double_t* local) const
voidMasterToLocalBomb(const Double_t* master, Double_t* local) const
voidMasterToLocalVect(const Double_t* master, Double_t* local) const
virtual voidShowMembers(TMemberInspector& insp, char* parent)
voidStatus() const
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
protected:
TGeoMatrixCache(const TGeoMatrixCache&)
voidIncreaseCache()
TGeoMatrixCache&operator=(const TGeoMatrixCache&)

Data Members

protected:
Int_tfGeoMinCacheSizeminimum starting cache size
private:
Int_tfMatrixcurrent global transformation
Int_tfHandlercurrent matrix handler
Int_tfCacheIdcurrent cache id
Int_tfLengthlength of current matrix
UInt_tfSize[7]size of matrix caches
UInt_tfFree[7]offset of first free matrices
Double_t*fCache[7]pointers to all caches
TBits*fBitsArray[7]flags for matrix usage
TGeoMatHandler**fHandlershandlers for cached matrices

Class Description

 Physical tree description.




/* */
TGeoMatrixCache()
 Default ctor.
TGeoMatrixCache(Int_t size)
 Constructor with cache size.
TGeoMatrixCache(const TGeoMatrixCache& gmc)
copy constructor
TGeoMatrixCache& operator=(const TGeoMatrixCache& gmc)
assignment operator
~TGeoMatrixCache()
 Destructor.
Int_t AddMatrix(TGeoMatrix *matrix)
 Add a global matrix to the first free array of corresponding type.
void cd(Int_t mindex)
 Make a matrix index the current one.
void ClearMatrix(Int_t mindex)
 Release the space occupied by a matrix.
void GetMatrix(TGeoHMatrix *matrix)
 Get a matrix from cache.
void IncreaseCache()
 Doubles the cache size.
void Status()
 Print current status of matrix cache.
void LocalToMaster(const Double_t *local, Double_t *master)
{fHandlers[fHandler]->LocalToMaster(local, master);}
void LocalToMasterVect(const Double_t *local, Double_t *master)
{fHandlers[fHandler]->LocalToMasterVect(local, master);}
void LocalToMasterBomb(const Double_t *local, Double_t *master)
{fHandlers[fHandler]->LocalToMasterBomb(local, master);}
void MasterToLocal(const Double_t *master, Double_t *local)
{fHandlers[fHandler]->MasterToLocal(master, local);}
void MasterToLocalVect(const Double_t *master, Double_t *local)
{fHandlers[fHandler]->MasterToLocalVect(master, local);}
void MasterToLocalBomb(const Double_t *master, Double_t *local)
{fHandlers[fHandler]->MasterToLocalBomb(master, local);}

Author: Andrei Gheata 18/03/02
Last update: root/geom:$Name: $:$Id: TGeoCache.cxx,v 1.45 2006/07/09 05:27:53 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.