Browse Source

trlosses

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

14
moore_options/get_ghost_data.py

@ -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),

2
moore_options/get_resolution_and_eff_data.py

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

2
moore_options/get_tracking_losses.py

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

Loading…
Cancel
Save