public class PhysicalVolume extends Object implements IPhysicalVolume
Modifier and Type | Field and Description |
---|---|
(package private) int |
copyNum |
(package private) ILogicalVolume |
logicalVolume |
(package private) ILogicalVolume |
motherLogicalVolume |
(package private) String |
name |
(package private) boolean |
sensitive |
(package private) ITransform3D |
transform |
Constructor and Description |
---|
PhysicalVolume(ITransform3D transform,
String name,
ILogicalVolume logicalVolume,
ILogicalVolume motherLogicalVolume,
int copyNum) |
Modifier and Type | Method and Description |
---|---|
int |
getCopyNumber()
Get the copy number.
|
ILogicalVolume |
getLogicalVolume()
Get the associated LogicalVolume.
|
ILogicalVolume |
getMotherLogicalVolume()
Get the mother's LogicalVolume.
|
String |
getName() |
IRotation3D |
getRotation()
Get the rotation component of the coordinate transform.
|
ITransform3D |
getTransform()
Get the transformation from mother's coordinate system.
|
Hep3Vector |
getTranslation()
Get the translation component of the coordinate transform.
|
boolean |
isSensitive()
True if this volume is a sensitive component;
False if this volume is not a sensitive component.
|
void |
setSensitive(boolean sensitive) |
Hep3Vector |
transformParentToLocal(Hep3Vector point)
Transform a point from parent to this volume.
|
ITransform3D transform
ILogicalVolume logicalVolume
ILogicalVolume motherLogicalVolume
int copyNum
boolean sensitive
String name
public PhysicalVolume(ITransform3D transform, String name, ILogicalVolume logicalVolume, ILogicalVolume motherLogicalVolume, int copyNum)
public String getName()
getName
in interface IPhysicalVolume
public IRotation3D getRotation()
IPhysicalVolume
getRotation
in interface IPhysicalVolume
public int getCopyNumber()
IPhysicalVolume
getCopyNumber
in interface IPhysicalVolume
public ILogicalVolume getMotherLogicalVolume()
IPhysicalVolume
getMotherLogicalVolume
in interface IPhysicalVolume
public ILogicalVolume getLogicalVolume()
IPhysicalVolume
getLogicalVolume
in interface IPhysicalVolume
public ITransform3D getTransform()
IPhysicalVolume
getTransform
in interface IPhysicalVolume
public Hep3Vector getTranslation()
IPhysicalVolume
getTranslation
in interface IPhysicalVolume
public Hep3Vector transformParentToLocal(Hep3Vector point)
IPhysicalVolume
transformParentToLocal
in interface IPhysicalVolume
point
- A point in parent coordinate system.public void setSensitive(boolean sensitive)
public boolean isSensitive()
IPhysicalVolume
isSensitive
in interface IPhysicalVolume
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.