Skip to content

Improve rd multilepton lines

Starting with a list of things to improve:

  • Add intermediates to B->4mu line same as for B2EEMuMu, generic four lepton builder based on two dilepton builders
  • Add intermediates for B->4e line more difficult, it creates electron candidates very simple while dielectron objects (which are used in other lines e.g. B2EEMuMu) are way more complicated, is this intentional and the difference understood? Can we change also B24e to align with the other one?
    • This makes tupling simpler and control plots/cross checks
  • Change BPV functors in builder with OWNPV
  • Remove isolation variables, tagging_particles for persist_reco=True lines as these are not needed
  • Think about TBCs in rdbuilder_thor.py (more of a general thing), e.g. trchi2dof_max, trghostprob_max
  • Rename make_b_4l keyword MAXDOCA with MAXSDOCA
  • Add sprucing (?), see comment here
  • Consistent naming of keyword arguments, e.g. here and here
  • Combine make_b_4l, make_b_2mu2e and make_generic_4lepton_LLP into one builder function
  • Reconsider Kaon PID cuts
  • Consider renaming Nmu_builder.py to b_to_multilepton_builder.py to be consistent with other builder files and because it is not only "n times mu" what is build here
  • Consider to rename lines e.g. LL like here as there are no not long muon lines it could be confused with
  • Why min_PID_Mu=1 at one point and min_PID_Mu=0 on another
  • Why min_PID_E=3 at one point and min_PID_E=2 on another
  • MAXSDOCA cut has unit in most other use cases throughout Moore, is this intentional that here it has no explicit unit?
  • Add downstream LLP lines with various topologies LLD, LDD, DDD
  • Add all types of tracks to make_rd_detached_dielectron in MuMuEE. From track_types="long" to track_types="all".

Tests

Time taken:

rd-devel-march25:
time: 2:23:22.02 total, compression: 38.02%, 54.7 MiB => 20.8 MiB

B2multilepton:
time: 1:56:47.78 total, compression: 38.06%, 54.7 MiB => 20.8 MiB

Rates of this MR comparing against rd-devel-march25 with data (100_000 events):

rate (before) rate (after) difference difference (%)
Hlt2RD_BToHHGamma_Incl_Full 541.671 541.671 0 0
Hlt2RD_BToHHGamma_GammaToEELL_Incl_Full 528.774 528.774 0 0
Hlt2RD_BToHHHGamma_GammaToEEDD_Incl_Full 386.908 386.908 0 0
Hlt2RD_BToHHHGamma_Incl_Full 206.351 206.351 0 0
Hlt2RD_BToHHHGamma_GammaToEELL_Incl_Full 206.351 206.351 0 0
Hlt2RD_BToHHGamma_GammaToEEDD_Incl_Full 180.557 180.557 0 0
Hlt2RD_DiMuonSoft_Full 154.763 154.763 0 0
Hlt2RD_DiElectronSoft_Full 77.3815 77.3815 0 0
Hlt2RD_BTo2LLP_LLPToEE_LL nan 12.8969 nan nan
Hlt2RD_BTo3LLP_LLPToMuMu_LLL nan 0 nan nan
Hlt2RD_BTo2LLP_LLPToMuMu_DD nan 0 nan nan
Hlt2RD_BuTo2LLPKp_LLPToEE_LL nan 0 nan nan
Hlt2RD_BuTo2LLPKp_LLPToMuMu_DD nan 0 nan nan
Hlt2RD_BuTo2LLPKp_LLPToMuMu_LL nan 0 nan nan
Hlt2RD_BuTo3LLPKp_LLPToEE_LLL nan 0 nan nan
Hlt2RD_BuTo3LLPKp_LLPToMuMu_LLL nan 0 nan nan
Hlt2RD_BTo3LLP_LLPToEE_LLL nan 0 nan nan
Hlt2RD_BTo2LLP_LLPToMuMu_LL nan 0 nan nan
Hlt2RD_Displaced4E_Incl nan 0 nan nan
Hlt2RD_Displaced4Mu_Incl nan 0 nan nan
Hlt2RD_DisplacedMuMuEE_Incl nan 0 nan nan
Edited by Jan Peter Wagner

Merge request reports

Loading