From 27453f81a9542c0f68e9bca86c2c501006aa533a Mon Sep 17 00:00:00 2001 From: prasant Date: Tue, 10 Oct 2023 13:52:43 +0200 Subject: [PATCH] Few more variables added for EP combination --- PhysicsTools/NanoAOD/python/electrons_cff.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/PhysicsTools/NanoAOD/python/electrons_cff.py b/PhysicsTools/NanoAOD/python/electrons_cff.py index 511a21750a1cd..b91ff9400b8db 100644 --- a/PhysicsTools/NanoAOD/python/electrons_cff.py +++ b/PhysicsTools/NanoAOD/python/electrons_cff.py @@ -298,14 +298,17 @@ def _get_bitmapVIDForEle_docstring(modules,WorkingPoints): jetIdx = Var("?hasUserCand('jet')?userCand('jet').key():-1", "int16", doc="index of the associated jet (-1 if none)"), photonIdx = Var("?overlaps('photons').size()>0?overlaps('photons')[0].key():-1", "int16", doc="index of the first associated photon (-1 if none)"), svIdx = Var("?hasUserCand('vertex')?userCand('vertex').key():-1", "int16", doc="index of matching secondary vertex"), + fbrem = Var("fbrem()",float,doc="Fraction of brem",precision=10), rawEnergy = Var("superCluster.rawEnergy",float,doc="raw energy",precision=10), + rawPreshowerEnergy = Var("superCluster.preshowerEnergy",float,doc="energy deposited in preshower",precision=10), ecalEnergy = Var("ecalEnergy()",float,doc="energy after ECAL-only regression applied",precision=10), ecalEnergyError = Var("ecalEnergyError",float,doc="ecalEnergy error",precision=10), energyErr = Var("p4Error('P4_COMBINATION')",float,doc="energy error of the cluster-track combination",precision=6), - trackMomentum = Var("trackMomentumAtVtx().R()",float,doc="trackMomentum at vertex",precision=10), - trackMomentumError = Var("trackMomentumError",float,doc="trackMomentum error",precision=10), + gsfTrkpMode = Var("gsfTrack().pMode()",float,doc="GSF track pMode",precision=10), + gsfTrkpModeErr = Var("abs(gsfTrack().qoverpModeError())*gsfTrack().pMode()*gsfTrack().pMode()",float,doc="GSF track pMode error",precision=8), + gsfTrketaMode = Var("gsfTrack().etaMode()",float,doc="GSF track etaMode",precision=10), + gsfTrkphiMode = Var("gsfTrack().phiMode()",float,doc="GSF track phiMode",precision=10), isEcalDriven = Var("ecalDrivenSeed",bool,doc="is ECAL driven if true"), - istrackerDriven = Var("trackerDrivenSeed",bool,doc="is tracker driven if true"), isEB = Var("isEB",bool,doc="object in barrel if true"), dz = Var("dB('PVDZ')",float,doc="dz (with sign) wrt first PV, in cm",precision=10), dzErr = Var("abs(edB('PVDZ'))",float,doc="dz uncertainty, in cm",precision=6),