diff --git a/benchmarks/far_forward/options/far_forward_reconstruction.py b/benchmarks/far_forward/options/far_forward_reconstruction.py index 81a5fba9d3143801ea6c3777d38dc625bf7cb3f9..ec334370ee4f10c3ce6203f4ba97f473d9f8b142 100644 --- a/benchmarks/far_forward/options/far_forward_reconstruction.py +++ b/benchmarks/far_forward/options/far_forward_reconstruction.py @@ -1,6 +1,10 @@ from Gaudi.Configuration import * from Configurables import ApplicationMgr, EICDataSvc, PodioOutput, GeoSvc +try: + from Configurables import Jug__Reco__ActsGeoSvc as ActsGeoSvc +except: + from Configurables import ActsGeoSvc from GaudiKernel.SystemOfUnits import MeV, GeV, mm, cm, mrad detector_name = str(os.environ.get("DETECTOR_CONFIG", "epic")) @@ -13,6 +17,7 @@ output_rec = str(os.environ["JUGGLER_REC_FILE"]) n_events = int(os.environ["JUGGLER_N_EVENTS"]) geo_service = GeoSvc("GeoSvc", detectors=[compact_path], OutputLevel=WARNING) +acts_geo_service = ActsGeoSvc("ActsGeoSvc", OutputLevel=WARNING) podioevent = EICDataSvc("EventDataSvc", inputs=input_sims, OutputLevel=WARNING) from Configurables import PodioInput @@ -153,7 +158,7 @@ ApplicationMgr( TopAlg = algorithms, EvtSel = 'NONE', EvtMax = n_events, - ExtSvc = [podioevent, geo_service], + ExtSvc = [podioevent, geo_service, acts_geo_service], OutputLevel=WARNING ) diff --git a/benchmarks/track_finding/options/track_reconstruction.py b/benchmarks/track_finding/options/track_reconstruction.py index e9c4f8ed3d2077cb57c062597052d641e9686474..a736d59397a963cf6198db07bd3285c2700a0eca 100644 --- a/benchmarks/track_finding/options/track_reconstruction.py +++ b/benchmarks/track_finding/options/track_reconstruction.py @@ -3,6 +3,10 @@ import os from Gaudi.Configuration import * from Configurables import ApplicationMgr, EICDataSvc, PodioOutput, GeoSvc +try: + from Configurables import Jug__Reco__ActsGeoSvc as ActsGeoSvc +except: + from Configurables import ActsGeoSvc from GaudiKernel import SystemOfUnits as units detector_path = str(os.environ.get("DETECTOR_PATH", ".")) @@ -24,6 +28,11 @@ geo_service = GeoSvc( materials="calibrations/materials-map.cbor", OutputLevel=WARNING, ) +acts_geo_service = ActsGeoSvc( + "ActsGeoSvc", + materials="calibrations/materials-map.cbor", + OutputLevel=WARNING, +) podioevent = EICDataSvc("EventDataSvc", inputs=[input_sim_file], OutputLevel=WARNING) from Configurables import PodioInput @@ -257,6 +266,6 @@ ApplicationMgr( TopAlg=algorithms, EvtSel="NONE", EvtMax=n_events, - ExtSvc=[podioevent, geo_service], + ExtSvc=[podioevent, geo_service, acts_geo_service], OutputLevel=WARNING, ) diff --git a/benchmarks/track_fitting/options/track_reconstruction.py b/benchmarks/track_fitting/options/track_reconstruction.py index c6272357d0f863e928a14cfc216fb3951a54ddb9..db28668b7befcb55d290c1bb3e24fc4687fb85fe 100644 --- a/benchmarks/track_fitting/options/track_reconstruction.py +++ b/benchmarks/track_fitting/options/track_reconstruction.py @@ -3,6 +3,10 @@ import os from Gaudi.Configuration import * from Configurables import ApplicationMgr, EICDataSvc, PodioOutput, GeoSvc +try: + from Configurables import Jug__Reco__ActsGeoSvc as ActsGeoSvc +except: + from Configurables import ActsGeoSvc from GaudiKernel import SystemOfUnits as units detector_path = str(os.environ.get("DETECTOR_PATH", ".")) @@ -24,6 +28,11 @@ geo_service = GeoSvc( materials="calibrations/materials-map.cbor", OutputLevel=WARNING, ) +acts_geo_service = ActsGeoSvc( + "ActsGeoSvc", + materials="calibrations/materials-map.cbor", + OutputLevel=WARNING, +) podioevent = EICDataSvc("EventDataSvc", inputs=[input_sim_file], OutputLevel=WARNING) from Configurables import PodioInput @@ -243,6 +252,6 @@ ApplicationMgr( TopAlg=algorithms, EvtSel="NONE", EvtMax=n_events, - ExtSvc=[podioevent, geo_service], + ExtSvc=[podioevent, geo_service, acts_geo_service], OutputLevel=WARNING, ) diff --git a/benchmarks/tracking/options/track_reconstruction.py b/benchmarks/tracking/options/track_reconstruction.py index c68084f4f213389394e6abc917420d63ac5ba51d..1a7ab5dee2bee950afd58da545190987835b9ff8 100644 --- a/benchmarks/tracking/options/track_reconstruction.py +++ b/benchmarks/tracking/options/track_reconstruction.py @@ -3,6 +3,10 @@ import os from Gaudi.Configuration import * from Configurables import ApplicationMgr, EICDataSvc, PodioOutput, GeoSvc +try: + from Configurables import Jug__Reco__ActsGeoSvc as ActsGeoSvc +except: + from Configurables import ActsGeoSvc from GaudiKernel import SystemOfUnits as units detector_path = str(os.environ.get("DETECTOR_PATH", ".")) @@ -24,6 +28,11 @@ geo_service = GeoSvc( materials="calibrations/materials-map.cbor", OutputLevel=WARNING, ) +acts_geo_service = ActsGeoSvc( + "ActsGeoSvc", + materials="calibrations/materials-map.cbor", + OutputLevel=WARNING, +) podioevent = EICDataSvc("EventDataSvc", inputs=[input_sim_file], OutputLevel=WARNING) from Configurables import PodioInput @@ -234,6 +243,6 @@ ApplicationMgr( TopAlg=algorithms, EvtSel="NONE", EvtMax=n_events, - ExtSvc=[podioevent, geo_service], + ExtSvc=[podioevent, geo_service, acts_geo_service], OutputLevel=WARNING, )