Skip to content

Commit

Permalink
Merge pull request #392 from amarini/topic_newqg
Browse files Browse the repository at this point in the history
new training for 94X
  • Loading branch information
amarini authored Dec 6, 2018
2 parents c9bea66 + 56a622e commit 96944f1
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
Binary file added Nero/test/qg/QGL_AK4chs_94X.db
Binary file not shown.
27 changes: 23 additions & 4 deletions Nero/test/testNero.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,18 +305,37 @@

# ------------------------QG-----------------------------------------------
# after jec, because need to be run on the corrected (latest) jet collection
qgDatabaseVersion = 'cmssw8020_v2'

#qgDatabaseVersion = 'cmssw8020_v2'
#
#process.QGPoolDBESSource = cms.ESSource("PoolDBESSource",
# CondDBSetup,
# toGet = cms.VPSet(
# cms.PSet(
# record = cms.string('QGLikelihoodRcd'),
# tag = cms.string('QGLikelihoodObject_'+qgDatabaseVersion+'_AK4PFchs'),
# label = cms.untracked.string('QGL_AK4PFchs')
# ),
# ),
# connect = cms.string('sqlite:qg/QGL_'+qgDatabaseVersion+'.db')
#)
#process.es_prefer_qg = cms.ESPrefer('PoolDBESSource','QGPoolDBESSource')
#
#process.load('RecoJets.JetProducers.QGTagger_cfi')
#process.QGTagger.srcJets = process.nero.NeroJets.jets # Could be reco::PFJetCollection or pat::JetCollection (both AOD and miniAOD)
#process.QGTagger.srcVertexCollection = process.nero.NeroVertex.vertices
#process.QGTagger.useQualityCuts = cms.bool(False)

#IOV:QGLikelihoodObject_v1_AK4 QGL_AK4chs_94X.db
process.QGPoolDBESSource = cms.ESSource("PoolDBESSource",
CondDBSetup,
toGet = cms.VPSet(
cms.PSet(
record = cms.string('QGLikelihoodRcd'),
tag = cms.string('QGLikelihoodObject_'+qgDatabaseVersion+'_AK4PFchs'),
tag = cms.string('QGLikelihoodObject_v1_AK4'),
label = cms.untracked.string('QGL_AK4PFchs')
),
),
connect = cms.string('sqlite:qg/QGL_'+qgDatabaseVersion+'.db')
connect = cms.string('sqlite:qg/QGL_AK4chs_94X.db')
)
process.es_prefer_qg = cms.ESPrefer('PoolDBESSource','QGPoolDBESSource')

Expand Down

0 comments on commit 96944f1

Please sign in to comment.