public class Detector extends Detector implements HepRepProvider
Modifier and Type | Field and Description |
---|---|
private Map<Calorimeter.CalorimeterType,Calorimeter> |
calTypeMap |
private FieldOverlay |
fieldOverlay |
Modifier | Constructor and Description |
---|---|
protected |
Detector(org.jdom.Element node) |
Modifier and Type | Method and Description |
---|---|
protected void |
addField(Field field) |
protected void |
addReadout(Readout r)
Called by the reader to add a new Readout to this detector.
|
protected void |
addSubdetector(Subdetector sub)
Called by the reader to add a sub-detector to this detector.
|
void |
appendHepRep(HepRepFactory factory,
HepRep heprep) |
Calorimeter |
getCalorimeterByType(Calorimeter.CalorimeterType calType) |
IDDecoder |
getDecoder(String readout) |
FieldMap |
getFieldMap() |
String |
getName() |
private void |
setupIDDecoder(Subdetector subdet) |
addConstant, addGDMLReference, addLimitSet, addMatrix, addRegion, addVisAttributes, 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
private FieldOverlay fieldOverlay
private Map<Calorimeter.CalorimeterType,Calorimeter> calTypeMap
protected void addSubdetector(Subdetector sub)
Detector
addSubdetector
in class Detector
sub
- The sub-detector to add.private void setupIDDecoder(Subdetector subdet)
protected void addReadout(Readout r)
Detector
addReadout
in class Detector
r
- The readout to add.public FieldMap getFieldMap()
public Calorimeter getCalorimeterByType(Calorimeter.CalorimeterType calType)
getCalorimeterByType
in class Detector
public void appendHepRep(HepRepFactory factory, HepRep heprep)
appendHepRep
in interface HepRepProvider
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.