Draft: SLB Nov Hackathon: Align SL line names to uniform convention
CHANGES TO HLT2 AND SPRUCE LINES NAMING IN PREPARATION FOR NEXT YEAR DATA TAKING
Use a uniform convention for different lines in SL. Based on:
- Write full decay tree structure in the name
- Use lettering instead of numbering convention for line names
- Use TauToPiPiPiNu for hadronic tau decays or TauToMuNuNu/TauToENuNu for leptonic tau decays
- Write exclusive decay name after the prefix
- "P" for protons always capital letter
- Add charge to the parent particle
- Express CNV as "converted"
MAP HLT2 TRIGGER LINE FILTERING ON THE BASE OF THE DATA-TAKING PERIOD
Add a dictionary of the changes in line_naming.py
. Given the spruce line name, it returns a string replacing Spruce
with Hlt2
if legacy_name=False
. If legacy_name=True
, it uses the name used for 2024 and before as hlt2 line used for filtering.
The input parameter is added to each spruce line.
LIST OF CHANGES
OLD NAME | NEW NAME |
---|---|
{Hlt2/Spruce}SLB_BuToD0TauNu_D0ToK3Pi_TauToPiPiPiNu | {Hlt2/Spruce}SLB_BuToD0TauNu_D0ToKPiPiPi_TauToPiPiPiNu |
{Hlt2/Spruce}SLB_BcToJpsiTauNu_JpsiToMuMu_FakeMuon | {Hlt2/Spruce}SLB_BcToJpsiTauNu_JpsiToMuMu_TauToMuNuNu_FakeMuon |
{Hlt2/Spruce}SLB_BcToJpsiTauNu_JpsiToMuMu_FakeElectron | {Hlt2/Spruce}SLB_BcToJpsiTauNu_JpsiToMuMu_TauToENuNu_FakeElectron |
{Hlt2/Spruce}SLB_B0ToDpTauNu_DpToKPiPi_FakeMuon | {Hlt2/Spruce}SLB_B0ToDpTauNu_DpToKPiPi_TauToMuNuNu_FakeMuon |
{Hlt2/Spruce}SLB_B0ToDpTauNu_DpToKPiPi_FakeElectron | {Hlt2/Spruce}SLB_B0ToDpTauNu_DpToKPiPi_TauToENuNu_FakeElectron |
{Hlt2/Spruce}SLB_BuToD0TauNu_D0ToKPi_FakeMuon | {Hlt2/Spruce}SLB_BuToD0TauNu_D0ToKPi_TauToMuNuNu_FakeMuon |
{Hlt2/Spruce}SLB_BuToD0TauNu_D0ToKPi_FakeElectron | {Hlt2/Spruce}SLB_BuToD0TauNu_D0ToKPi_TauToENuNu_FakeElectron |
{Hlt2/Spruce}SLB_BuToD0TauNu_D0ToK3Pi_TauToMuNuNu | {Hlt2/Spruce}SLB_BuToD0TauNu_D0ToKPiPiPi_TauToMuNuNu |
{Hlt2/Spruce}SLB_BuToD0TauNu_D0ToK3Pi_FakeMuon | {Hlt2/Spruce}SLB_BuToD0TauNu_D0ToKPiPiPi_TauToMuNuNu_FakeMuon |
{Hlt2/Spruce}SLB_BuToD0TauNu_D0ToK3Pi_TauToENuNu | {Hlt2/Spruce}SLB_BuToD0TauNu_D0ToKPiPiPi_TauToENuNu |
{Hlt2/Spruce}SLB_BuToD0TauNu_D0ToK3Pi_FakeElectron | {Hlt2/Spruce}SLB_BuToD0TauNu_D0ToKPiPiPi_TauToENuNu_FakeElectron |
{Hlt2/Spruce}SLB_BsToDsTauNu_DsToKKPi_FakeMuon | {Hlt2/Spruce}SLB_BsToDsTauNu_DsToKKPi_TauToMuNuNu_FakeMuon |
{Hlt2/Spruce}SLB_BsToDsTauNu_DsToKKPi_FakeElectron | {Hlt2/Spruce}SLB_BsToDsTauNu_DsToKKPi_TauToENuNu_FakeElectron |
{Hlt2/Spruce}SLB_LbToLcTauNu_LcToPKPi_FakeMuon | {Hlt2/Spruce}SLB_LbToLcTauNu_LcToPKPi_TauToMuNuNu_FakeMuon |
{Hlt2/Spruce}SLB_LbToLcTauNu_LcToPKPi_FakeElectron | {Hlt2/Spruce}SLB_LbToLcTauNu_LcToPKPi_TauToENuNu_FakeElectron |
{Hlt2/Spruce}SLB_BuToD0MuNu_D0ToK3Pi | {Hlt2/Spruce}SLB_BuToD0MuNu_D0ToKPiPiPi |
{Hlt2/Spruce}SLB_BuToD0MuNu_D0ToK3Pi_FakeMuon | {Hlt2/Spruce}SLB_BuToD0MuNu_D0ToKPiPiPi_FakeMuon |
{Hlt2/Spruce}SLB_BuToD0ENu_D0ToK3Pi | {Hlt2/Spruce}SLB_BuToD0ENu_D0ToKPiPiPi |
{Hlt2/Spruce}SLB_BuToD0ENu_D0ToK3Pi_FakeElectron | {Hlt2/Spruce}SLB_BuToD0ENu_D0ToKPiPiPi_FakeElectron |
{Hlt2/Spruce}SLB_Xib0ToXicplusMuNu_XicplusTopKPi | {Hlt2/Spruce}SLB_Xib0ToXicplusMuNu_XicplusToPKPi |
{Hlt2/Spruce}SLB_Xib0ToXicplusTauNu_XicplusTopKPi_TauToMuNuNu | {Hlt2/Spruce}SLB_Xib0ToXicplusTauNu_XicplusToPKPi_TauToMuNuNu |
{Hlt2/Spruce}SLB_Xib0ToXicplusMuNu_XicplusTopKPi_FakeMuon | {Hlt2/Spruce}SLB_Xib0ToXicplusMuNu_XicplusToPKPi_FakeMuon |
{Hlt2/Spruce}SLB_Xib0ToXicplusTauNu_XicplusTopKPi_FakeMuon | {Hlt2/Spruce}SLB_Xib0ToXicplusTauNu_XicplusToPKPi_FakeMuon |
{Hlt2/Spruce}SLB_XibminusToXic0MuNu_Xic0TopKKPi | {Hlt2/Spruce}SLB_XibminusToXic0MuNu_Xic0ToPKKPi |
{Hlt2/Spruce}SLB_XibminusToXic0TauNu_Xic0TopKKPi_TauToMuNuNu | {Hlt2/Spruce}SLB_XibminusToXic0TauNu_Xic0ToPKKPi_TauToMuNuNu |
{Hlt2/Spruce}SLB_XibminusToXic0MuNu_Xic0TopKKPi_FakeMuon | {Hlt2/Spruce}SLB_XibminusToXic0MuNu_Xic0ToPKKPi_FakeMuon |
{Hlt2/Spruce}SLB_XibminusToXic0TauNu_Xic0TopKKPi_FakeMuon | {Hlt2/Spruce}SLB_XibminusToXic0TauNu_Xic0ToPKKPi_FakeMuon |
{Hlt2/Spruce}SLB_LbToLcTauNu_LcTopKPi_TauToPiPiPiNu | {Hlt2/Spruce}SLB_LbToLcTauNu_LcToPKPi_TauToPiPiPiNu |
{Hlt2/Spruce}SLB_B2XuMuNuB02Pi | {Hlt2/Spruce}SLB_B0ToPiMuNu |
{Hlt2/Spruce}SLB_B2XuMuNuB02pi_NoPIDMu | {Hlt2/Spruce}SLB_B0ToPiMuNu_NoPIDMu |
{Hlt2/Spruce}SLB_B2XuMuNuB02pi_NoPIDPi | {Hlt2/Spruce}SLB_B0ToPiMuNu_NoPIDPi |
{Hlt2/Spruce}SLB_B2XuTauNu_HadronicB02Pi | {Hlt2/Spruce}SLB_B0ToPiTauNu_TauToPiPiPiNu |
{Hlt2/Spruce}SLB_B2XuMuNuBs2K | {Hlt2/Spruce}SLB_BsToKMuNu |
{Hlt2/Spruce}SLB_B2XuMuNuBs2K_NoPIDMu | {Hlt2/Spruce}SLB_BsToKMuNu_NoPIDMu |
{Hlt2/Spruce}SLB_B2XuMuNuBs2K_NoPIDK | {Hlt2/Spruce}SLB_BsToKMuNu_NoPIDK |
{Hlt2/Spruce}SLB_B2XuTauNu_HadronicBs2K | {Hlt2/Spruce}SLB_BsToKTauNu_TauToPiPiPiNu |
{Hlt2/Spruce}SLB_B2XuTauNu_MuonicBs2K | {Hlt2/Spruce}SLB_BsToKTauNu_TauToMuNuNu |
{Hlt2/Spruce}SLB_B2XuTauNu_MuonicBs2K_NoPIDMu | {Hlt2/Spruce}SLB_BsToKTauNu_TauToMuNuNu_NoPIDMu |
{Hlt2/Spruce}SLB_B2XuTauNu_MuonicBs2K_NoPIDK | {Hlt2/Spruce}SLB_BsToKTauNu_TauToMuNuNu_NoPIDK |
{Hlt2/Spruce}SLB_B2PPbarMuNu | {Hlt2/Spruce}SLB_BuToPPbarMuNu |
{Hlt2/Spruce}SLB_B2PPbarMuNu_SS | {Hlt2/Spruce}SLB_BuToPPbarMuNu_SS |
{Hlt2/Spruce}SLB_B2PPbarMuNu_FakeP | {Hlt2/Spruce}SLB_BuToPPbarMuNu_FakeP |
{Hlt2/Spruce}SLB_B2PPbarMuNu_FakeMu | {Hlt2/Spruce}SLB_BuToPPbarMuNu_FakeMu |
{Hlt2/Spruce}SLB_B2PiPiMuNu | {Hlt2/Spruce}SLB_BuToPiPiMuNu |
{Hlt2/Spruce}SLB_B2PiPiMuNu_SS | {Hlt2/Spruce}SLB_BuToPiPiMuNu_SS |
{Hlt2/Spruce}SLB_B2PiPiMuNu_FakeMu | {Hlt2/Spruce}SLB_BuToPiPiMuNu_FakeMu |
{Hlt2/Spruce}SLB_B2KKMuNu | {Hlt2/Spruce}SLB_BuToKKMuNu |
{Hlt2/Spruce}SLB_B2KKMuNu_SS | {Hlt2/Spruce}SLB_BuToKKMuNu_SS |
{Hlt2/Spruce}SLB_B2KKMuNu_FakeMu | {Hlt2/Spruce}SLB_BuToKKMuNu_FakeMu |
{Hlt2/Spruce}SLB_B2MuMuMuNu | {Hlt2/Spruce}SLB_BuToMuMuMuNu |
{Hlt2/Spruce}SLB_B2EMuMuNu | {Hlt2/Spruce}SLB_BuToEMuMuNu |
{Hlt2/Spruce}SLB_B2MuEENu | {Hlt2/Spruce}SLB_BuToMuEENu |
{Hlt2/Spruce}SLB_B2MuGammaNu_CNVLL | {Hlt2/Spruce}SLB_BuToMuGammaNu_GammaToConvertedEELL |
{Hlt2/Spruce}SLB_B2MuGammaNu_CNVDD | {Hlt2/Spruce}SLB_BuToMuGammaNu_GammaToConvertedEEDD |
{Hlt2/Spruce}SLB_B2EGammaNu_CNVLL | {Hlt2/Spruce}SLB_BuToEGammaNu_GammaToConvertedEELL |
{Hlt2/Spruce}SLB_B2EGammaNu_CNVDD | {Hlt2/Spruce}SLB_BuToEGammaNu_GammaToConvertedEEDD |
{Hlt2/Spruce}SLB_B2EEENu | {Hlt2/Spruce}SLB_BuToEEENu |
{Hlt2/Spruce}SLB_B2TauMuMuNu_3Pi | {Hlt2/Spruce}SLB_BuToTauMuMuNu_TauToPiPiPiNu |
{Hlt2/Spruce}SLB_B2TauEENu_3Pi | {Hlt2/Spruce}SLB_BuToTauEENu_TauToPiPiPiNu |
{Hlt2/Spruce}SLB_B2MuMuMuNu_SS | {Hlt2/Spruce}SLB_BuToMuMuMuNu_SS |
{Hlt2/Spruce}SLB_B2EMuMuNu_SS | {Hlt2/Spruce}SLB_BuToEMuMuNu_SS |
{Hlt2/Spruce}SLB_B2MuEENu_SS | {Hlt2/Spruce}SLB_BuToMuEENu_SS |
{Hlt2/Spruce}SLB_B2EEENu_SS | {Hlt2/Spruce}SLB_BuToEEENu_SS |
{Hlt2/Spruce}SLB_B2TauMuMuNu_3Pi_SS | {Hlt2/Spruce}SLB_BuToTauMuMuNu_TauToPiPiPiNu_SS |
{Hlt2/Spruce}SLB_B2TauEENu_3Pi_SS | {Hlt2/Spruce}SLB_BuToTauEENu_TauToPiPiPiNu_SS |
{Hlt2/Spruce}SLB_LbToLcTauNu_LcToPKSLL_TautoMuNuNu | {Hlt2/Spruce}SLB_LbToLcTauNu_LcToPKSLL_TauToMuNuNu |
{Hlt2/Spruce}SLB_LbToLcTauNu_LcToPKSDD_TautoMuNuNu | {Hlt2/Spruce}SLB_LbToLcTauNu_LcToPKSDD_TauToMuNuNu |
{Hlt2/Spruce}SLB_LbToLcTauNu_LcToPKSLL_TautoENuNu | {Hlt2/Spruce}SLB_LbToLcTauNu_LcToPKSLL_TauToENuNu |
{Hlt2/Spruce}SLB_LbToLcTauNu_LcToPKSDD_TautoENuNu | {Hlt2/Spruce}SLB_LbToLcTauNu_LcToPKSDD_TauToENuNu |
{Hlt2/Spruce}SLB_LbToLcTauNu_LcToLambdaPiLL_TautoMuNuNu | {Hlt2/Spruce}SLB_LbToLcTauNu_LcToLambdaPiLL_TauToMuNuNu |
{Hlt2/Spruce}SLB_LbToLcTauNu_LcToLambdaPiDD_TautoMuNuNu | {Hlt2/Spruce}SLB_LbToLcTauNu_LcToLambdaPiDD_TauToMuNuNu |
{Hlt2/Spruce}SLB_LbToLcTauNu_LcToLambdaPiLL_TautoENuNu | {Hlt2/Spruce}SLB_LbToLcTauNu_LcToLambdaPiLL_TauToENuNu |
{Hlt2/Spruce}SLB_LbToLcTauNu_LcToLambdaPiDD_TautoENuNu | {Hlt2/Spruce}SLB_LbToLcTauNu_LcToLambdaPiDD_TauToENuNu |
{Hlt2/Spruce}SLB_BToTauNu_TauToPiPiPiNu_BTracking | {Hlt2/Spruce}SLB_BuToTauNu_TauToPiPiPiNu_BTracking |
{Hlt2/Spruce}SLB_BToDPiPi_DToKPiPi_BTracking | {Hlt2/Spruce}SLB_BuToDPiPi_DToKPiPi_BTracking |
{Hlt2/Spruce}SLB_LbToLcTauNu_LcTopPhi_TauToPiPiPiNu | {Hlt2/Spruce}SLB_LbToLcTauNu_LcToPPhi_TauToPiPiPiNu |
{Hlt2/Spruce}SLB_XibminusToXic0TauNu_Xic0TopKKPi_TauToPiPiPiNu | {Hlt2/Spruce}SLB_XibminusToXic0TauNu_Xic0ToPKKPi_TauToPiPiPiNu |
cc: @groberts
Edited by Tommaso Fulghesu