public abstract class HPSTracker2014Base
extends org.lcsim.geometry.compact.converter.lcdd.LCDDSubdetector
Modifier and Type | Field and Description |
---|---|
protected boolean |
_debug |
private double |
beamPlaneLength |
private double |
beamPlaneThickness |
private double |
beamPlaneWidth |
private boolean |
buildBeamPlane |
protected static HPSTrackerLCDDBuilder |
builder |
private String |
inactiveSiReadoutName |
private org.lcsim.geometry.compact.converter.lcdd.util.Tracker |
inactiveSiTracker |
Constructor and Description |
---|
HPSTracker2014Base(org.jdom.Element c) |
Modifier and Type | Method and Description |
---|---|
void |
addToLCDD(org.lcsim.geometry.compact.converter.lcdd.util.LCDD lcdd,
org.lcsim.geometry.compact.converter.lcdd.util.SensitiveDetector sens)
Build the LCDD for the subdetector.
|
protected abstract int |
getModuleNumber(String surveyVolume) |
protected abstract HPSTrackerLCDDBuilder |
initializeBuilder(org.lcsim.geometry.compact.converter.lcdd.util.LCDD lcdd,
org.lcsim.geometry.compact.converter.lcdd.util.SensitiveDetector sens)
Set the @HPSTrackerLCDDBuilder for this converter.
|
boolean |
isTracker() |
protected void |
makeBeamPlane(org.lcsim.geometry.compact.converter.lcdd.util.Volume motherVolume,
Hep3Vector ball_pos_base_plate,
Hep3Vector vee_pos_base_plate,
Hep3Vector flat_pos_base_plate,
org.lcsim.geometry.compact.converter.lcdd.util.LCDD lcdd,
org.lcsim.geometry.compact.converter.lcdd.util.SensitiveDetector sens) |
protected void |
makeBeamPlane(org.lcsim.geometry.compact.converter.lcdd.util.Volume motherVolume,
org.lcsim.geometry.compact.converter.lcdd.util.LCDD lcdd,
org.lcsim.geometry.compact.converter.lcdd.util.SensitiveDetector sens) |
private void |
setActiveSensorPhysicalVolumeProperties(LCDDSurveyVolume surveyVolume,
org.lcsim.geometry.compact.converter.lcdd.util.SensitiveDetector sd) |
private void |
setHalfModulePhysicalVolumeProperties(LCDDSurveyVolume surveyVolume) |
void |
setInactiveSiReadoutName(String inactiveSiReadoutName) |
private void |
setPhysicalVolumeProperties(LCDDSurveyVolume surveyVolume,
org.lcsim.geometry.compact.converter.lcdd.util.SensitiveDetector sd)
Set properties of the physical volume.
|
private void |
setSensorPhysicalVolumeProperties(LCDDSurveyVolume surveyVolume) |
protected void |
setupPhysicalVolumes()
Top function to add objects to the LCDD file using the geometry builder class.
|
private void |
setupPhysicalVolumes(LCDDSurveyVolume lcddObj,
org.lcsim.geometry.compact.converter.lcdd.util.LCDD lcdd,
org.lcsim.geometry.compact.converter.lcdd.util.SensitiveDetector sd)
Add a @LCDDBaseGeom geometry object to the LCDD file.
|
getElement, setAttributes, setCombineHits, setLimitSet, setRegion, setVisAttributes
getDetectorElement, getDigiHitsCollectionName, getHitsCollectionName, getIDDecoder, getLayering, getName, getNode, getReadout, getReflect, getSystemID, getVisAttributes, isBarrel, isCalorimeter, isEndcap, isInsideTrackingVolume, isLayered, setDetectorElement, setDigiHitsCollectionName, setReadout, setVisAttributes, transformLocalToGlobal
protected boolean _debug
protected static HPSTrackerLCDDBuilder builder
private final boolean buildBeamPlane
private final double beamPlaneWidth
private final double beamPlaneLength
private final double beamPlaneThickness
private String inactiveSiReadoutName
private org.lcsim.geometry.compact.converter.lcdd.util.Tracker inactiveSiTracker
public HPSTracker2014Base(org.jdom.Element c) throws org.jdom.JDOMException
org.jdom.JDOMException
public void setInactiveSiReadoutName(String inactiveSiReadoutName)
protected abstract HPSTrackerLCDDBuilder initializeBuilder(org.lcsim.geometry.compact.converter.lcdd.util.LCDD lcdd, org.lcsim.geometry.compact.converter.lcdd.util.SensitiveDetector sens)
lcdd
- sens
- public boolean isTracker()
isTracker
in interface org.lcsim.geometry.Subdetector
isTracker
in class org.lcsim.geometry.compact.Subdetector
public void addToLCDD(org.lcsim.geometry.compact.converter.lcdd.util.LCDD lcdd, org.lcsim.geometry.compact.converter.lcdd.util.SensitiveDetector sens) throws org.jdom.JDOMException
addToLCDD
in class org.lcsim.geometry.compact.converter.lcdd.LCDDSubdetector
lcdd
- - the LCDD file being created.sens
- - the SD for this subdetector.org.jdom.JDOMException
protected void setupPhysicalVolumes()
private void setupPhysicalVolumes(LCDDSurveyVolume lcddObj, org.lcsim.geometry.compact.converter.lcdd.util.LCDD lcdd, org.lcsim.geometry.compact.converter.lcdd.util.SensitiveDetector sd)
lcddObj
- to addlcdd
- fileprivate void setPhysicalVolumeProperties(LCDDSurveyVolume surveyVolume, org.lcsim.geometry.compact.converter.lcdd.util.SensitiveDetector sd) throws org.jdom.DataConversionException
surveyVolume
- org.jdom.DataConversionException
private void setSensorPhysicalVolumeProperties(LCDDSurveyVolume surveyVolume)
private void setActiveSensorPhysicalVolumeProperties(LCDDSurveyVolume surveyVolume, org.lcsim.geometry.compact.converter.lcdd.util.SensitiveDetector sd)
protected abstract int getModuleNumber(String surveyVolume)
private void setHalfModulePhysicalVolumeProperties(LCDDSurveyVolume surveyVolume) throws org.jdom.DataConversionException
org.jdom.DataConversionException
protected void makeBeamPlane(org.lcsim.geometry.compact.converter.lcdd.util.Volume motherVolume, org.lcsim.geometry.compact.converter.lcdd.util.LCDD lcdd, org.lcsim.geometry.compact.converter.lcdd.util.SensitiveDetector sens) throws org.jdom.JDOMException
org.jdom.JDOMException
protected void makeBeamPlane(org.lcsim.geometry.compact.converter.lcdd.util.Volume motherVolume, Hep3Vector ball_pos_base_plate, Hep3Vector vee_pos_base_plate, Hep3Vector flat_pos_base_plate, org.lcsim.geometry.compact.converter.lcdd.util.LCDD lcdd, org.lcsim.geometry.compact.converter.lcdd.util.SensitiveDetector sens) throws org.jdom.JDOMException
org.jdom.JDOMException
Copyright © 2019. All rights reserved.