2from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
3from AthenaConfiguration.ComponentFactory
import CompFactory
4from LArG4HEC
import HECGeometryType
9 kwargs.setdefault(
"Birksk",0.0486)
10 return CompFactory.LArHECLocalCalculator(name, **kwargs)
14 return CompFactory.LArG4.HEC.LocalCalibrationCalculator(name, **kwargs)
18 return CompFactory.LArG4.HEC.LocalGeometry(name, **kwargs)
22 result = ComponentAccumulator()
23 kwargs.setdefault(
"GeometryCalculator", result.getPrimaryAndMerge(
HECGeometryCfg(flags)))
24 kwargs.setdefault(
"Birksk",0.0486)
25 result.addService(CompFactory.LArHECWheelCalculator(name, **kwargs), primary =
True)
30 result = ComponentAccumulator()
31 result.addService( CompFactory.LArG4.HEC.LArHECCalibrationWheelCalculator(name, **kwargs), primary =
True )
36 kwargs.setdefault(
"GeometryType", HECGeometryType.kWheelActive)
41 kwargs.setdefault(
"GeometryType", HECGeometryType.kWheelInactive)
46 kwargs.setdefault(
"GeometryType", HECGeometryType.kWheelDead)
51 result = ComponentAccumulator()
52 result.addService(CompFactory.LArG4.HEC.HECGeometry(name, **kwargs), primary =
True)
HECCalibrationWheelDeadCalculatorCfg(flags, name="HECCalibrationWheelDeadCalculator", **kwargs)
LArHECLocalCalculatorCfg(flags, name="LArHECLocalCalculator", **kwargs)
LocalCalibrationCalculatorCfg(flags, name="LocalCalibrationCalculator", **kwargs)
LocalHECGeometry(name="LocalHECGeometry", **kwargs)
HECWheelCalculatorCfg(flags, name="HECWheelCalculator", **kwargs)
LArHECCalibrationWheelCalculatorCfg(flags, name="LArHECCalibrationWheelCalculator", **kwargs)
HECGeometryCfg(flags, name="HECGeometry", **kwargs)
HECCalibrationWheelActiveCalculatorCfg(flags, name="HECCalibrationWheelActiveCalculator", **kwargs)
HECCalibrationWheelInactiveCalculatorCfg(flags, name="HECCalibrationWheelInactiveCalculator", **kwargs)