library: libGeom
#include "TGeoCache.h"

TGeoNodePos


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

class TGeoNodePos : public TObject

Inheritance Chart:
TObject
<-
TGeoNodePos

    public:
TGeoNodePos() TGeoNodePos(Int_t ndaughters) TGeoNodePos(const TGeoNodePos&) 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) TGeoNodePos& operator=(const TGeoNodePos&) 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(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) const
 Get the i-th daughter.

Bool_t HasDaughters() const
 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.



Inline Functions


               Int_t AddDaughter(Int_t ind, Int_t nindex)
                void ClearDaughter(Int_t ind)
               Int_t GetMatrixInd() const
         const char* GetName() const
               Int_t GetNdaughters() const
           TGeoNode* GetNode() const
               Int_t GetUsageCount() const
              Bool_t IsPersistent() const
                void IncrementUsageCount()
                void ResetCount()
                void SetMatrix(Int_t mat_ind)
             TClass* Class()
             TClass* IsA() const
                void ShowMembers(TMemberInspector& insp, char* parent)
                void Streamer(TBuffer& b)
                void StreamerNVirtual(TBuffer& b)
         TGeoNodePos TGeoNodePos(const TGeoNodePos&)
        TGeoNodePos& operator=(const TGeoNodePos&)


Author: Andrei Gheata 18/03/02
Last update: root/geom:$Name: $:$Id: TGeoCache.cxx,v 1.40 2005/11/21 13:52:50 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.