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 
0003 process = cms.Process("myprocess")
0004 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0005 
0006 process.maxEvents = cms.untracked.PSet(
0007         input = cms.untracked.int32(1)
0008         )
0009 
0010 process.source = cms.Source("EmptySource")
0011 
0012 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0013       DBParameters = cms.PSet(
0014         messageLevel = cms.untracked.int32(0)
0015         ),
0016       timetype = cms.string('runnumber'),
0017       toGet = cms.VPSet(
0018       cms.PSet(
0019             record = cms.string('JetCorrectionsRecord'),
0020             tag    = cms.string('JetCorrectorParametersCollection_Jec11_V10_AK5Calo'),
0021             label  = cms.untracked.string('AK5CaloLocal')
0022             ),
0023       cms.PSet(
0024             record = cms.string('JetCorrectionsRecord'),
0025             tag    = cms.string('JetCorrectorParametersCollection_Jec11_V10_AK5PF'),
0026             label  = cms.untracked.string('AK5PFLocal')
0027             ),
0028       cms.PSet(
0029             record = cms.string('JetCorrectionsRecord'),
0030             tag    = cms.string('JetCorrectorParametersCollection_Jec11_V10_AK5PFchs'),
0031             label  = cms.untracked.string('AK5PFchsLocal')
0032             ),
0033       cms.PSet(
0034             record = cms.string('JetCorrectionsRecord'),
0035             tag    = cms.string('JetCorrectorParametersCollection_Jec11_V10_AK5JPT'),
0036             label  = cms.untracked.string('AK5JPTLocal')
0037             ),                                                                                
0038        ),
0039       connect = cms.string('sqlite:Jec11_V10.db')
0040 )
0041 
0042 
0043 process.demo1 = cms.EDAnalyzer('JetCorrectorDBReader', 
0044         payloadName    = cms.untracked.string('AK5CaloLocal'),
0045         printScreen    = cms.untracked.bool(False),
0046         createTextFile = cms.untracked.bool(True),
0047         globalTag      = cms.untracked.string('Jec11_V10')
0048 )
0049 
0050 
0051 process.demo2 = cms.EDAnalyzer('JetCorrectorDBReader', 
0052         payloadName    = cms.untracked.string('AK5PFLocal'),
0053         printScreen    = cms.untracked.bool(False),
0054         createTextFile = cms.untracked.bool(True),
0055         globalTag      = cms.untracked.string('Jec11_V10')
0056 )
0057 
0058 process.demo3 = cms.EDAnalyzer('JetCorrectorDBReader', 
0059         payloadName    = cms.untracked.string('AK5PFchsLocal'),
0060         printScreen    = cms.untracked.bool(False),
0061         createTextFile = cms.untracked.bool(True),
0062         globalTag      = cms.untracked.string('Jec11_V10')
0063 )
0064 
0065 process.demo4 = cms.EDAnalyzer('JetCorrectorDBReader', 
0066         payloadName    = cms.untracked.string('AK5JPTLocal'),
0067         printScreen    = cms.untracked.bool(False),
0068         createTextFile = cms.untracked.bool(True),
0069         globalTag      = cms.untracked.string('Jec11_V10')                               
0070 )
0071 
0072 process.p = cms.Path(process.demo1 * process.demo2 * process.demo3 * process.demo4 )