7 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
8 from AthenaConfiguration.ComponentFactory
import CompFactory
9 from AthenaConfiguration.Enums
import ProductionStep
12 CaloBCIDAvgAlg=CompFactory.CaloBCIDAvgAlg
16 from LArRecUtils.LArRecUtilsConfig
import LArMCSymCondAlgCfg
17 result.merge (LArMCSymCondAlgCfg (flags))
19 from CaloRec.CaloBCIDLumiCondAlgConfig
import CaloBCIDLumiCondAlgCfg
20 result.merge (CaloBCIDLumiCondAlgCfg (flags))
21 if flags.Common.ProductionStep
is ProductionStep.PileUpPretracking:
22 kwargs.setdefault(
"EventInfoKey", flags.Overlay.BkgPrefix +
"EventInfo")
28 if __name__ ==
"__main__":
29 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
30 from AthenaConfiguration.TestDefaults
import defaultGeometryTags
32 only = [
'CaloBCIDAvgAlg',
33 'CaloBCIDCoeffsCondAlg',
34 'CaloBCIDLumiCondAlg',
37 'LArPileUpAvgSymCondAlg',
38 'LArPileUpShapeSymCondAlg',
41 'LArAutoCorrTotalCondAlg-',
42 'BunchCrossingCondAlg',
46 flags1.Input.Files = []
47 flags1.GeoModel.AtlasVersion = defaultGeometryTags.RUN2
49 acc1 = CaloBCIDAvgAlgCfg (flags1)
50 acc1.printConfig(summariseProps=
True, onlyComponents=only)
55 flags2.Input.Files = []
56 flags2.Input.isMC =
True
57 flags2.GeoModel.AtlasVersion = defaultGeometryTags.RUN2
59 acc2 = CaloBCIDAvgAlgCfg (flags2)
60 acc2.printConfig(summariseProps=
True, onlyComponents=only)
65 flags3.Input.Files = []
66 flags3.Common.isOnline =
True
67 flags3.GeoModel.AtlasVersion = defaultGeometryTags.RUN2
69 acc3 = CaloBCIDAvgAlgCfg (flags3)
70 acc3.printConfig(summariseProps=
True, onlyComponents=only)