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 
0005 process.load('Configuration.StandardSequences.Services_cff')
0006 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0007 process.GlobalTag.globaltag = 'MC_38Y_V13::All'
0008 
0009 from JetMETCorrections.Configuration.JetCorrectionServicesAllAlgos_cff import *
0010 
0011 
0012 
0013 process.GlobalTag.toGet = cms.VPSet(
0014     cms.PSet(record = cms.string("JetCorrectionsRecord"),
0015              tag = cms.string("JetCorrectorParametersCollection_Spring10_V5_AK5Calo"),
0016              connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_31X_PHYSICSTOOLS"),
0017              label=cms.untracked.string("AK5CaloNew")),
0018     cms.PSet(record = cms.string("JetCorrectionsRecord"),
0019              tag = cms.string("JetCorrectorParametersCollection_Summer10_V5_AK5JPT"),
0020              connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_31X_PHYSICSTOOLS"),
0021              label=cms.untracked.string("AK5JPTNew")),
0022     cms.PSet(record = cms.string("JetCorrectionsRecord"),
0023              tag = cms.string("JetCorrectorParametersCollection_Spring10_V5_IC5Calo"),
0024              connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_31X_PHYSICSTOOLS"),
0025              label=cms.untracked.string("IC5CaloNew")),    
0026     )
0027 
0028 
0029 
0030 process.maxEvents = cms.untracked.PSet(
0031         input = cms.untracked.int32(1)
0032         )
0033 
0034 process.source = cms.Source("EmptySource")
0035 
0036 process.demo2 = cms.EDAnalyzer('JetCorrectorDBReader', 
0037         payloadName    = cms.untracked.string('AK5CaloNew'),
0038         printScreen    = cms.untracked.bool(False),
0039         createTextFile = cms.untracked.bool(False)
0040 )
0041 
0042 
0043 process.demo3 = cms.EDAnalyzer('JetCorrectorDBReader', 
0044         payloadName    = cms.untracked.string('AK5JPTNew'),
0045         printScreen    = cms.untracked.bool(False),
0046         createTextFile = cms.untracked.bool(False)
0047 )
0048 
0049 
0050 process.demo4 = cms.EDAnalyzer('JetCorrectorDBReader', 
0051         payloadName    = cms.untracked.string('IC5CaloNew'),
0052         printScreen    = cms.untracked.bool(False),
0053         createTextFile = cms.untracked.bool(False)
0054 )
0055 
0056 
0057 process.p = cms.Path(process.demo2 * process.demo3 * process.demo4)