library: libGeom
#include "TGeoCache.h"

TGeoCacheDummy


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

class TGeoCacheDummy: public TGeoNodeCache

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
public:
TGeoCacheDummy()
TGeoCacheDummy(TGeoNode* top, Bool_t nodeid = kFALSE, Int_t capacity = 30)
virtual~TGeoCacheDummy()
Int_tTGeoNodeCache::AddNode(TGeoNode* node)
voidTGeoNodeCache::BuildIdArray()
Int_tTGeoNodeCache::CacheId(Int_t nindex) const
voidTGeoNodeCache::CdCache()
virtual Bool_tCdDown(Int_t index, Bool_t make = kTRUE)
voidTGeoNodeCache::CdNode(Int_t nodeid)
virtual voidCdTop()
virtual voidCdUp()
static TClass*Class()
virtual voidCleanCache()
virtual voidClearDaughter(Int_t)
virtual voidClearNode(Int_t)
virtual voidCompact()
virtual voidDeleteCaches()
virtual Bool_tDumpNodes()
voidTGeoNodeCache::FillIdBranch(const Int_t* br, Int_t startlevel = 0)
virtual void*GetBranch() const
virtual voidGetBranchNames(Int_t* names) const
virtual voidGetBranchNumbers(Int_t* copyNumbers, Int_t* volumeNumbers) const
virtual voidGetBranchOnlys(Int_t* isonly) const
virtual TGeoHMatrix*GetCurrentMatrix() const
Int_tGetCurrentNode() const
Int_tTGeoNodeCache::GetCurrentNodeId() const
virtual Int_tGetFreeSpace() const
const Int_t*TGeoNodeCache::GetIdBranch() const
Int_tTGeoNodeCache::GetLevel() const
virtual void*GetMatrices() const
TGeoMatrixCache*TGeoNodeCache::GetMatrixPool() const
virtual TGeoNode*GetMother(Int_t up = 1) const
virtual TGeoHMatrix*GetMotherMatrix(Int_t up = 1) const
virtual Int_tGetNfree() const
virtual TGeoNode*GetNode() const
virtual Int_tGetNodeId() const
virtual Int_tGetNused() const
virtual const char*GetPath()
Int_tTGeoNodeCache::GetSize() const
Int_tTGeoNodeCache::GetStackLevel() const
Int_tTGeoNodeCache::GetTopNode() const
virtual Int_tGetUsageCount() const
Bool_tTGeoNodeCache::HasIdArray() const
virtual voidIncreasePool(Int_t)
virtual voidIncrementUsageCount()
Int_tTGeoNodeCache::Index(Int_t nindex) const
virtual TClass*IsA() const
virtual Bool_tIsDummy() const
virtual voidLocalToMaster(const Double_t* local, Double_t* master) const
virtual voidLocalToMasterBomb(const Double_t* local, Double_t* master) const
virtual voidLocalToMasterVect(const Double_t* local, Double_t* master) const
virtual voidMasterToLocal(const Double_t* master, Double_t* local) const
virtual voidMasterToLocalBomb(const Double_t* master, Double_t* local) const
virtual voidMasterToLocalVect(const Double_t* master, Double_t* local) const
virtual voidTGeoNodeCache::PopDummy(Int_t ipop = 9999)
virtual Bool_tTGeoNodeCache::PopState(Int_t& nmany, Double_t* point = 0)
virtual Bool_tTGeoNodeCache::PopState(Int_t& nmany, Int_t level, Double_t* point = 0)
virtual voidPrintNode() const
virtual Int_tTGeoNodeCache::PushState(Bool_t ovlp, Int_t ntmany = 0, Int_t startlevel = 0, Double_t* point = 0)
virtual voidRefresh()
voidTGeoNodeCache::SetDefaultLevel(Int_t level)
Bool_tSetPersistency()
virtual voidShowMembers(TMemberInspector& insp, char* parent)
voidStatus() const
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
protected:
TGeoCacheDummy(const TGeoCacheDummy&)
TGeoCacheDummy&operator=(const TGeoCacheDummy&)

Data Members

