3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
8 from SGComps.AddressRemappingConfig
import InputRenameCfg
9 result.merge(
InputRenameCfg(
"McEventCollection",
"TruthEvent",
"TruthEventOLD"))
11 if flags.Detector.EnableID
or flags.Detector.EnableITk:
12 if flags.Detector.EnableBCM:
13 result.merge(
InputRenameCfg(
"SiHitCollection",
"BCMHits",
"BCMHitsOLD"))
14 result.merge(
InputRenameCfg(
"SiHitCollection",
"BLMHits",
"BLMHitsOLD"))
15 if flags.Detector.EnablePixel:
16 result.merge(
InputRenameCfg(
"SiHitCollection",
"PixelHits",
"PixelHitsOLD"))
17 if flags.Detector.EnableSCT:
18 result.merge(
InputRenameCfg(
"SiHitCollection",
"SCT_Hits",
"SCT_HitsOLD"))
19 if flags.Detector.EnableTRT:
20 result.merge(
InputRenameCfg(
"TRTUncompressedHitCollection",
"TRTUncompressedHits",
"TRTUncompressedHitsOLD"))
21 if flags.Detector.EnableBCMPrime:
22 result.merge(
InputRenameCfg(
"SiHitCollection",
"BCMPrimeHits",
"BCMPrimeHitsOLD"))
23 if flags.Detector.EnableITkPixel:
24 result.merge(
InputRenameCfg(
"SiHitCollection",
"ITkPixelHits",
"ITkPixelHitsOLD"))
25 if flags.Detector.EnableITkStrip:
26 result.merge(
InputRenameCfg(
"SiHitCollection",
"ITkStripHits",
"ITkStripHitsOLD"))
27 if flags.Detector.EnableHGTD:
28 result.merge(
InputRenameCfg(
"SiHitCollection",
"HGTD_Hits",
"HGTD_HitsOLD"))
29 result.merge(
InputRenameCfg(
"TrackRecordCollection",
"CaloEntryLayer",
"CaloEntryLayerOLD"))
31 if flags.Detector.EnableCalo:
32 if flags.Detector.EnableLAr:
33 result.merge(
InputRenameCfg(
"LArHitContainer",
"LArHitEMB",
"LArHitEMBOLD"))
34 result.merge(
InputRenameCfg(
"LArHitContainer",
"LArHitEMEC",
"LArHitEMECOLD"))
35 result.merge(
InputRenameCfg(
"LArHitContainer",
"LArHitFCAL",
"LArHitFCALOLD"))
36 result.merge(
InputRenameCfg(
"LArHitContainer",
"LArHitHEC",
"LArHitHECOLD"))
37 result.merge(
InputRenameCfg(
"LArHitContainer",
"LArHitMiniFCAL",
"LArHitMiniFCALOLD"))
38 result.merge(
InputRenameCfg(
"CaloCalibrationHitContainer",
"LArCalibrationHitActive",
"LArCalibrationHitActiveOLD"))
39 result.merge(
InputRenameCfg(
"CaloCalibrationHitContainer",
"LArCalibrationHitDeadMaterial",
"LArCalibrationHitDeadMaterialOLD"))
40 result.merge(
InputRenameCfg(
"CaloCalibrationHitContainer",
"LArCalibrationHitInactive",
"LArCalibrationHitInactiveOLD"))
41 if flags.Detector.EnableTile:
42 result.merge(
InputRenameCfg(
"TileHitVector",
"TileHitVec",
"TileHitVecOLD"))
43 result.merge(
InputRenameCfg(
"CaloCalibrationHitContainer",
"TileCalibHitActiveCell",
"TileCalibHitActiveCellOLD"))
44 result.merge(
InputRenameCfg(
"CaloCalibrationHitContainer",
"TileCalibHitInactiveCell",
"TileCalibHitInactiveCellOLD"))
45 result.merge(
InputRenameCfg(
"CaloCalibrationHitContainer",
"TileCalibHitDeadMaterial",
"TileCalibHitDeadMaterialOLD"))
46 if flags.Detector.EnableMBTS:
47 result.merge(
InputRenameCfg(
"TileHitVector",
"MBTSHits",
"MBTSHitsOLD"))
48 result.merge(
InputRenameCfg(
"TrackRecordCollection",
"MuonEntryLayer",
"MuonEntryLayerOLD"))
50 if flags.Detector.EnableMuon:
51 if flags.Detector.EnableCSC:
52 result.merge(
InputRenameCfg(
"CSCSimHitCollection",
"CSC_Hits",
"CSC_HitsOLD"))
53 if flags.Detector.EnableMDT:
54 result.merge(
InputRenameCfg(
"MDTSimHitCollection",
"MDT_Hits",
"MDT_HitsOLD"))
55 if flags.Detector.EnableRPC:
56 result.merge(
InputRenameCfg(
"RPCSimHitCollection",
"RPC_Hits",
"RPC_HitsOLD"))
57 if flags.Detector.EnableTGC:
58 result.merge(
InputRenameCfg(
"TGCSimHitCollection",
"TGC_Hits",
"TGC_HitsOLD"))
59 if flags.Detector.EnablesTGC:
60 result.merge(
InputRenameCfg(
"sTGCSimHitCollection",
"sTGC_Hits",
"sTGC_HitsOLD"))
61 if flags.Detector.EnableMM:
62 result.merge(
InputRenameCfg(
"MMSimHitCollection",
"MM_Hits",
"MM_HitsOLD"))
63 result.merge(
InputRenameCfg(
"TrackRecordCollection",
"MuonExitLayer",
"MuonExitLayerOLD"))