12 #ifndef ROOT_TGeoPhysicalNode 13 #define ROOT_TGeoPhysicalNode 108 kPNEntryOwnMatrix =
BIT(14)
116 :
TNamed(pne), fNode(pne.fNode), fMatrix(NULL), fGlobalOrig(NULL) { }
123 TGeoPNEntry(
const char *unique_name,
const char *path);
const TGeoHMatrix * GetMatrix() const
TGeoPhysicalNode()
Default constructor.
TGeoPNEntry(const TGeoPNEntry &pne)
void SetAligned(Bool_t flag=kTRUE)
TGeoPhysicalNode * GetPhysicalNode() const
TGeoNode * GetMother(Int_t levup=1) const
Return parent at LEVUP generation.
TGeoPhysicalNode & operator=(const TGeoPhysicalNode &)
assignment operator
Geometrical transformation package.
TGeoHMatrix * GetOriginalMatrix() const
TGeoVolume, TGeoVolumeMulti, TGeoVolumeAssembly are the volume classes.
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
Matrix class used for computing global transformations Should NOT be used for node definition...
TGeoHMatrix * fMatrixOrig
TGeoNode * GetNode(Int_t level=-1) const
Return node in branch at LEVEL. If not specified, return last leaf.
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.
TGeoHMatrix * GetMatrix(Int_t level=-1) const
Return global matrix for node at LEVEL.
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)
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 ...
TGeoHMatrix * GetMatrixOrig() const
TNamed & operator=(const TNamed &rhs)
TNamed assignment operator.
Base abstract class for all shapes.
virtual ~TGeoPhysicalNode()
Destructor.
void Draw(Option_t *option="")
Draw this node.
Bool_t IsVolAttributes() const
Bool_t IsVisibleFull() const
TGeoVolume * GetVolume(Int_t level=-1) const
Return volume associated with node at LEVEL in the branch.
void SetIsVolAtt(Bool_t flag=kTRUE)
TGeoHMatrix * GetGlobalOrig() 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)
Bool_t IsMatchingState(TGeoNavigator *nav) const
Checks if a given navigator state matches this physical node.
void SetBranchAsState()
Set node branch according to current state.
TGeoShape * GetShape(Int_t level=-1) const
Return shape associated with volume.
virtual void Print(Option_t *option="") const
Print info about this node.
TGeoPNEntry & operator=(const TGeoPNEntry &pne)
virtual const char * GetTitle() const
Returns title of object.
const char * GetPath() const
const TGeoHMatrix * fMatrix