2 from AthenaConfiguration.AccumulatorCache
import AccumulatorCache
3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
5 from IOVDbSvc.IOVDbSvcConfig
import addFoldersSplitOnline
10 """Return a ComponentAccumulator for TRT_CalDbTool"""
11 from IOVDbSvc.IOVDbSvcConfig
import addFoldersSplitOnline
14 acc.merge(
addFoldersSplitOnline(flags,
"TRT",
"/TRT/Onl/Calib/RT",
"/TRT/Calib/RT", className=
"TRTCond::RtRelationMultChanContainer"))
15 acc.merge(
addFoldersSplitOnline(flags,
"TRT",
"/TRT/Onl/Calib/T0",
"/TRT/Calib/T0", className=
'TRTCond::StrawT0MultChanContainer'))
16 acc.merge(
addFoldersSplitOnline(flags,
"TRT",
"/TRT/Onl/Calib/errors2d",
"/TRT/Calib/errors2d", className=
"TRTCond::RtRelationMultChanContainer"))
17 acc.merge(
addFoldersSplitOnline(flags,
"TRT",
"/TRT/Onl/Calib/slopes",
"/TRT/Calib/slopes", className=
'TRTCond::RtRelationMultChanContainer'))
19 acc.setPrivateTools(CompFactory.TRT_CalDbTool(name, **kwags))
24 """Return a ComponentAccumulator for TRT_StrawStatusSummaryTool"""
27 if flags.GeoModel.Align.LegacyConditionsAccess:
33 from TRT_ConditionsAlgs.TRT_ConditionsAlgsConfig
import TRTStrawStatusCondAlgCfg
37 kwargs.setdefault(
"isGEANT4", flags.GeoModel.Align.LegacyConditionsAccess
or forceLegacyAccess)
39 acc.setPrivateTools(CompFactory.TRT_StrawStatusSummaryTool(name, **kwargs))
44 acc.addService(CompFactory.TRT_StrawNeighbourSvc(name, **kwargs), primary=
True)
49 """Return a ComponentAccumulator for TRT_CalDbTool configured for MC in case of data overlay."""
51 kwargs.setdefault(
"RtFolderName",
"/TRT/Calib/MC/RT")
52 kwargs.setdefault(
"T0FolderName",
"/TRT/Calib/MC/T0")