protected:
Double_tTGeoNodeCache::fGeoCacheUsageRatiopercentage of total usage count that triggers persistency
Int_tTGeoNodeCache::fGeoCacheMaxDaughtersmax ndaugters for TGeoNodeArray
Int_tTGeoNodeCache::fGeoCacheMaxSizemaximum initial cache size
Int_tTGeoNodeCache::fGeoCacheDefaultLeveldefault level down to store nodes
Int_tTGeoNodeCache::fGeoCacheMaxLevelsmaximum supported number of levels
Int_tTGeoNodeCache::fGeoCacheObjArrayIndmaximum number of daughters stored as node arrays
Int_tTGeoNodeCache::fGeoCacheStackSizemaximum size of the stack
Int_tTGeoNodeCache::fLevellevel in the current branch
Int_tTGeoNodeCache::fCurrentIDunique ID of current node
TStringTGeoNodeCache::fPathpath for current branch
TObjArray*TGeoNodeCache::fStackstack of cache states
Int_t*TGeoNodeCache::fNodeIdArray! array of node id's
Int_tTGeoNodeCache::fIndexindex in array of ID's
TGeoMatrixCache*TGeoNodeCache::fMatrixPoolpool of compressed global matrices
Int_tTGeoNodeCache::fIdBranch[30]current branch of indices
private:
TGeoNode*fToptop node
TGeoNode*fNodecurrent node
TGeoHMatrix*fMatrixcurrent matrix
TGeoHMatrix**fMatrixBranchcurrent branch of global matrices
TGeoHMatrix**fMPBpre-built matrices
TGeoNode**fNodeBranchcurrent branch of nodes

Class Description

 Physical tree description.




/* */
TGeoCacheDummy()
 Default ctor.
TGeoCacheDummy(TGeoNode *top, Bool_t nodeid, Int_t capacity)
 Constructor specifying the top node.
TGeoCacheDummy(const TGeoCacheDummy& gcd)
copy constructor
TGeoCacheDummy& operator=(const TGeoCacheDummy& gcd)
assignment operator
~TGeoCacheDummy()
 Destructor.
Bool_t CdDown(Int_t index, Bool_t /*make*/)
 Make daughter INDEX of current node the active state. Compute global matrix.
void CdUp()
 Make mother of current node the active state.
Int_t GetNodeId()
 Get unique node id.
void GetBranchNames(Int_t *names)
 Fill names with current branch volume names (4 char - used by GEANT3 interface).
void GetBranchNumbers(Int_t *copyNumbers, Int_t *volumeNumbers)
 Fill copy numbers of current branch nodes.
void GetBranchOnlys(Int_t *isonly)
 Fill copy numbers of current branch nodes.
const char * GetPath()
 Returns the current geometry path.
void LocalToMaster(const Double_t *local, Double_t *master)
 Local to master point conversion.
void LocalToMasterVect(const Double_t *local, Double_t *master)
 Local to master vector conversion.
void LocalToMasterBomb(const Double_t *local, Double_t *master)
 Local to master point conversion in exploded view.
void MasterToLocal(const Double_t *master, Double_t *local)
 Master to local point conversion.
void MasterToLocalVect(const Double_t *master, Double_t *local)
 Master to local vector conversion.
void MasterToLocalBomb(const Double_t *master, Double_t *local)
 Master to local point conversion in exploded view.
void Refresh()
{fNode=fNodeBranch[fLevel]; fMatrix=fMatrixBranch[fLevel];}
void CdTop()
{fLevel=1; CdUp();}
void CleanCache()
void ClearDaughter(Int_t index)
void ClearNode(Int_t nindex)
void Compact()
void DeleteCaches()
Bool_t DumpNodes()
void * GetBranch()
{return fBranch;}
void * GetMatrices()
{return fMatrices;}
TGeoHMatrix * GetCurrentMatrix()
Int_t GetCurrentNode()
{return fCurrentNode;}
TGeoNode * GetMother(Int_t up=1)
TGeoHMatrix * GetMotherMatrix(Int_t /*up*/)
{return 0;}
TGeoNode * GetNode()
Int_t GetFreeSpace()
{return (fGeoCacheMaxSize-fSize);}
Int_t GetNfree()
{return (fSize-fNused);}
Int_t GetNused()
{return fNused;}
Int_t GetUsageCount()
void IncreasePool(Int_t size)
{fSize+=size;}
void IncrementUsageCount()
Bool_t IsDummy()
{return kFALSE;}
void PrintNode()
Bool_t SetPersistency()
void Status()

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.