Skip to content

Commit

Permalink
Turn on EGM scale; redo JEC only on data
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Wertz authored and blinkseb committed Feb 13, 2017
1 parent f772b53 commit be29108
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/HHConfiguration.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,13 @@
# framework.getProducer('jets').parameters.cut = cms.untracked.string("pt > 20")
#framework.getProducer('jets').parameters.computeRegression = cms.untracked.bool(True)

framework.redoJEC()
if runOnData:
framework.redoJEC()

framework.applyMuonCorrection('rochester')

framework.applyElectronRegression()
framework.applyElectronSmearing()

if not runOnData:
framework.smearJets(resolutionFile='cp3_llbb/Framework/data/Spring16_25nsV10_MC_PtResolution_AK4PFchs.txt', scaleFactorFile='cp3_llbb/Framework/data/Spring16_25nsV10_MC_SF_AK4PFchs.txt')
Expand Down

0 comments on commit be29108

Please sign in to comment.