12 #ifndef ROOT_TGeoPhysicalNode
13 #define ROOT_TGeoPhysicalNode
123 TGeoPNEntry(
const char *unique_name,
const char *path);
void SetPhysicalNode(TGeoPhysicalNode *node)
Setter for the corresponding physical node.
virtual const char * GetTitle() const
Returns title of object.
virtual void Print(Option_t *option="") const
Print info about this node.
Bool_t IsVolAttributes() const
const char * GetPath() const
TGeoPhysicalNode()
Default constructor.
TGeoPNEntry(const TGeoPNEntry &pne)
void SetAligned(Bool_t flag=kTRUE)
TGeoHMatrix * GetMatrix(Int_t level=-1) const
Return global matrix for node at LEVEL.
TGeoPhysicalNode & operator=(const TGeoPhysicalNode &)
assignment operator
Geometrical transformation package.
TGeoVolume, TGeoVolumeMulti, TGeoVolumeAssembly are the volume classes.
Matrix class used for computing global transformations Should NOT be used for node definition...
TGeoHMatrix * fMatrixOrig
TGeoHMatrix * fGlobalOrig
void Refresh()
Refresh this physical node.
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
void SetMatrixOrig(const TGeoMatrix *local)
Allows PN entries (or users) to preset the local original matrix for the last node pointed by the pat...
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
virtual void Paint(Option_t *option="")
Paint this node and its content according to visualization settings.
Bool_t SetPath(const char *path)
Specify the path for this node.
void SetVisibility(Bool_t flag=kTRUE)
virtual ~TGeoPNEntry()
Destructor.
The knowledge of the path to the objects that need to be misaligned is essential since there is no ot...
Physical nodes are the actual 'touchable' objects in the geometry, representing a path of positioned ...
TNamed & operator=(const TNamed &rhs)
TNamed assignment operator.
Base abstract class for all shapes.
const TGeoHMatrix * GetMatrix() const
void SetMatrix(const TGeoHMatrix *matrix)
Set the additional matrix for this node entry.
virtual ~TGeoPhysicalNode()
Destructor.
TGeoPhysicalNode * GetPhysicalNode() const
TGeoVolume * GetVolume(Int_t level=-1) const
Return volume associated with node at LEVEL in the branch.
TGeoHMatrix * GetOriginalMatrix() const
Bool_t TestBit(UInt_t f) const
void Draw(Option_t *option="")
Draw this node.
TGeoNode * GetMother(Int_t levup=1) const
Return parent at LEVUP generation.
TGeoNode * GetNode(Int_t level=-1) const
Return node in branch at LEVEL. If not specified, return last leaf.
TGeoHMatrix * GetGlobalOrig() const
TGeoPNEntry()
Default constructor.
void SetIsVolAtt(Bool_t flag=kTRUE)
TGeoHMatrix * GetMatrixOrig() const
Class providing navigation API for TGeo geometries.
Bool_t Align(TGeoMatrix *newmat=0, TGeoShape *newshape=0, Bool_t check=kFALSE, Double_t ovlp=0.001)
Align a physical node with a new relative matrix/shape.
A node represent a volume positioned inside another.They store links to both volumes and to the TGeoM...
void SetVisibleFull(Bool_t flag=kTRUE)
TGeoShape * GetShape(Int_t level=-1) const
Return shape associated with volume.
void SetBranchAsState()
Set node branch according to current state.
TGeoPNEntry & operator=(const TGeoPNEntry &pne)
Bool_t IsVisibleFull() const
Bool_t IsMatchingState(TGeoNavigator *nav) const
Checks if a given navigator state matches this physical node.
const TGeoHMatrix * fMatrix