38def WriteConstCfg(flags, name = "WriteConst", **kwargs):
39 cfg = ComponentAccumulator()
40
41 objectList = [
42 "CondAttrListCollection#/Indet/AlignL1/ID",
43 "CondAttrListCollection#/Indet/AlignL2/PIX",
44 "CondAttrListCollection#/Indet/AlignL2/SCT",
45 "AlignableTransformContainer#/Indet/AlignL3",
46 "CondAttrListCollection#/TRT/AlignL1/TRT",
47 "AlignableTransformContainer#/TRT/AlignL2",
48
49
50 "CondAttrListCollection#/Indet/IBLDist"
51 ]
52
53 tagList = [
54 "InDetAlignL1-T0-Alignment",
55 "InDetAlignL2PIX-T0-Alignment",
56 "InDetAlignL2SCT-T0-Alignment",
57 "InDetAlignL3-T0-Alignment",
58 "InDetAlignL1TRT-T0-Alignment",
59 "InDetAlignL2TRT-T0-Alignment",
60
61
62 "InDetAlignIBLDIST-T0-Alignment"
63 ]
64
65 from RegistrationServices.OutputConditionsAlgConfig import OutputConditionsAlgCfg
66 cfg.merge(OutputConditionsAlgCfg(
67 flags,
68 outputFile = flags.InDet.Align.outputConditionFile,
69 ObjectList = objectList, IOVTagList = tagList, WriteIOV = True))
70
71 return cfg
72