class LCDDDetector extends Detector
Modifier and Type | Class and Description |
---|---|
private static class |
LCDDDetector.NullOutputStream |
Modifier and Type | Field and Description |
---|---|
private long |
checksum |
private org.jdom.Element |
compact |
Constructor and Description |
---|
LCDDDetector(org.jdom.Element node) |
Modifier and Type | Method and Description |
---|---|
private long |
calculateChecksum(org.jdom.Element top) |
private long |
getChecksum() |
String |
getName() |
private String |
getVersion() |
private void |
setupIdSpec(LCDD lcdd,
Map<Readout,IDSpec> idMap,
Readout readout) |
private void |
setupMaterials(LCDD lcdd) |
private void |
writeFields(LCDD lcdd) |
private void |
writeGDMLRefs(LCDD lcdd) |
(package private) org.jdom.Document |
writeLCDD(String filename) |
private void |
writeLimits(LCDD lcdd) |
private void |
writeMatrices(LCDD lcdd) |
private Map<Readout,IDSpec> |
writeReadouts(LCDD lcdd) |
private void |
writeRegions(LCDD lcdd) |
private void |
writeSubdetectors(LCDD lcdd,
Map<Readout,IDSpec> idMap) |
private void |
writeVisAttribs(LCDD lcdd) |
addConstant, addField, addGDMLReference, addLimitSet, addMatrix, addReadout, addRegion, addSubdetector, addVisAttributes, getCalorimeterByType, getConstants, getDetectorElement, getDetectorName, getFields, getGDMLReferences, getHeader, getLimits, getLimitSet, getMaterialManager, getMatrices, getMatrix, getNavigator, getReadout, getReadouts, getRegion, getRegions, getSubdetector, getSubdetector, getSubdetectorList, getSubdetectorNames, getSubdetectors, getTrackingVolume, getVisAttributes, getWorldVolume, getXMLMaterialManager, setDetectorElement, setHeader, setWorldVolume, setXMLMaterialManager
org.jdom.Document writeLCDD(String filename) throws IOException, org.jdom.JDOMException
IOException
org.jdom.JDOMException
private void writeGDMLRefs(LCDD lcdd) throws IOException, FileNotFoundException
IOException
FileNotFoundException
private void writeFields(LCDD lcdd) throws org.jdom.JDOMException
org.jdom.JDOMException
private void writeSubdetectors(LCDD lcdd, Map<Readout,IDSpec> idMap) throws org.jdom.JDOMException
org.jdom.JDOMException
private void writeVisAttribs(LCDD lcdd)
private void writeLimits(LCDD lcdd)
private void writeRegions(LCDD lcdd)
private void writeMatrices(LCDD lcdd)
private void setupMaterials(LCDD lcdd) throws org.jdom.JDOMException
org.jdom.JDOMException
private String getVersion()
private long getChecksum()
private long calculateChecksum(org.jdom.Element top) throws IOException
IOException
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.