This commit is contained in:
cetin 2024-01-17 16:00:01 +01:00
parent b657f60df3
commit ec9cfa1fe1
3 changed files with 12 additions and 6 deletions

View File

@ -33,7 +33,7 @@ import glob
options.evt_max = -1
decay = "D" # D, B
decay = "BJpsi" # D, B
options.ntuple_file = f"data/ghost_data_{decay}_default_phi_eta.root"
options.input_type = "ROOT"
@ -105,7 +105,9 @@ def run_tracking_debug():
MCParticles=mc_unpackers()["MCParticles"],
SciFiHitLinks=links_to_hits,
SciFiHits=make_PrStoreSciFiHits_hits(),
TrackInfo=make_data_with_FetchDataFromFile("/Event/MC/TrackInfo"),
TrackInfo=make_data_with_FetchDataFromFile(
"/Event/MC/TrackInfo", "LHCb::MCProperty"
),
),
**loose_forward_params,
)
@ -120,7 +122,9 @@ def run_tracking_debug():
MCParticles=mc_unpackers()["MCParticles"],
SciFiHitLinks=links_to_hits,
SciFiHits=make_PrStoreSciFiHits_hits(),
TrackInfo=make_data_with_FetchDataFromFile("/Event/MC/TrackInfo"),
TrackInfo=make_data_with_FetchDataFromFile(
"/Event/MC/TrackInfo", "LHCb::MCProperty"
),
),
**loose_forward_params,
)
@ -141,7 +145,9 @@ def run_tracking_debug():
SeedTracks=seed_tracks["v1"],
VeloTrackLinks=links_to_velo_tracks,
SeedTrackLinks=links_to_seed_tracks,
TrackInfo=make_data_with_FetchDataFromFile("/Event/MC/TrackInfo"),
TrackInfo=make_data_with_FetchDataFromFile(
"/Event/MC/TrackInfo", "LHCb::MCProperty"
),
MCParticles=mc_unpackers()["MCParticles"],
),
AddUTHitsToolName=get_global_ut_hits_tool(enable=True),

View File

@ -40,7 +40,7 @@ decay = "test"
options.evt_max = -1
options.ntuple_file = f"data/resolutions_and_effs_{decay}_default_weights.root"
options.ntuple_file = f"data/resolutions_and_effs_{decay}_default.root"
options.input_type = "ROOT"

View File

@ -38,7 +38,7 @@ tested by mc_matching_example.py
"""
decay = "BJpsi"
decay = "B"
if decay == "B":
options.input_files = glob.glob("/auto/data/guenther/Bd_Kstee/*.xdigi")