public class HPSEcal4Converter
extends org.lcsim.detector.converter.compact.AbstractSubdetectorConverter
Modifier and Type | Field and Description |
---|---|
private org.lcsim.detector.identifier.IIdentifierDictionary |
dict |
private org.lcsim.detector.identifier.IIdentifierHelper |
helper |
private static Logger |
LOGGER |
Constructor and Description |
---|
HPSEcal4Converter() |
Modifier and Type | Method and Description |
---|---|
void |
convert(org.lcsim.geometry.compact.Subdetector subdet,
org.lcsim.geometry.compact.Detector detector) |
private void |
createDetectorElement(org.lcsim.geometry.compact.Detector detector,
org.lcsim.geometry.compact.Subdetector subdet,
org.lcsim.detector.IPhysicalVolume crystal,
int ix,
int iy)
Create a DetectorElement for an ECal crystal.
|
Class |
getSubdetectorType() |
org.lcsim.detector.IDetectorElement |
makeSubdetectorDetectorElement(org.lcsim.geometry.compact.Detector detector,
org.lcsim.geometry.compact.Subdetector subdetector) |
private static Logger LOGGER
private org.lcsim.detector.identifier.IIdentifierDictionary dict
private org.lcsim.detector.identifier.IIdentifierHelper helper
public void convert(org.lcsim.geometry.compact.Subdetector subdet, org.lcsim.geometry.compact.Detector detector)
convert
in interface org.lcsim.detector.converter.compact.ISubdetectorConverter
convert
in class org.lcsim.detector.converter.compact.AbstractSubdetectorConverter
private final void createDetectorElement(org.lcsim.geometry.compact.Detector detector, org.lcsim.geometry.compact.Subdetector subdet, org.lcsim.detector.IPhysicalVolume crystal, int ix, int iy)
detector
- The full detector.subdet
- The sub detector.crystal
- The crystal physical volume.ix
- The value of the ix field.iy
- The value of the iy field.public Class getSubdetectorType()
getSubdetectorType
in interface org.lcsim.detector.converter.compact.ISubdetectorConverter
getSubdetectorType
in class org.lcsim.detector.converter.compact.AbstractSubdetectorConverter
public org.lcsim.detector.IDetectorElement makeSubdetectorDetectorElement(org.lcsim.geometry.compact.Detector detector, org.lcsim.geometry.compact.Subdetector subdetector)
makeSubdetectorDetectorElement
in interface org.lcsim.detector.converter.compact.ISubdetectorConverter
makeSubdetectorDetectorElement
in class org.lcsim.detector.converter.compact.AbstractSubdetectorConverter
Copyright © 2019. All rights reserved.