From fa8af07e3ad906cad3b2308d520594ec7e867a78 Mon Sep 17 00:00:00 2001 From: Ben Couturier <ben.couturier@cern.ch> Date: Tue, 24 May 2022 16:42:24 +0200 Subject: [PATCH 1/2] Change phoenix export config to use the HLT2 without UT config --- Hlt/RecoConf/python/RecoConf/standalone.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Hlt/RecoConf/python/RecoConf/standalone.py b/Hlt/RecoConf/python/RecoConf/standalone.py index f2f5062e87a..b4ca28042ed 100644 --- a/Hlt/RecoConf/python/RecoConf/standalone.py +++ b/Hlt/RecoConf/python/RecoConf/standalone.py @@ -153,19 +153,20 @@ def phoenix_data_dump(): def phoenix_data_dump_hlt2(): """ Run the Hlt2 reconstruction up to ProtoParticle and dump the hist and tracks to Phoenix JSON """ - hlt2_tracks = make_hlt2_tracks(light_reco=False) + hlt2_tracks = make_hlt2_tracks_without_UT(light_reco=True) + #hlt2_tracks = make_hlt2_tracks(light_reco=False) pvs = make_all_pvs() # Add Rich rich_reco = add_hlt2_rich( light_reco=False, - best_tracks=hlt2_tracks["Best"], + best_tracks=hlt2_tracks["BestLong"], do_mc_checking=False, do_data_monitoring=False) # Add Calo tracks_v3, trackrels = convert_tracks_to_v3_from_v1( - hlt2_tracks["Best"]["v1"], + hlt2_tracks["BestLong"]["v1"], track_types=["Long", "Downstream", "Ttrack"], shared_container=False) @@ -175,7 +176,7 @@ def phoenix_data_dump_hlt2(): # Add Muons muonRecConfs = make_all_muon_pids(tracks=tracks_v3) muon_conv = make_conv_muon_pids( - muonRecConfs, hlt2_tracks["Best"], light_reco=False) + muonRecConfs, hlt2_tracks["BestLong"], light_reco=False) muon_pids = make_merged_muon_pids(muon_conv) # Adding hits needed for the JSIN dump @@ -188,7 +189,7 @@ def phoenix_data_dump_hlt2(): # Add proto particles charged_protos = make_charged_protoparticles( - tracks=hlt2_tracks["Best"], + tracks=hlt2_tracks["BestLong"], rich_pids=rich_reco["rich_pids"], calo_pids=calo, muon_pids=muon_pids) -- GitLab From 9e2ed01f5ab874fc770e4d99b5c71408b78af988 Mon Sep 17 00:00:00 2001 From: Sebastien Ponce <sebastien.ponce@cern.ch> Date: Wed, 25 May 2022 08:33:06 +0200 Subject: [PATCH 2/2] dropped comment --- Hlt/RecoConf/python/RecoConf/standalone.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Hlt/RecoConf/python/RecoConf/standalone.py b/Hlt/RecoConf/python/RecoConf/standalone.py index b4ca28042ed..39ced17715d 100644 --- a/Hlt/RecoConf/python/RecoConf/standalone.py +++ b/Hlt/RecoConf/python/RecoConf/standalone.py @@ -154,7 +154,6 @@ def phoenix_data_dump_hlt2(): """ Run the Hlt2 reconstruction up to ProtoParticle and dump the hist and tracks to Phoenix JSON """ hlt2_tracks = make_hlt2_tracks_without_UT(light_reco=True) - #hlt2_tracks = make_hlt2_tracks(light_reco=False) pvs = make_all_pvs() # Add Rich -- GitLab