From cbbd9093077b063030f0612542825b87a02e288d Mon Sep 17 00:00:00 2001 From: mbonanom Date: Wed, 24 Jan 2024 13:44:09 +0100 Subject: [PATCH] [v29 rates] Update config to use explicit definition of pairinvmass --- .../table/cfg/v29/v29_WITHMUONS_Final_clean_cfg.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rates/table/cfg/v29/v29_WITHMUONS_Final_clean_cfg.yml b/rates/table/cfg/v29/v29_WITHMUONS_Final_clean_cfg.yml index e35d80e5..c51a450b 100644 --- a/rates/table/cfg/v29/v29_WITHMUONS_Final_clean_cfg.yml +++ b/rates/table/cfg/v29/v29_WITHMUONS_Final_clean_cfg.yml @@ -15,7 +15,7 @@ L1_DoubleEGEle: obj: EG L1_DoublePFJet_MassMin: cross_masks: - - pairinvmass(leg2.et,leg1.et,leg2.eta,leg1.eta,leg2.phi,leg1.phi)>620.0 + - np.sqrt(2.0*leg2.et*leg1.et*(np.cosh(leg2.eta-leg1.eta)-np.cos(leg2.phi-leg1.phi)))>620.0 leg1: leg_mask: - leg1.offline_pt >= 160.0 @@ -129,8 +129,8 @@ L1_DoubleTkMu4_SQ_OS_dR_Max1p2: obj: gmtTkMuon L1_DoubleTkMu4p5er2p0_SQ_OS_Mass7to18: cross_masks: - - ((pairinvmass(leg2.pt,leg1.pt,leg2.eta,leg1.eta,leg2.phi,leg1.phi)>7.0) & (leg1.deltaR(leg2)>0)) - - ((pairinvmass(leg2.pt,leg1.pt,leg2.eta,leg1.eta,leg2.phi,leg1.phi)<18.0) & (leg1.deltaR(leg2)>0)) + - ((np.sqrt(2.0*leg2.et*leg1.et*(np.cosh(leg2.eta-leg1.eta)-np.cos(leg2.phi-leg1.phi)))>7.0) & (leg1.deltaR(leg2)>0)) + - ((np.sqrt(2.0*leg2.et*leg1.et*(np.cosh(leg2.eta-leg1.eta)-np.cos(leg2.phi-leg1.phi)))<18.0) & (leg1.deltaR(leg2)>0)) - ((leg1.chg*leg2.chg<0.0) & (leg1.deltaR(leg2)>0)) - ((abs(leg2.z0-leg1.z0)<1) & (leg1.deltaR(leg2)>0)) leg1: @@ -637,7 +637,7 @@ L1_TripleTkMu: obj: gmtTkMuon L1_TripleTkMu_5SQ_3SQ_0OQ_DoubleMu_5_3_SQ_OS_Mass_Max9: cross_masks: - - pairinvmass(leg2.pt,leg1.pt,leg2.eta,leg1.eta,leg2.phi,leg1.phi)<9.0 + - np.sqrt(2.0*leg2.et*leg1.et*(np.cosh(leg2.eta-leg1.eta)-np.cos(leg2.phi-leg1.phi)))<9.0 - leg1.chg*leg2.chg<0.0 - abs(leg2.z0-leg1.z0)<1 - abs(leg3.z0-leg1.z0)<1 @@ -663,8 +663,8 @@ L1_TripleTkMu_5_3p5_2p5_OS_Mass_5to17: cross_masks: - abs(leg2.z0-leg1.z0)<1 - leg1.chg*leg3.chg<0.0 - - pairinvmass(leg3.pt,leg1.pt,leg3.eta,leg1.eta,leg3.phi,leg1.phi)>5.0 - - pairinvmass(leg3.pt,leg1.pt,leg3.eta,leg1.eta,leg3.phi,leg1.phi)<17.0 + - np.sqrt(2.0*leg3.et*leg1.et*(np.cosh(leg3.eta-leg1.eta)-np.cos(leg3.phi-leg1.phi)))>5.0 + - np.sqrt(2.0*leg3.et*leg1.et*(np.cosh(leg3.eta-leg1.eta)-np.cos(leg3.phi-leg1.phi)))<17.0 - abs(leg3.z0-leg1.z0)<1 leg1: leg_mask: