Skip to content
Snippets Groups Projects

Change phoenix export config to use the HLT2 without UT config

Merged Ben Couturier requested to merge phoenix_no_UT into master
All threads resolved!
1 file
+ 5
5
Compare changes
  • Side-by-side
  • Inline
@@ -153,19 +153,19 @@ 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)
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 +175,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 +188,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)
Loading