CMS 3D CMS Logo

egamma_custom_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
4 from PhysicsTools.NanoAOD.electrons_cff import _eleVarsExtra
6 from PhysicsTools.NanoAOD.photons_cff import _phoVarsExtra
8 from PhysicsTools.NanoAOD.nanoDQM_cfi import nanoDQM
9 from PhysicsTools.NanoAOD.nanoDQM_cff import _Photon_extra_plots, _Electron_extra_plots
10 
12  #photon
13  process.photonTable.variables.setValue(_phoVarsExtra.parameters_())
14  if process.nanoDQM:
15  process.nanoDQM.vplots.Photon.plots = _Photon_extra_plots
16  #electron
17  process.electronTable.variables.setValue(_eleVarsExtra.parameters_())
18  if process.nanoDQM:
19  process.nanoDQM.vplots.Electron.plots = _Electron_extra_plots
20  return process
def addExtraEGammaVarsCustomize(process)