library: libGeom #include "TGeoCache.h"

# TGeoCacheDummy

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

## class TGeoCacheDummy : public TGeoNodeCache

| Inheritance Chart:
`TGeoNodeCache`
| <- | `TGeoCacheDummy` |

        public:

                               TGeoCacheDummy()
                               TGeoCacheDummy(TGeoNode* top, Bool_t nodeid = kFALSE, Int_t capacity = 30)
                               TGeoCacheDummy(const TGeoCacheDummy&)
                       virtual ~TGeoCacheDummy()
                virtual Bool_t CdDown(Int_t index, Bool_t make = kTRUE)
                  virtual void CdTop()
                  virtual void CdUp()
                static TClass* Class()
                  virtual void CleanCache()
                  virtual void ClearDaughter(Int_t)
                  virtual void ClearNode(Int_t)
                  virtual void Compact()
                  virtual void DeleteCaches()
                virtual Bool_t DumpNodes()
                 virtual void* GetBranch() const
                  virtual void GetBranchNames(Int_t* names) const
                  virtual void GetBranchNumbers(Int_t* copyNumbers, Int_t* volumeNumbers) const
                  virtual void GetBranchOnlys(Int_t* isonly) const
          virtual TGeoHMatrix* GetCurrentMatrix() const
                         Int_t GetCurrentNode() const
                 virtual Int_t GetFreeSpace() const
                 virtual void* GetMatrices() const
             virtual TGeoNode* GetMother(Int_t up = 1) const
                 virtual Int_t GetNfree() const
             virtual TGeoNode* GetNode() const
                 virtual Int_t GetNodeId() const
                 virtual Int_t GetNused() const
           virtual const char* GetPath() const
                 virtual Int_t GetUsageCount() const
                  virtual void IncreasePool(Int_t)
                  virtual void IncrementUsageCount()
               virtual TClass* IsA() const
                virtual Bool_t IsDummy() const
                  virtual void LocalToMaster(const Double_t* local, Double_t* master) const
                  virtual void LocalToMasterBomb(const Double_t* local, Double_t* master) const
                  virtual void LocalToMasterVect(const Double_t* local, Double_t* master) const
                  virtual void MasterToLocal(const Double_t* master, Double_t* local) const
                  virtual void MasterToLocalBomb(const Double_t* master, Double_t* local) const
                  virtual void MasterToLocalVect(const Double_t* master, Double_t* local) const
               TGeoCacheDummy& operator=(const TGeoCacheDummy&)
                  virtual void PrintNode() const
                  virtual void Refresh()
                        Bool_t SetPersistency()
                  virtual void ShowMembers(TMemberInspector& insp, char* parent)
                          void Status() const
                  virtual void Streamer(TBuffer& b)
                          void StreamerNVirtual(TBuffer& b)

### Data Members

        private:

              TGeoNode* fTop           top node
              TGeoNode* fNode          current node
           TGeoHMatrix* fMatrix        current matrix
          TGeoHMatrix** fMatrixBranch  current branch of global matrices
          TGeoHMatrix** fMPB           pre-built matrices
             TGeoNode** fNodeBranch    current branch of nodes

## Class Description

     Physical tree description.

/* */

TGeoCacheDummy()

TGeoCacheDummy(TGeoNode *top, Bool_t nodeid, Int_t capacity) :TGeoNodeCache(nodeid)

~TGeoCacheDummy()

Bool_t CdDown(Int_t index, Bool_t /*make*/)

void CdUp()

Int_t GetNodeId() const

     Get unique node id.

void GetBranchNames(Int_t *names) const

     Fill names with current branch volume names (4 char)

void GetBranchNumbers(Int_t *copyNumbers, Int_t *volumeNumbers) const

     Fill copy numbers of current branch nodes.

void GetBranchOnlys(Int_t *isonly) const

     Fill copy numbers of current branch nodes.

const char* GetPath()

     prints the current path

void LocalToMaster(const Double_t *local, Double_t *master) const

void LocalToMasterVect(const Double_t *local, Double_t *master) const

void LocalToMasterBomb(const Double_t *local, Double_t *master) const

void MasterToLocal(const Double_t *master, Double_t *local) const

    fMatrix->MasterToLocal(master, local);

void MasterToLocalVect(const Double_t *master, Double_t *local) const

    fMatrix->MasterToLocalVect(master, local);

void MasterToLocalBomb(const Double_t *master, Double_t *local) const

### Inline Functions

                       void CdTop()
                       void CleanCache()
                       void ClearDaughter(Int_t)
                       void ClearNode(Int_t)
                       void Compact()
                       void DeleteCaches()
                     Bool_t DumpNodes()
                      void* GetBranch() const
               TGeoHMatrix* GetCurrentMatrix() const
                      Int_t GetCurrentNode() const
                      Int_t GetFreeSpace() const
                      void* GetMatrices() const
                  TGeoNode* GetMother(Int_t up = 1) const
                  TGeoNode* GetNode() const
                      Int_t GetNfree() const
                      Int_t GetNused() const
                      Int_t GetUsageCount() const
                       void IncreasePool(Int_t)
                       void IncrementUsageCount()
                     Bool_t IsDummy() const
                       void PrintNode() const
                       void Refresh()
                     Bool_t SetPersistency()
                       void Status() const
                    TClass* Class()
                    TClass* IsA() const
                       void ShowMembers(TMemberInspector& insp, char* parent)
                       void Streamer(TBuffer& b)
                       void StreamerNVirtual(TBuffer& b)
             TGeoCacheDummy TGeoCacheDummy(const TGeoCacheDummy&)
            TGeoCacheDummy& operator=(const TGeoCacheDummy&)

Author: Andrei Gheata 18/03/02
Last update: root/geom:$Name: $:$Id: TGeoCache.cxx,v 1.35 2005/05/26 13:20:26 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *