Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:21:38

0001 import FWCore.ParameterSet.Config as cms 
0002 process = cms.Process('jerdb')
0003 
0004 process.load('CondCore.DBCommon.CondDBCommon_cfi')
0005 process.CondDBCommon.connect = 'sqlite_file:Summer15_V0_MC_JER.db'
0006 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(1))
0007 process.source = cms.Source('EmptySource')
0008 process.PoolDBOutputService = cms.Service('PoolDBOutputService',
0009         process.CondDBCommon,
0010         toPut = cms.VPSet(
0011             cms.PSet(
0012                 record = cms.string('Summer15_V0_MC_JER_AK4PFchs'),
0013                 tag    = cms.string('JetResolutionObject_Summer15_V0_MC_JER_AK4PFchs'),
0014                 label  = cms.string('AK4PFchs')
0015                 ),
0016             cms.PSet(
0017                 record = cms.string('Summer12_V1_MC_JER_SF_AK5PFchs'),
0018                 tag    = cms.string('JetResolutionObject_Summer12_V1_MC_JER_SF_AK5PFchs'),
0019                 label  = cms.string('AK5PFchs')
0020                 ),
0021             )
0022         )
0023 
0024 process.dbWriterAK4PF_JER = cms.EDAnalyzer('JetResolutionDBWriter',
0025         record = cms.untracked.string('Summer15_V0_MC_JER_AK4PFchs'),
0026         file = cms.untracked.FileInPath('CondFormats/JetMETObjects/data/Summer15_V0_MC_JER_AK4PFchs.txt')
0027         )
0028 
0029 process.dbWriterAK4PF_JER_SF = cms.EDAnalyzer('JetResolutionDBWriter',
0030         record = cms.untracked.string('Summer12_V1_MC_JER_SF_AK5PFchs'),
0031         file = cms.untracked.FileInPath('CondFormats/JetMETObjects/data/Summer12_V1_MC_JER_SF_AK5PFchs.txt')
0032         )
0033 
0034 process.p = cms.Path(process.dbWriterAK4PF_JER * process.dbWriterAK4PF_JER_SF)