static class MaterialManager.UniquePV extends Object
Modifier and Type | Field and Description |
---|---|
(package private) IPhysicalVolumeNavigator |
nav |
(package private) IPhysicalVolumePath |
path |
(package private) ITransform3D |
transform |
Constructor and Description |
---|
MaterialManager.UniquePV(IPhysicalVolume root,
IPhysicalVolumeNavigator navigator)
Generates a top-level UniquePV.
|
MaterialManager.UniquePV(IPhysicalVolumePath path,
IPhysicalVolumeNavigator navigator)
Generates a UniquePV from a path.
|
Modifier and Type | Method and Description |
---|---|
MaterialManager.UniquePV |
createDaughterUniquePV(IPhysicalVolume daughter)
Creates a UniquePV that is a daughter of the current UniquePV (deep copy made)
|
ITransform3D |
getLtoGTransform()
Returns the local-to-global transform
|
IPhysicalVolume |
getPV()
Returns the IPhysicalVolume (the last element of the path)
|
ISolid |
getSolid()
Returns the solid associated with the physical volume.
|
Hep3Vector |
localToGlobal(Hep3Vector v)
Transforms the given vector from local to global coords.
|
String |
toString() |
IPhysicalVolumeNavigator nav
IPhysicalVolumePath path
ITransform3D transform
public MaterialManager.UniquePV(IPhysicalVolume root, IPhysicalVolumeNavigator navigator)
root
- The top-level IPhysicalVolumenavigator
- The IPhysicalVolumeNavigator associated with the detectorpublic MaterialManager.UniquePV(IPhysicalVolumePath path, IPhysicalVolumeNavigator navigator)
path
- navigator
- public MaterialManager.UniquePV createDaughterUniquePV(IPhysicalVolume daughter)
daughter
- public ITransform3D getLtoGTransform()
public IPhysicalVolume getPV()
public ISolid getSolid()
public Hep3Vector localToGlobal(Hep3Vector v)
v
- the untransformed local Hep3VectorCopyright © 2016 Linear Collider Detector (LCD). All rights reserved.