public class DetectorConverter extends Object implements IDetectorConverter
Modifier and Type | Field and Description |
---|---|
(package private) MaterialElementConverter |
elemCnv |
(package private) MaterialMixtureConverter |
matCnv |
(package private) MaterialsConverter |
materialCnv |
(package private) ParametersConverter |
paramCnv |
(package private) Map<Class,ISubdetectorConverter> |
subdetectorConverters |
(package private) DetectorIdentifierHelper.SystemMap |
sysMap |
Constructor and Description |
---|
DetectorConverter() |
Modifier and Type | Method and Description |
---|---|
private void |
addSubdetectorConverter(ISubdetectorConverter s) |
private void |
buildTrackingVolume(ILogicalVolume world,
Detector detector) |
private IPhysicalVolume |
buildWorldVolume(Detector detector) |
IPhysicalVolume |
convert(Detector detector,
org.jdom.Document doc) |
IPhysicalVolume |
convert(Detector detector,
String resource) |
private void |
convertMaterials(org.jdom.Document doc) |
private void |
convertMaterials(String resource) |
private void |
convertSubdetectors(Detector detector) |
private ISubdetectorConverter |
getSubdetectorConverter(Class klass) |
static DetectorIdentifierHelper.SystemMap |
makeSystemMap(Detector d) |
void |
registerSubdetectorConverters() |
Map<Class,ISubdetectorConverter> subdetectorConverters
ParametersConverter paramCnv
MaterialsConverter materialCnv
MaterialElementConverter elemCnv
MaterialMixtureConverter matCnv
DetectorIdentifierHelper.SystemMap sysMap
public IPhysicalVolume convert(Detector detector, org.jdom.Document doc) throws org.jdom.JDOMException, IOException
convert
in interface IDetectorConverter
org.jdom.JDOMException
IOException
public void registerSubdetectorConverters()
private void addSubdetectorConverter(ISubdetectorConverter s)
private ISubdetectorConverter getSubdetectorConverter(Class klass)
public IPhysicalVolume convert(Detector detector, String resource) throws org.jdom.JDOMException, IOException
org.jdom.JDOMException
IOException
private void convertMaterials(org.jdom.Document doc) throws org.jdom.JDOMException
org.jdom.JDOMException
private void convertMaterials(String resource) throws org.jdom.JDOMException, IOException
org.jdom.JDOMException
IOException
private void convertSubdetectors(Detector detector)
private void buildTrackingVolume(ILogicalVolume world, Detector detector)
private IPhysicalVolume buildWorldVolume(Detector detector)
public static final DetectorIdentifierHelper.SystemMap makeSystemMap(Detector d)
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.