public class LCDDSurveyVolume extends SurveyVolumeImpl
Modifier and Type | Field and Description |
---|---|
(package private) org.lcsim.geometry.compact.converter.lcdd.util.Box |
box |
List<LCDDSurveyVolume> |
daughters |
(package private) org.lcsim.geometry.compact.converter.lcdd.util.LCDD |
lcdd |
private LCDDSurveyVolume |
mother |
protected Map<String,Integer> |
physVolId |
private org.lcsim.geometry.compact.converter.lcdd.util.PhysVol |
physVolume |
private org.lcsim.geometry.compact.converter.lcdd.util.Position |
pos |
private org.lcsim.geometry.compact.converter.lcdd.util.Rotation |
rot |
(package private) org.lcsim.geometry.compact.converter.lcdd.util.Volume |
volume |
surveyVolume
visName
Constructor and Description |
---|
LCDDSurveyVolume(SurveyVolume surveyVolume)
Default constructor
|
LCDDSurveyVolume(SurveyVolume surveyVolume,
org.lcsim.geometry.compact.converter.lcdd.util.LCDD lcdd,
LCDDSurveyVolume mother)
Interface to the LCDD converter geometry for the geometry definition.
|
LCDDSurveyVolume(SurveyVolume surveyVolume,
org.lcsim.geometry.compact.converter.lcdd.util.Volume volume)
Initialize this object with a known volume and no mother.
|
Modifier and Type | Method and Description |
---|---|
void |
addDaughter(LCDDSurveyVolume o) |
void |
buildBox() |
void |
buildPhysVolume() |
void |
buildVolume() |
org.lcsim.geometry.compact.converter.lcdd.util.Box |
getBox() |
List<LCDDSurveyVolume> |
getDaughters() |
LCDDSurveyVolume |
getMother() |
LCDDSurveyVolume |
getPhysMother()
Find the first non-ghost volume among parents.
|
org.lcsim.geometry.compact.converter.lcdd.util.PhysVol |
getPhysVolume() |
org.lcsim.geometry.compact.converter.lcdd.util.Position |
getPos() |
org.lcsim.geometry.compact.converter.lcdd.util.Rotation |
getRot() |
org.lcsim.geometry.compact.converter.lcdd.util.Volume |
getVolume() |
void |
setBox(org.lcsim.geometry.compact.converter.lcdd.util.Box b) |
void |
setMother(LCDDSurveyVolume mother) |
void |
setPhysVolume(org.lcsim.geometry.compact.converter.lcdd.util.PhysVol physVolume) |
void |
setPos(org.lcsim.geometry.compact.converter.lcdd.util.Position pos) |
void |
setPositionAndRotation(SurveyVolume base) |
void |
setRot(org.lcsim.geometry.compact.converter.lcdd.util.Rotation rot) |
void |
setVolume(org.lcsim.geometry.compact.converter.lcdd.util.Volume volume) |
String |
toString() |
getBoxDim, getMaterial, getName, isDebug
getVisName, setVisName
org.lcsim.geometry.compact.converter.lcdd.util.Box box
org.lcsim.geometry.compact.converter.lcdd.util.Volume volume
private org.lcsim.geometry.compact.converter.lcdd.util.Position pos
private org.lcsim.geometry.compact.converter.lcdd.util.Rotation rot
private org.lcsim.geometry.compact.converter.lcdd.util.PhysVol physVolume
org.lcsim.geometry.compact.converter.lcdd.util.LCDD lcdd
private LCDDSurveyVolume mother
public List<LCDDSurveyVolume> daughters
public LCDDSurveyVolume(SurveyVolume surveyVolume)
surveyVolume
- - core geometry definitionspublic LCDDSurveyVolume(SurveyVolume surveyVolume, org.lcsim.geometry.compact.converter.lcdd.util.Volume volume)
surveyVolume
- - core geometry definitionsvolume
- - given volumepublic LCDDSurveyVolume(SurveyVolume surveyVolume, org.lcsim.geometry.compact.converter.lcdd.util.LCDD lcdd, LCDDSurveyVolume mother)
surveyVolume
- - core geometry definitionlcdd
- - lcdd filemother
- - reference to mother LCDD definitionpublic 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 LCDDSurveyVolume getPhysMother()
public org.lcsim.geometry.compact.converter.lcdd.util.Volume getVolume()
public void setVolume(org.lcsim.geometry.compact.converter.lcdd.util.Volume volume)
public org.lcsim.geometry.compact.converter.lcdd.util.Box getBox()
public void setBox(org.lcsim.geometry.compact.converter.lcdd.util.Box b)
public org.lcsim.geometry.compact.converter.lcdd.util.Position getPos()
public void setPos(org.lcsim.geometry.compact.converter.lcdd.util.Position pos)
public org.lcsim.geometry.compact.converter.lcdd.util.Rotation getRot()
public void setRot(org.lcsim.geometry.compact.converter.lcdd.util.Rotation rot)
public LCDDSurveyVolume getMother()
public void setMother(LCDDSurveyVolume mother)
public org.lcsim.geometry.compact.converter.lcdd.util.PhysVol getPhysVolume()
public void setPhysVolume(org.lcsim.geometry.compact.converter.lcdd.util.PhysVol physVolume)
public List<LCDDSurveyVolume> getDaughters()
public void addDaughter(LCDDSurveyVolume o)
public String toString()
toString
in class SurveyVolumeImpl
Copyright © 2019. All rights reserved.