This commit is contained in:
cetin 2024-01-16 21:50:18 +01:00
parent fad2d95a1c
commit b657f60df3
3 changed files with 12 additions and 3 deletions

View File

@ -39,6 +39,8 @@ options.ntuple_file = f"data/ghost_data_{decay}_default_phi_eta.root"
options.input_type = "ROOT" options.input_type = "ROOT"
if decay == "B": if decay == "B":
options.input_files = glob.glob("/auto/data/guenther/Bd_Kstee/*.xdigi") options.input_files = glob.glob("/auto/data/guenther/Bd_Kstee/*.xdigi")
elif decay == "BJpsi":
options.input_files = glob.glob("/auto/data/guenther/Bd_JpsiKst_ee/*.xdigi")
elif decay == "D": elif decay == "D":
options.input_files = glob.glob("/auto/data/guenther/Dst_D0ee/*.xdigi") options.input_files = glob.glob("/auto/data/guenther/Dst_D0ee/*.xdigi")
elif decay == "test": elif decay == "test":

View File

@ -46,6 +46,8 @@ options.input_type = "ROOT"
if decay == "B": if decay == "B":
options.input_files = glob.glob("/auto/data/guenther/Bd_Kstee/*.xdigi") options.input_files = glob.glob("/auto/data/guenther/Bd_Kstee/*.xdigi")
elif decay == "BJpsi":
options.input_files = glob.glob("/auto/data/guenther/Bd_JpsiKst_ee/*.xdigi")
elif decay == "D": elif decay == "D":
options.input_files = glob.glob("/auto/data/guenther/Dst_D0ee/*.xdigi") options.input_files = glob.glob("/auto/data/guenther/Dst_D0ee/*.xdigi")
elif decay == "test": elif decay == "test":

View File

@ -38,10 +38,12 @@ tested by mc_matching_example.py
""" """
decay = "D" decay = "BJpsi"
if decay == "B": if decay == "B":
options.input_files = glob.glob("/auto/data/guenther/Bd_Kstee/*.xdigi") options.input_files = glob.glob("/auto/data/guenther/Bd_Kstee/*.xdigi")
elif decay == "BJpsi":
options.input_files = glob.glob("/auto/data/guenther/Bd_JpsiKst_ee/*.xdigi")
elif decay == "D": elif decay == "D":
options.input_files = glob.glob("/auto/data/guenther/Dst_D0ee/*.xdigi") options.input_files = glob.glob("/auto/data/guenther/Dst_D0ee/*.xdigi")
elif decay == "test": elif decay == "test":
@ -53,7 +55,7 @@ options.dddb_tag = "dddb-20210617"
options.simulation = True options.simulation = True
options.input_type = "ROOT" options.input_type = "ROOT"
options.ntuple_file = f"data/tracking_losses_ntuple_{decay}_match_electron_weights.root" options.ntuple_file = f"data/tracking_losses_ntuple_{decay}_default.root"
options.evt_max = -1 options.evt_max = -1
@ -117,7 +119,10 @@ def run_tracking_losses():
FittedTrackLinks=links_to_fitted_tracks, FittedTrackLinks=links_to_fitted_tracks,
# LHCbIDLinks=links_to_hits, # LHCbIDLinks=links_to_hits,
IdealStateCreator=make_default_IdealStateCreator(), IdealStateCreator=make_default_IdealStateCreator(),
TrackInfo=make_data_with_FetchDataFromFile("/Event/MC/TrackInfo"), TrackInfo=make_data_with_FetchDataFromFile(
"/Event/MC/TrackInfo",
"LHCb::MCProperty", # force_type="LHCb::MCProperty" for lb-stack only
),
) )
data = [tracking_losses] data = [tracking_losses]