public class SurveyResult extends Object
Modifier and Type | Field and Description |
---|---|
(package private) String |
desc |
(package private) String |
name |
private Hep3Vector |
origin |
private Hep3Vector |
x |
private Hep3Vector |
y |
private Hep3Vector |
z |
Constructor and Description |
---|
SurveyResult(String name,
org.jdom.Element node) |
Modifier and Type | Method and Description |
---|---|
private org.jdom.Element |
findResultFromDetector(org.jdom.Element detectorNode) |
static SurveyResult |
findResultFromDetector(org.jdom.Element detectorNode,
String name) |
String |
getDesc() |
String |
getName() |
Hep3Vector |
getOrigin() |
org.apache.commons.math3.geometry.euclidean.threed.Rotation |
getRotationFrom(SurveyCoordinateSystem coord) |
org.lcsim.detector.Transform3D |
getTransformation() |
org.lcsim.detector.Translation3D |
getTranslationFrom(SurveyCoordinateSystem coord) |
private Hep3Vector |
getUnit(org.jdom.Element e) |
Hep3Vector |
getX() |
Hep3Vector |
getY() |
Hep3Vector |
getZ() |
private void |
initFromDetectorXmlNode(org.jdom.Element detectorNode) |
void |
rotate(org.lcsim.detector.IRotation3D r) |
void |
rotate(org.apache.commons.math3.geometry.euclidean.threed.Rotation rot) |
void |
rotateOrigin(org.apache.commons.math3.geometry.euclidean.threed.Rotation rot) |
void |
rotateUnitVectors(org.apache.commons.math3.geometry.euclidean.threed.Rotation rot) |
void |
setDesc(String desc) |
void |
setName(String name) |
protected void |
setOrigin(Hep3Vector unit) |
private void |
setResults(org.jdom.Element element) |
protected void |
setX(Hep3Vector unit) |
protected void |
setY(Hep3Vector unit) |
protected void |
setZ(Hep3Vector unit) |
String |
toString() |
void |
transform(org.lcsim.detector.Transform3D t) |
String name
String desc
private Hep3Vector origin
private Hep3Vector x
private Hep3Vector y
private Hep3Vector z
public SurveyResult(String name, org.jdom.Element node)
private final void initFromDetectorXmlNode(org.jdom.Element detectorNode)
public String getDesc()
private void setResults(org.jdom.Element element) throws org.jdom.DataConversionException
org.jdom.DataConversionException
public void setDesc(String desc)
public static SurveyResult findResultFromDetector(org.jdom.Element detectorNode, String name)
private org.jdom.Element findResultFromDetector(org.jdom.Element detectorNode)
public String getName()
public void setName(String name)
public Hep3Vector getX()
public Hep3Vector getY()
public Hep3Vector getZ()
public Hep3Vector getOrigin()
protected void setX(Hep3Vector unit)
protected void setY(Hep3Vector unit)
protected void setZ(Hep3Vector unit)
protected void setOrigin(Hep3Vector unit)
private Hep3Vector getUnit(org.jdom.Element e) throws org.jdom.DataConversionException
org.jdom.DataConversionException
public void rotate(org.apache.commons.math3.geometry.euclidean.threed.Rotation rot)
public void rotateOrigin(org.apache.commons.math3.geometry.euclidean.threed.Rotation rot)
public void rotateUnitVectors(org.apache.commons.math3.geometry.euclidean.threed.Rotation rot)
public org.apache.commons.math3.geometry.euclidean.threed.Rotation getRotationFrom(SurveyCoordinateSystem coord)
public org.lcsim.detector.Translation3D getTranslationFrom(SurveyCoordinateSystem coord)
public org.lcsim.detector.Transform3D getTransformation()
public void transform(org.lcsim.detector.Transform3D t)
public void rotate(org.lcsim.detector.IRotation3D r)
Copyright © 2019. All rights reserved.