library: libGeom
#include "TGeoCache.h"

TGeoMatrixCache


class description - header file - source file - inheritance tree (.pdf)

class TGeoMatrixCache

Inheritance Chart:
TGeoMatrixCache

    protected:
TGeoMatrixCache(const TGeoMatrixCache&) void IncreaseCache() TGeoMatrixCache& operator=(const TGeoMatrixCache&) public:
TGeoMatrixCache() TGeoMatrixCache(Int_t size) virtual ~TGeoMatrixCache() Int_t AddMatrix(TGeoMatrix* matrix) void cd(Int_t mindex) static TClass* Class() void ClearMatrix(Int_t index) void GetMatrix(TGeoHMatrix* matrix) const virtual TClass* IsA() const void LocalToMaster(const Double_t* local, Double_t* master) const void LocalToMasterBomb(const Double_t* local, Double_t* master) const void LocalToMasterVect(const Double_t* local, Double_t* master) const void MasterToLocal(const Double_t* master, Double_t* local) const void MasterToLocalBomb(const Double_t* master, Double_t* local) const void MasterToLocalVect(const Double_t* master, Double_t* local) const virtual void ShowMembers(TMemberInspector& insp, char* parent) void Status() const virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Int_t fMatrix current global transformation Int_t fHandler current matrix handler Int_t fCacheId current cache id Int_t fLength length of current matrix UInt_t fSize[7] size of matrix caches UInt_t fFree[7] offset of first free matrices Double_t* fCache[7] pointers to all caches TBits* fBitsArray[7] flags for matrix usage TGeoMatHandler** fHandlers handlers for cached matrices protected:
Int_t fGeoMinCacheSize minimum starting cache size

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)
void MasterToLocal(const Double_t *master, Double_t *local)
void LocalToMasterVect(const Double_t *local, Double_t *master)
void MasterToLocalVect(const Double_t *master, Double_t *local)
void LocalToMasterBomb(const Double_t *local, Double_t *master)
void MasterToLocalBomb(const Double_t *master, Double_t *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.