ATLAS Offline Software
Loading...
Searching...
No Matches
LArG4BarrelConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
3from AthenaConfiguration.ComponentFactory import CompFactory
4
5
6def BarrelCryostatCalibrationCalculatorCfg(flags, name="BarrelCryostatCalibrationCalculator", **kwargs):
7 result = ComponentAccumulator()
8 result.addService( CompFactory.LArG4.BarrelCryostat.CalibrationCalculator(name, **kwargs), primary=True )
9 return result
10
11
12def BarrelCryostatCalibrationLArCalculatorCfg(flags, name="BarrelCryostatCalibrationLArCalculator", **kwargs):
13 result = ComponentAccumulator()
14 result.addService( CompFactory.LArG4.BarrelCryostat.CalibrationLArCalculator(name, **kwargs), primary=True )
15 return result
16
17
18def BarrelCryostatCalibrationMixedCalculatorCfg(flags, name="BarrelCryostatCalibrationMixedCalculator", **kwargs):
19 result = ComponentAccumulator()
20 result.addService( CompFactory.LArG4.BarrelCryostat.CalibrationMixedCalculator(name, **kwargs), primary=True )
21 return result
22
23
24def DMCalibrationCalculatorCfg(flags, name="DMCalibrationCalculator", **kwargs):
25 result = ComponentAccumulator()
26 result.addService( CompFactory.LArG4.DM.CalibrationCalculator(name, **kwargs), primary=True )
27 return result
28
29
30def BarrelCalibrationCalculatorCfg(flags, name="BarrelCalibrationCalculator", **kwargs):
31 result = ComponentAccumulator()
32 result.addService( CompFactory.LArG4.Barrel.CalibrationCalculator(name, **kwargs), primary=True )
33 return result
34
35
36def BarrelPresamplerCalibrationCalculatorCfg(flags, name="BarrelPresamplerCalibrationCalculator", **kwargs):
37 result = ComponentAccumulator()
38 result.addService( CompFactory.LArG4.BarrelPresampler.CalibrationCalculator(name, **kwargs), primary=True )
39 return result
40
41
42def EMBCalculatorCfg(flags, name="EMBCalculator", **kwargs):
43 result = ComponentAccumulator()
44 kwargs.setdefault("GeometryCalculator", result.getPrimaryAndMerge(LArBarrelGeometryCfg(flags)))
45 result.addService(CompFactory.LArBarrelCalculator(name, **kwargs), primary=True)
46 return result
47
48
49def EMBPresamplerCalculatorCfg(flags, name="EMBPresamplerCalculator", **kwargs):
50 result = ComponentAccumulator()
51 kwargs.setdefault("GeometryCalculator", result.getPrimaryAndMerge(LArBarrelPresamplerGeometryCfg(flags)))
52
53 result.addService(CompFactory.LArBarrelPresamplerCalculator(name, **kwargs), primary=True)
54 return result
55
56
57def LArBarrelGeometryCfg(flags, name="LArBarrelGeometry", **kwargs):
58 result = ComponentAccumulator()
59 result.addService(CompFactory.LArG4.Barrel.Geometry(name, **kwargs), primary=True)
60 return result
61
62
63def LArBarrelPresamplerGeometryCfg(flags, name="LArBarrelPresamplerGeometry", **kwargs):
64 result = ComponentAccumulator()
65 result.addService(CompFactory.LArG4.BarrelPresampler.Geometry(name, **kwargs), primary=True)
66 return result
BarrelPresamplerCalibrationCalculatorCfg(flags, name="BarrelPresamplerCalibrationCalculator", **kwargs)
LArBarrelPresamplerGeometryCfg(flags, name="LArBarrelPresamplerGeometry", **kwargs)
BarrelCryostatCalibrationCalculatorCfg(flags, name="BarrelCryostatCalibrationCalculator", **kwargs)
EMBPresamplerCalculatorCfg(flags, name="EMBPresamplerCalculator", **kwargs)
LArBarrelGeometryCfg(flags, name="LArBarrelGeometry", **kwargs)
BarrelCryostatCalibrationLArCalculatorCfg(flags, name="BarrelCryostatCalibrationLArCalculator", **kwargs)
EMBCalculatorCfg(flags, name="EMBCalculator", **kwargs)
DMCalibrationCalculatorCfg(flags, name="DMCalibrationCalculator", **kwargs)
BarrelCalibrationCalculatorCfg(flags, name="BarrelCalibrationCalculator", **kwargs)
BarrelCryostatCalibrationMixedCalculatorCfg(flags, name="BarrelCryostatCalibrationMixedCalculator", **kwargs)