Skip to content

Commit

Permalink
Move variables from CandVars to P3Vars
Browse files Browse the repository at this point in the history
  • Loading branch information
maxgalli committed Mar 2, 2022
1 parent 85d3955 commit 5dfd00d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PhysicsTools/NanoAOD/python/photons_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def make_bitmapVID_docstring(id_modules_working_points_pset):
doc = cms.string("slimmedPhotons after basic selection (" + finalPhotons.cut.value()+")"),
singleton = cms.bool(False), # the number of entries is variable
extension = cms.bool(False), # this is the main table for the photons
variables = cms.PSet(CandVars,
variables = cms.PSet(P3Vars,
jetIdx = Var("?hasUserCand('jet')?userCand('jet').key():-1", int, doc="index of the associated jet (-1 if none)"),
electronIdx = Var("?hasUserCand('electron')?userCand('electron').key():-1", int, doc="index of the associated electron (-1 if none)"),
energyErr = Var("getCorrectedEnergyError('regression2')",float,doc="energy error of the cluster from regression",precision=6),
Expand Down

0 comments on commit 5dfd00d

Please sign in to comment.