library: libGeom
#include "TGeoCache.h"

TGeoNodePos


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

class TGeoNodePos : public TObject

Inheritance Chart:
TObject
<-
TGeoNodePos

    protected:
TGeoNodePos(const TGeoNodePos&) TGeoNodePos& operator=(const TGeoNodePos&) public:
TGeoNodePos() TGeoNodePos(Int_t ndaughters) virtual ~TGeoNodePos() Int_t AddDaughter(Int_t ind, Int_t nindex) Int_t AddMatrix(TGeoMatrix* global) static TClass* Class() void ClearDaughter(Int_t ind) void ClearMatrix() Int_t GetDaughter(Int_t ind) const Int_t GetMatrixInd() const virtual const char* GetName() const Int_t GetNdaughters() const TGeoNode* GetNode() const Int_t GetUsageCount() const Bool_t HasDaughters() const void IncrementUsageCount() virtual TClass* IsA() const Bool_t IsPersistent() const void Map(TGeoNode* node) void ResetCount() void SetMatrix(Int_t mat_ind) void SetPersistency(Bool_t flag = kTRUE) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Int_t fNdaughters number of daughters Int_t fMatrix index of global matrix Int_t fCount usage counter Int_t* fDaughters [fNdaughters] list of daughters offsets TGeoNode* fNode pointer to corresponding node from the logical tree public:
static const Int_t fgPersistentNodeMask byte mask for persistent nodes static const UChar_t fgPersistentMatrixMask byte mask for persistent matrices static const UInt_t fgNoMatrix initial value for fGlobalMatrix

Class Description

 Physical tree description.




TGeoNodePos()
 Default ctor.
TGeoNodePos(const TGeoNodePos& gnp)
copy constructor
TGeoNodePos& operator=(const TGeoNodePos& gnp)
assignment operator
TGeoNodePos(Int_t ndaughters)
 Constructor with ndaughters.
~TGeoNodePos()
 Destructor. It deletes the daughters also.
Int_t AddMatrix(TGeoMatrix *global)
 Cache the global matrix.
void ClearMatrix()
 Clear the matrix if not used by other nodes.
Int_t GetDaughter(Int_t ind)
 Get the i-th daughter.
Bool_t HasDaughters()
 Check if current node has daughters.
void Map(TGeoNode *node)
 Map this nodepos to a logical node.
void SetPersistency(Bool_t flag)
 Set this node persistent in cache.
void ClearDaughter(Int_t index)
Int_t GetUsageCount()
void IncrementUsageCount()
Int_t AddDaughter(Int_t ind, Int_t nindex)
Int_t GetMatrixInd()
Int_t GetNdaughters()
Bool_t IsPersistent()
void ResetCount()
void SetMatrix(Int_t mat_ind)

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.