public class HPSEcal3Converter
extends org.lcsim.detector.converter.compact.AbstractSubdetectorConverter
Modifier and Type | Field and Description |
---|---|
private static double |
crystalToleranceX |
private static double |
crystalToleranceY |
private org.lcsim.detector.identifier.IIdentifierDictionary |
dict |
private org.lcsim.detector.identifier.IIdentifierHelper |
helper |
private static Logger |
LOGGER |
private List<CrystalRange> |
ranges |
private static double |
tolerance |
Constructor and Description |
---|
HPSEcal3Converter() |
Modifier and Type | Method and Description |
---|---|
private boolean |
checkRange(int ix,
int iy,
List<CrystalRange> ranges) |
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 static final double crystalToleranceX
private static final double crystalToleranceY
private static final double tolerance
private org.lcsim.detector.identifier.IIdentifierDictionary dict
private org.lcsim.detector.identifier.IIdentifierHelper helper
private List<CrystalRange> ranges
private boolean checkRange(int ix, int iy, List<CrystalRange> ranges)
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 subdetector.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.