|
@ -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] |
|
|