public abstract class HPSTrackerJavaBuilder extends Object implements IHPSTrackerJavaBuilder
Modifier and Type | Field and Description |
---|---|
HPSTrackerBuilder |
_builder |
protected boolean |
_debug |
protected org.lcsim.detector.IDetectorElement |
baseDetectorElement |
private JavaSurveyVolume |
baseSurveyVolume |
protected org.lcsim.detector.DetectorIdentifierHelper |
detectorIdentifierHelper |
protected org.lcsim.detector.identifier.IIdentifierDictionary |
identifierDictionary |
protected List<JavaSurveyVolume> |
javaSurveyVolumes |
protected List<org.lcsim.detector.IDetectorElement> |
layerDetectorElements |
protected List<org.lcsim.detector.IDetectorElement> |
moduleDetectorElements |
protected org.jdom.Element |
node |
protected org.lcsim.geometry.compact.Subdetector |
subdet |
Constructor and Description |
---|
HPSTrackerJavaBuilder(boolean debugFlag,
org.jdom.Element node) |
Modifier and Type | Method and Description |
---|---|
void |
add(JavaSurveyVolume geom)
Add to list of objects.
|
void |
addBaseDetectorElement(org.lcsim.detector.IDetectorElement e) |
void |
addLayerDetectorElement(org.lcsim.detector.IDetectorElement e) |
void |
addModuleDetectorElement(org.lcsim.detector.IDetectorElement e) |
void |
build() |
abstract void |
build(org.lcsim.detector.ILogicalVolume trackingVolume)
Build the JAVA geometry objects from the geometry definition.
|
abstract HPSTrackerGeometryDefinition |
createGeometryDefinition(boolean debug,
org.jdom.Element node) |
org.lcsim.detector.IDetectorElement |
getBaseDetectorElement() |
JavaSurveyVolume |
getBaseTrackerGeometry() |
org.lcsim.detector.DetectorIdentifierHelper |
getDetectorIdentifierHelper() |
org.lcsim.detector.identifier.IIdentifierDictionary |
getIdentifierDictionary() |
org.lcsim.detector.IDetectorElement |
getLayerDetectorElement(org.lcsim.detector.identifier.IExpandedIdentifier expId) |
org.lcsim.detector.tracker.silicon.SiTrackerModule |
getModuleDetectorElement(org.lcsim.detector.tracker.silicon.SiTrackerModule testElement) |
org.lcsim.geometry.compact.Subdetector |
getSubdetector() |
boolean |
isDebug() |
void |
setBaseTrackerGeometry(JavaSurveyVolume baseTrackerGeometry) |
void |
setBuilder(HPSTrackerBuilder b) |
void |
setDebug(boolean debug) |
void |
setDetectorIdentifierHelper(org.lcsim.detector.DetectorIdentifierHelper detectorIdentifierHelper) |
void |
setIdentifierDictionary(org.lcsim.detector.identifier.IIdentifierDictionary identifierDictionary) |
void |
setSubdetector(org.lcsim.geometry.compact.Subdetector subdet) |
protected boolean _debug
private JavaSurveyVolume baseSurveyVolume
protected List<JavaSurveyVolume> javaSurveyVolumes
protected org.lcsim.detector.DetectorIdentifierHelper detectorIdentifierHelper
protected org.lcsim.detector.identifier.IIdentifierDictionary identifierDictionary
protected org.lcsim.geometry.compact.Subdetector subdet
protected List<org.lcsim.detector.IDetectorElement> layerDetectorElements
protected List<org.lcsim.detector.IDetectorElement> moduleDetectorElements
protected org.lcsim.detector.IDetectorElement baseDetectorElement
public HPSTrackerBuilder _builder
protected org.jdom.Element node
public HPSTrackerJavaBuilder(boolean debugFlag, org.jdom.Element node)
public abstract void build(org.lcsim.detector.ILogicalVolume trackingVolume)
IHPSTrackerJavaBuilder
build
in interface IHPSTrackerJavaBuilder
trackingVolume
- - the reference volume.public abstract HPSTrackerGeometryDefinition createGeometryDefinition(boolean debug, org.jdom.Element node)
public void add(JavaSurveyVolume geom)
geom
- - object to add.public void setBuilder(HPSTrackerBuilder b)
public void build()
public void setDebug(boolean debug)
public boolean isDebug()
public org.lcsim.detector.DetectorIdentifierHelper getDetectorIdentifierHelper()
getDetectorIdentifierHelper
in interface IHPSTrackerJavaBuilder
public void setDetectorIdentifierHelper(org.lcsim.detector.DetectorIdentifierHelper detectorIdentifierHelper)
setDetectorIdentifierHelper
in interface IHPSTrackerJavaBuilder
public org.lcsim.detector.identifier.IIdentifierDictionary getIdentifierDictionary()
getIdentifierDictionary
in interface IHPSTrackerJavaBuilder
public void setIdentifierDictionary(org.lcsim.detector.identifier.IIdentifierDictionary identifierDictionary)
setIdentifierDictionary
in interface IHPSTrackerJavaBuilder
public void setSubdetector(org.lcsim.geometry.compact.Subdetector subdet)
setSubdetector
in interface IHPSTrackerJavaBuilder
public org.lcsim.geometry.compact.Subdetector getSubdetector()
getSubdetector
in interface IHPSTrackerJavaBuilder
public org.lcsim.detector.tracker.silicon.SiTrackerModule getModuleDetectorElement(org.lcsim.detector.tracker.silicon.SiTrackerModule testElement)
public org.lcsim.detector.IDetectorElement getLayerDetectorElement(org.lcsim.detector.identifier.IExpandedIdentifier expId)
public void addLayerDetectorElement(org.lcsim.detector.IDetectorElement e)
public void addBaseDetectorElement(org.lcsim.detector.IDetectorElement e)
public org.lcsim.detector.IDetectorElement getBaseDetectorElement()
public void addModuleDetectorElement(org.lcsim.detector.IDetectorElement e)
public JavaSurveyVolume getBaseTrackerGeometry()
public void setBaseTrackerGeometry(JavaSurveyVolume baseTrackerGeometry)
baseTrackerGeometry
- the baseTrackerGeometry to setCopyright © 2019. All rights reserved.