diff --git a/CLDConfig/CLDReconstruction.py b/CLDConfig/CLDReconstruction.py index f1eacdc..c1c45b5 100644 --- a/CLDConfig/CLDReconstruction.py +++ b/CLDConfig/CLDReconstruction.py @@ -117,6 +117,8 @@ algList[-1].Lcio2EDM4hepTool = trackDigiConverter +index = len(algList) + # tracker hit digitisation sequenceLoader.load("Tracking/TrackingDigi") @@ -126,6 +128,26 @@ elif CONFIG["Tracking"] == "Conformal": sequenceLoader.load("Tracking/ConformalTracking") +trackingConverter = EDM4hep2LcioTool("InputConverter") +trackingConverter.convertAll = False +trackingConverter.collNameMapping = {"VXDTrackerHitRelations" : "VXDTrackerHitRelations", + "VXDTrackerHits" : "VXDTrackerHits", + "VXDEndcapTrackerHitRelations" : "VXDEndcapTrackerHitRelations", + "VXDEndcapTrackerHits" : "VXDEndcapTrackerHits", + "InnerTrackerBarrelHitsRelations" : "InnerTrackerBarrelHitsRelations", + "ITrackerHits" : "ITrackerHits", + "InnerTrackerEndcapHitsRelations" : "InnerTrackerEndcapHitsRelations", + "ITrackerEndcapHits" : "ITrackerEndcapHits", + "OuterTrackerBarrelHitsRelations" : "OuterTrackerBarrelHitsRelations", + "OTrackerHits" : "OTrackerHits", + "OuterTrackerEndcapHitsRelations" : "OuterTrackerEndcapHitsRelations", + "OuterTrackerEndcapHits" : "OuterTrackerEndcapHits", + } + +trackingConverter.OutputLevel = DEBUG + +algList[index].EDM4hep2LcioTool = trackingConverter + sequenceLoader.load("Tracking/Refit") # calorimeter digitization and pandora