From ed91861e0f64f8992b70190795e2865ea6e5e375 Mon Sep 17 00:00:00 2001 From: Dan Thompson <dathomps@lxplus728.cern.ch> Date: Tue, 15 Jun 2021 18:43:20 +0200 Subject: [PATCH] Updated RelInfoTools of Sb2PKMuXPi Lines for 2018-patches --- .../StrippingRD/StrippingSb2PKMuXPi.py | 85 ++++++++++++++----- 1 file changed, 62 insertions(+), 23 deletions(-) diff --git a/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingSb2PKMuXPi.py b/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingSb2PKMuXPi.py index ff95c3488..1457d9832 100644 --- a/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingSb2PKMuXPi.py +++ b/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingSb2PKMuXPi.py @@ -11,8 +11,8 @@ __author__ = "Dan Thompson; based on combination of Bu2LLK lines and Bs2st2KKMuXLine" -__date__ = "02/03/2021" -__version__ = "$Revision: 0$" +__date__ = "14/06/2021" +__version__ = "$Revision: 1$" __all__= ('Sb2PKMuXPiConf','default_config') @@ -24,8 +24,64 @@ Selections for: Sb2PKMuXPiLine: Sigmab+- --> (Lb --> (Lambda(*) --> p+ K-) mu X) pi+- [4 Permutations (Sb+-, mu+-) + CC] Sb2PKMuXPiSSLine: Sigmab+- --> (Lb --> (Lambda(*) --> p+ K+) mu X) pi+- [4 Permutations + CC] Sb2PKJpsiPiLine: Sigmab+- --> (Lb --> (Lambda(*) --> p+ K-) (J/psi --> mu+ mu-))) pi+- [CC + SS Hadrons] + +Updated for S34r0p2 Restripping: Altered RelInfoTools so they are functional (not required however as line is DST ) """ +daughter_locations = { + #OS Hadrons + "[Beauty -> (Beauty -> (X0 -> ^X+ Xs) l-) pi+]CC": "{0}_p", #Sb+, mu- + "[Beauty -> (Beauty -> (X0 -> ^X+ Xs) l+) pi+]CC": "{0}_p", #Sb+, mu+ + "[Beauty -> (Beauty -> (X0 -> ^X+ Xs) l-) pi-]CC": "{0}_p", #Sb-, mu- + "[Beauty -> (Beauty -> (X0 -> ^X+ Xs) l+) pi-]CC": "{0}_p", #Sb-, mu+ + + "[Beauty -> (Beauty -> (X0 -> X+ ^Xs) l-) pi+]CC": "{0}_K", + "[Beauty -> (Beauty -> (X0 -> X+ ^Xs) l+) pi+]CC": "{0}_K", + "[Beauty -> (Beauty -> (X0 -> X+ ^Xs) l-) pi-]CC": "{0}_K", + "[Beauty -> (Beauty -> (X0 -> X+ ^Xs) l+) pi-]CC": "{0}_K", + + "[Beauty -> (Beauty -> (X0 -> X+ Xs) ^l-) pi+]CC": "{0}_mu", + "[Beauty -> (Beauty -> (X0 -> X+ Xs) ^l+) pi+]CC": "{0}_mu", + "[Beauty -> (Beauty -> (X0 -> X+ Xs) ^l-) pi-]CC": "{0}_mu", + "[Beauty -> (Beauty -> (X0 -> X+ Xs) ^l+) pi-]CC": "{0}_mu", + + "[Beauty -> (Beauty -> (X0 -> X+ Xs) l-) ^pi+]CC": "{0}_Pi", + "[Beauty -> (Beauty -> (X0 -> X+ Xs) l+) ^pi+]CC": "{0}_Pi", + "[Beauty -> (Beauty -> (X0 -> X+ Xs) l-) ^pi-]CC": "{0}_Pi", + "[Beauty -> (Beauty -> (X0 -> X+ Xs) l+) ^pi-]CC": "{0}_Pi", + + "[Beauty -> (Beauty -> ^(X0 -> X+ Xs) l-) pi+]CC": "{0}_LStar", + "[Beauty -> (Beauty -> ^(X0 -> X+ Xs) l+) pi+]CC": "{0}_LStar", + "[Beauty -> (Beauty -> ^(X0 -> X+ Xs) l-) pi-]CC": "{0}_LStar", + "[Beauty -> (Beauty -> ^(X0 -> X+ Xs) l+) pi-]CC": "{0}_LStar", + + #SS Hadrons + "[Beauty -> (Beauty -> (X0 -> ^X- Xs) l-) pi+]CC": "{0}_p", + "[Beauty -> (Beauty -> (X0 -> ^X- Xs) l+) pi+]CC": "{0}_p", + "[Beauty -> (Beauty -> (X0 -> ^X- Xs) l-) pi-]CC": "{0}_p", + "[Beauty -> (Beauty -> (X0 -> ^X- Xs) l+) pi-]CC": "{0}_p", + + "[Beauty -> (Beauty -> (X0 -> X- ^Xs) l-) pi+]CC": "{0}_K", + "[Beauty -> (Beauty -> (X0 -> X- ^Xs) l+) pi+]CC": "{0}_K", + "[Beauty -> (Beauty -> (X0 -> X- ^Xs) l-) pi-]CC": "{0}_K", + "[Beauty -> (Beauty -> (X0 -> X- ^Xs) l+) pi-]CC": "{0}_K", + + "[Beauty -> (Beauty -> (X0 -> X- Xs) ^l-) pi+]CC": "{0}_mu", + "[Beauty -> (Beauty -> (X0 -> X- Xs) ^l+) pi+]CC": "{0}_mu", + "[Beauty -> (Beauty -> (X0 -> X- Xs) ^l-) pi-]CC": "{0}_mu", + "[Beauty -> (Beauty -> (X0 -> X- Xs) ^l+) pi-]CC": "{0}_mu", + + "[Beauty -> (Beauty -> (X0 -> X- Xs) l-) ^pi+]CC": "{0}_Pi", + "[Beauty -> (Beauty -> (X0 -> X- Xs) l+) ^pi+]CC": "{0}_Pi", + "[Beauty -> (Beauty -> (X0 -> X- Xs) l-) ^pi-]CC": "{0}_Pi", + "[Beauty -> (Beauty -> (X0 -> X- Xs) l+) ^pi-]CC": "{0}_Pi", + + "[Beauty -> (Beauty -> ^(X0 -> X- Xs) l-) pi+]CC": "{0}_LStar", + "[Beauty -> (Beauty -> ^(X0 -> X- Xs) l+) pi+]CC": "{0}_LStar", + "[Beauty -> (Beauty -> ^(X0 -> X- Xs) l-) pi-]CC": "{0}_LStar", + "[Beauty -> (Beauty -> ^(X0 -> X- Xs) l+) pi-]CC": "{0}_LStar" +} + default_config = { 'NAME' : "Sb2PKMuXPi", 'BUILDERTYPE' : "Sb2PKMuXPiConf", @@ -105,16 +161,8 @@ default_config = { 'ISOTWOBODYISO5PLUS', 'BSMUMUTRACKID' ], - 'DaughterLocations' : { - "[Sigma_b+ -> (Lambda_b0 -> (Lambda(1520)0 -> ^p+ [K-]cc) [mu-]cc) pi+]CC": "pISO", - "[Sigma_b+ -> (Lambda_b0 -> (Lambda(1520)0 -> p+ ^[K-]cc) [mu-]cc) pi+]CC": "KISO", - "[Sigma_b+ -> (Lambda_b0 -> (Lambda(1520)0 -> p+ [K-]cc) ^[mu-]cc) pi+]CC": "MuISO", - "[Sigma_b+ -> (Lambda_b0 -> (Lambda(1520)0 -> p+ [K-]cc) [mu-]cc) ^pi+]CC": "PiISO", - "[Sigma_b- -> (Lambda_b0 -> (Lambda(1520)0 -> ^p+ [K-]cc) [mu-]cc) pi-]CC": "pISO", - "[Sigma_b- -> (Lambda_b0 -> (Lambda(1520)0 -> p+ ^[K-]cc) [mu-]cc) pi-]CC": "KISO", - "[Sigma_b- -> (Lambda_b0 -> (Lambda(1520)0 -> p+ [K-]cc) ^[mu-]cc) pi-]CC": "MuISO", - "[Sigma_b- -> (Lambda_b0 -> (Lambda(1520)0 -> p+ [K-]cc) [mu-]cc) ^pi-]CC": "PiISO" - }, + #'Location' : 'TrackIsoBs2MMInfo', + 'DaughterLocations' : {key: val.format('TrackIsoBs2MMInfo') for key, val in daughter_locations.items()}, 'tracktype' : 3, 'angle' : 0.27, @@ -134,17 +182,8 @@ default_config = { # This requires that the "Variables" value is set to 2 'Variables' : 2, 'WeightsFile' : 'BsMuMu_TrackIsolationBDT9vars_v1r4.xml', - 'Location' : 'TrackIsoBDTInfo', - 'DaughterLocations' : { - "[Sigma_b+ -> (Lambda_b0 -> (Lambda(1520)0 -> ^p+ [K-]cc) [mu-]cc) pi+]CC": "pISO", - "[Sigma_b+ -> (Lambda_b0 -> (Lambda(1520)0 -> p+ ^[K-]cc) [mu-]cc) pi+]CC": "KISO", - "[Sigma_b+ -> (Lambda_b0 -> (Lambda(1520)0 -> p+ [K-]cc) ^[mu-]cc) pi+]CC": "MuISO", - "[Sigma_b+ -> (Lambda_b0 -> (Lambda(1520)0 -> p+ [K-]cc) [mu-]cc) ^pi+]CC": "PiISO", - "[Sigma_b- -> (Lambda_b0 -> (Lambda(1520)0 -> ^p+ [K-]cc) [mu-]cc) pi-]CC": "pISO", - "[Sigma_b- -> (Lambda_b0 -> (Lambda(1520)0 -> p+ ^[K-]cc) [mu-]cc) pi-]CC": "KISO", - "[Sigma_b- -> (Lambda_b0 -> (Lambda(1520)0 -> p+ [K-]cc) ^[mu-]cc) pi-]CC": "MuISO", - "[Sigma_b- -> (Lambda_b0 -> (Lambda(1520)0 -> p+ [K-]cc) [mu-]cc) ^pi-]CC": "PiISO" - } + #'Location' : 'TrackIsoBDTInfo', + 'DaughterLocations' : {key: val.format('TrackIsoBDTInfo') for key, val in daughter_locations.items()} } ] } -- GitLab