-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44255 from swagata87/bport140X_egmnano
[14_0_X] Custom nano for e/gamma
- Loading branch information
Showing
10 changed files
with
234 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
from PhysicsTools.NanoAOD.common_cff import * | ||
from PhysicsTools.NanoAOD.electrons_cff import * | ||
from PhysicsTools.NanoAOD.electrons_cff import _eleVarsExtra | ||
from PhysicsTools.NanoAOD.photons_cff import * | ||
from PhysicsTools.NanoAOD.photons_cff import _phoVarsExtra | ||
from PhysicsTools.NanoAOD.NanoAODEDMEventContent_cff import * | ||
from PhysicsTools.NanoAOD.nanoDQM_cfi import nanoDQM | ||
from PhysicsTools.NanoAOD.nanoDQM_cff import _Photon_extra_plots, _Electron_extra_plots | ||
|
||
def addExtraEGammaVarsCustomize(process): | ||
#photon | ||
process.photonTable.variables.setValue(_phoVarsExtra.parameters_()) | ||
if process.nanoDQM: | ||
process.nanoDQM.vplots.Photon.plots = _Photon_extra_plots | ||
#electron | ||
process.electronTable.variables.setValue(_eleVarsExtra.parameters_()) | ||
if process.nanoDQM: | ||
process.nanoDQM.vplots.Electron.plots = _Electron_extra_plots | ||
return process |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.