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("jectxt")
0003 process.load('Configuration.StandardSequences.Services_cff')
0004 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0005 # define your favorite global tag
0006 process.GlobalTag.globaltag = 'GR_R_42_V19::All'
0007 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(1))
0008 process.source = cms.Source("EmptySource")
0009 process.readAK5PF    = cms.EDAnalyzer('JetCorrectorDBReader',  
0010       # below is the communication to the database 
0011       payloadName    = cms.untracked.string('AK5PF'),
0012       # this is used ONLY for the name of the printed txt files. You can use any name that you like, 
0013       # but it is recommended to use the GT name that you retrieved the files from.
0014       globalTag      = cms.untracked.string('GR_R_42_V19'),  
0015       printScreen    = cms.untracked.bool(False),
0016       createTextFile = cms.untracked.bool(True)
0017 )
0018 process.p = cms.Path(process.readAK5PF )