Browse Source

tue 16

main
cetin 9 months ago
parent
commit
b657f60df3
  1. 2
      moore_options/get_ghost_data.py
  2. 2
      moore_options/get_resolution_and_eff_data.py
  3. 11
      moore_options/get_tracking_losses.py

2
moore_options/get_ghost_data.py

@ -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":

2
moore_options/get_resolution_and_eff_data.py

@ -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":

11
moore_options/get_tracking_losses.py

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

Loading…
Cancel
Save