public class JavaSurveyVolume extends SurveyVolumeImpl
Modifier and Type | Field and Description |
---|---|
private org.lcsim.detector.solids.Box |
box |
private int |
componentId |
List<JavaSurveyVolume> |
daughters |
private JavaSurveyVolume |
mother |
private org.lcsim.detector.IPhysicalVolume |
physVolume |
private org.lcsim.detector.ITranslation3D |
pos |
private org.lcsim.detector.IRotation3D |
rot |
private org.lcsim.detector.ILogicalVolume |
volume |
surveyVolume
visName
Constructor and Description |
---|
JavaSurveyVolume(SurveyVolume surveyVolume)
Default constructor
|
JavaSurveyVolume(SurveyVolume surveyVolume,
org.lcsim.detector.ILogicalVolume vol)
Construct a JAVA geometry object from its geometry definition and an already built logical volume.
|
JavaSurveyVolume(SurveyVolume surveyVolume,
JavaSurveyVolume mother,
int volumeId)
Construct a JAVA geometry object from its geometry definition.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addDaughter(JavaSurveyVolume o) |
void |
buildBox() |
void |
buildPhysVolume() |
void |
buildVolume() |
protected org.lcsim.detector.solids.Box |
getBox() |
int |
getComponentId() |
List<JavaSurveyVolume> |
getDaughters() |
JavaSurveyVolume |
getMother() |
JavaSurveyVolume |
getPhysMother()
Find the first non-ghost volume among parents.
|
org.lcsim.detector.IPhysicalVolume |
getPhysVolume() |
protected org.lcsim.detector.ITranslation3D |
getPos() |
protected org.lcsim.detector.IRotation3D |
getRot() |
org.lcsim.detector.ILogicalVolume |
getVolume() |
protected boolean |
hasCoordinateSystemInfo() |
protected void |
setBox(org.lcsim.detector.solids.Box b) |
void |
setComponentId(int componentId) |
protected void |
setMother(JavaSurveyVolume mother) |
protected void |
setPhysVolume(org.lcsim.detector.PhysicalVolume physVolume) |
protected void |
setPos(org.lcsim.detector.ITranslation3D iTranslation3D) |
void |
setPositionAndRotation(SurveyVolume base) |
protected void |
setRot(org.lcsim.detector.IRotation3D iRotation3D) |
protected void |
setVolume(org.lcsim.detector.ILogicalVolume volume) |
String |
toString() |
getBoxDim, getMaterial, getName, isDebug
getVisName, setVisName
private org.lcsim.detector.solids.Box box
private org.lcsim.detector.ILogicalVolume volume
private org.lcsim.detector.ITranslation3D pos
private org.lcsim.detector.IRotation3D rot
private org.lcsim.detector.IPhysicalVolume physVolume
private JavaSurveyVolume mother
public List<JavaSurveyVolume> daughters
private int componentId
public JavaSurveyVolume(SurveyVolume surveyVolume)
public JavaSurveyVolume(SurveyVolume surveyVolume, org.lcsim.detector.ILogicalVolume vol)
surveyVolume
- - input geometry definitionvol
- - logical volumepublic JavaSurveyVolume(SurveyVolume surveyVolume, JavaSurveyVolume mother, int volumeId)
surveyVolume
- - input geometry definitionmother
- - reference to mother JAVA definitionvolumeId
- - component id numberprotected boolean hasCoordinateSystemInfo()
public void buildPhysVolume()
buildPhysVolume
in class SurveyVolumeImpl
public void buildBox()
buildBox
in class SurveyVolumeImpl
public void buildVolume()
buildVolume
in class SurveyVolumeImpl
public void setPositionAndRotation(SurveyVolume base)
setPositionAndRotation
in class SurveyVolumeImpl
public JavaSurveyVolume getPhysMother()
public org.lcsim.detector.ILogicalVolume getVolume()
protected void setVolume(org.lcsim.detector.ILogicalVolume volume)
protected org.lcsim.detector.solids.Box getBox()
protected void setBox(org.lcsim.detector.solids.Box b)
protected org.lcsim.detector.ITranslation3D getPos()
protected void setPos(org.lcsim.detector.ITranslation3D iTranslation3D)
protected org.lcsim.detector.IRotation3D getRot()
protected void setRot(org.lcsim.detector.IRotation3D iRotation3D)
public JavaSurveyVolume getMother()
protected void setMother(JavaSurveyVolume mother)
public org.lcsim.detector.IPhysicalVolume getPhysVolume()
protected void setPhysVolume(org.lcsim.detector.PhysicalVolume physVolume)
public List<JavaSurveyVolume> getDaughters()
protected void addDaughter(JavaSurveyVolume o)
public int getComponentId()
public void setComponentId(int componentId)
public String toString()
toString
in class SurveyVolumeImpl
Copyright © 2019. All rights reserved.