GeoModel - GeoModelCore
Public Member Functions | Private Attributes | List of all members
GeoVFullPhysVol Class Reference
Inheritance diagram for GeoVFullPhysVol:
GeoVPhysVol GeoGraphNode RCBase GeoFullPhysVol

Public Member Functions

 GeoVFullPhysVol (const GeoLogVol *logVol)
 
 GeoVFullPhysVol (const GeoVFullPhysVol &right)=delete
 
GeoVFullPhysVol & operator= (const GeoVFullPhysVol &right)=delete
 
const GeoTrf::Transform3D & getAbsoluteTransform (GeoVAlignmentStore *store=nullptr) const
 Returns the absolute transform of the volume.
 
void clearPositionInfo () const
 
const GeoTrf::Transform3D & getDefAbsoluteTransform (GeoVAlignmentStore *store=nullptr) const
 Returns the default absolute transform of the volume.
 
const std::string & getAbsoluteName ()
 Returns the absolute name of this node.
 
unsigned int getId () const
 Returns the identification bits.
 
- Public Member Functions inherited from GeoVPhysVol
 GeoVPhysVol (const GeoLogVol *LogVol)
 
 GeoVPhysVol (const GeoVPhysVol &right)=delete
 
GeoVPhysVol & operator= (const GeoVPhysVol &right)=delete
 
bool isShared () const
 
Query< unsigned int > indexOf (PVConstLink daughter) const
 
PVConstLink getParent () const
 Gets the parent, if the parent is unique, and otherwise returns a nullptr pointer.
 
const GeoLogVol * getLogVol () const
 Returns the logical volume.
 
virtual unsigned int getNChildVols () const =0
 Returns the number of child physical volumes.
 
virtual PVConstLink getChildVol (unsigned int index) const =0
 Returns the ith child volume.
 
virtual GeoTrf::Transform3D getXToChildVol (unsigned int index, const GeoVAlignmentStore *store=nullptr) const =0
 Returns the transform to the ith volume.
 
virtual GeoTrf::Transform3D getDefXToChildVol (unsigned int index, const GeoVAlignmentStore *store=nullptr) const =0
 Returns the default transform to the ith volume.
 
virtual std::string getNameOfChildVol (unsigned int i) const =0
 Returns the name of the child.
 
void apply (GeoVolumeAction *action) const
 
virtual void dockTo (GeoVPhysVol *parent)
 
virtual Query< int > getIdOfChildVol (unsigned int i) const =0
 Returns the id of the child.
 
virtual unsigned int getNChildVolAndST () const =0
 Returns the number of child physical volumes and Serial Transformers.
 
virtual GeoTrf::Transform3D getX (const GeoVAlignmentStore *store=nullptr) const =0
 
virtual GeoTrf::Transform3D getDefX (const GeoVAlignmentStore *store=nullptr) const =0
 
virtual unsigned int getNChildNodes () const =0
 
virtual const GeoGraphNode *const * getChildNode (unsigned int i) const =0
 
virtual const GeoGraphNode *const * findChildNode (const GeoGraphNode *n) const =0
 
- Public Member Functions inherited from GeoGraphNode
virtual void exec (GeoNodeAction *action) const
 
- Public Member Functions inherited from RCBase
void ref () const
 
void unref () const
 
unsigned int refCount () const
 

Private Attributes

std::string m_absName
 The absolute name of this volume.
 
Query< int > * m_id
 An identifier. This is locally cached in a full physical volume.
 
GeoAbsPositionInfo * m_absPosInfo
 Information on the where this volume is, by default and after alignment corrections.
 

Detailed Description

Definition at line 14 of file GeoVFullPhysVol.h.

Member Function Documentation

void GeoVFullPhysVol::clearPositionInfo ( ) const

Clears the position information. This can be used if the cache is determined to be invalid. The usual client is one of the parents, upon changing its own position. There is little need for casual users to call this.

Definition at line 78 of file GeoVFullPhysVol.cxx.

79 {
80  delete m_absPosInfo;
81  m_absPosInfo = nullptr;
82 }
GeoAbsPositionInfo * m_absPosInfo
Information on the where this volume is, by default and after alignment corrections.

The documentation for this class was generated from the following files: