Skip to content

Commit

Permalink
Few more variables added for EP combination
Browse files Browse the repository at this point in the history
  • Loading branch information
Prasant1993 committed Oct 10, 2023
1 parent 9a7f830 commit 27453f8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions PhysicsTools/NanoAOD/python/electrons_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 27453f8

Please sign in to comment.