Skip to content

Commit

Permalink
Merge pull request cms-sw#76 from UAEDF-tomc/qgTrainingFromGiorgia
Browse files Browse the repository at this point in the history
@arizzi @gpetruc 
Thanks Tom.

Colin
  • Loading branch information
cbernet committed Jun 7, 2016
2 parents a52e0ce + 722454a commit ee4dfb7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file not shown.
2 changes: 1 addition & 1 deletion PhysicsTools/Heppy/python/analyzers/objects/JetAnalyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def __init__(self, cfg_ana, cfg_comp, looperName):
else:
raise RuntimeError, "DR for simultaneous cleaning of jets from leptons and photons is not defined, and dR(gamma, jet)!=dR(lep, jet)"
if(self.cfg_ana.doQG):
qgdefname="{CMSSW_BASE}/src/PhysicsTools/Heppy/data/pdfQG_AK4chs_13TeV_v2b.root"
qgdefname="{CMSSW_BASE}/src/PhysicsTools/Heppy/data/pdfQG_AK4chs_13TeV_v2_PU20bx25_QCD_AllPtBins.root"
self.qglcalc = QGLikelihoodCalculator(getattr(self.cfg_ana,"QGpath",qgdefname).format(CMSSW_BASE= os.environ['CMSSW_BASE']))
if not hasattr(self.cfg_ana ,"collectionPostFix"):self.cfg_ana.collectionPostFix=""

Expand Down

0 comments on commit ee4dfb7

Please sign in to comment.