Skip to content
Snippets Groups Projects

Fix B2PiMuNuMVA misID

Merged Mark Smith requested to merge Semileptonic_fixB2PiMuNuMVA into 2018-patches
Files
4
@@ -65,8 +65,8 @@ default_config = {
"PiMuMassLow": 2000.0, # MeV
"PiMuMassUpper": 6000.0, # MeV
# Prescales
"PiMuNu_NoPIDmu_prescale": 0.02,
"PiMuNu_NoPIDhad_prescale": 0.3,
"PiMuNu_NoPIDmu_prescale": 0.04,
"PiMuNu_NoPIDhad_prescale": 1.,
"PiMuNu_SameSign_prescale": 1.,
# MVA
"B2PiMuNuMVAFile": "$TMVAWEIGHTSROOT/data/B2PiMuNu_2023_stripping_BDT.xml",
@@ -193,6 +193,7 @@ class B2XuMuNuMVABuilder(LineBuilder):
def _NominalMuSelection(self):
return (
"(TRCHI2DOF < %(MuonTRCHI2)s ) & (P> %(MuonP)s *MeV)"
"& ISMUON"
"& (TRGHOSTPROB < %(TRGHOSTPROB)s)"
"& (PROBNNmu > %(MuonProbNNmu)s )"
"& (MIPCHI2DV(PRIMARY)> %(MuonMINIPCHI2)s )"
@@ -201,6 +202,7 @@ class B2XuMuNuMVABuilder(LineBuilder):
def _NominalMuSelectionNoPID(self):
return (
"(TRCHI2DOF < %(MuonTRCHI2)s ) & (P> %(MuonP)s *MeV)"
"& ~ISMUON"
"& (TRGHOSTPROB < %(TRGHOSTPROB)s)"
"& (MIPCHI2DV(PRIMARY)> %(MuonMINIPCHI2)s )"
)
@@ -218,6 +220,7 @@ class B2XuMuNuMVABuilder(LineBuilder):
def _NominalPiSelectionNoPID(self):
return (
"(TRCHI2DOF < %(PionTRCHI2)s )& (P> %(PionP)s *MeV) & (PT> %(PionPT)s *MeV)"
"& (PROBNNpi < %(PionProbNNpi)s )"
"& (TRGHOSTPROB < %(TRGHOSTPROB)s)"
"& (MIPCHI2DV(PRIMARY)> %(PionMINIPCHI2)s )"
)
Loading