Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:19:25

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("myprocess")
0004 
0005 
0006 process.load('Configuration.StandardSequences.Services_cff')
0007 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0008 process.GlobalTag.globaltag = 'START38_V6::All'
0009 process.GlobalTag.connect = 'sqlite_file:START38_V6.db'
0010 process.load('JetMETCorrections.Configuration.DefaultJEC_cff')
0011 
0012 process.maxEvents = cms.untracked.PSet(
0013         input = cms.untracked.int32(100)
0014         )
0015 
0016 #process.source = cms.Source("EmptySource")
0017 #############   Define the source file ###############
0018 process.source = cms.Source("PoolSource",
0019     fileNames = cms.untracked.vstring('/store/relval/CMSSW_3_8_0_pre7/RelValTTbar/GEN-SIM-RECO/START38_V4-v1/0002/DC19EA07-4286-DF11-BD2B-0030487CD16E.root')
0020 )
0021 
0022 process.TFileService=cms.Service("TFileService",fileName=cms.string('histos.root'))
0023 jetPtHistogram = cms.PSet(min          = cms.untracked.double(     10),
0024                           max          = cms.untracked.double(    200),
0025                           nbins        = cms.untracked.int32 (     50),
0026                           name         = cms.untracked.string('JetPt'),
0027                           description  = cms.untracked.string(     ''),
0028                           plotquantity = cms.untracked.string(   'pt')
0029                           )
0030 process.ak5CaloL2L3Histos = cms.EDAnalyzer(
0031     'CandViewHistoAnalyzer',
0032     src = cms.InputTag('ak5CaloJetsL2L3'),
0033     histograms = cms.VPSet(jetPtHistogram)
0034     )
0035 
0036 process.p = cms.Path(process.ak5CaloJetsL2L3 * process.ak5CaloL2L3Histos)
0037 
0038 
0039 
0040 
0041 
0042 
0043 
0044 
0045 
0046