Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:20:58

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 nevts=200
0004 histofile="histo.root"
0005 
0006 process = cms.Process("Demo")
0007 
0008 process.maxEvents = cms.untracked.PSet(
0009     input = cms.untracked.int32(nevts)
0010 )
0011 
0012 # use TFileService for output histograms
0013 process.TFileService = cms.Service("TFileService",
0014                               fileName = cms.string(histofile)
0015                               )
0016 
0017 process.source = cms.Source("PoolSource",
0018                            fileNames = cms.untracked.vstring(
0019         # TTbar RelVal 2.1.0
0020         '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/02F674DE-A160-DD11-A882-001617DBD5AC.root',
0021         '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/04327AC0-1C61-DD11-93B8-001BFCDBD19E.root',
0022         '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/06621B92-A060-DD11-B33C-000423D6CA6E.root',
0023         '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/08059389-0E61-DD11-89D1-001A928116DC.root',
0024         '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/0830A57C-1561-DD11-9B9D-001731A28A31.root',
0025         '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/0C6AEA0F-0E61-DD11-BF9F-0018F3D096E0.root',
0026         '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/0C74136A-1761-DD11-80D7-0018F3D09686.root',
0027         '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/18D5104F-A060-DD11-8746-000423D991D4.root',
0028         '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/1ED2C659-1861-DD11-857C-0017312B5F3F.root',
0029         '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/1EDB2A98-0D61-DD11-9D88-003048767DDB.root'
0030            )
0031 )
0032 
0033 process.load("FWCore.MessageService.MessageLogger_cfi")
0034 process.MessageLogger.cerr.FwkReport.reportEvery = 1000
0035 
0036 process.SingleJetAnalyser = cms.EDFilter("JetMETHLTAnalyzer",
0037                                  Debug    = cms.bool(True),
0038                                  Progress  = cms.int32(1),
0039                                  CaloJets = cms.string('ak4CaloJets'),
0040                                  GenJets  = cms.string('ak4GenJets'),
0041                                  HLTriggerResults = cms.InputTag("TriggerResults::HLT"),
0042                                  l1extramc  = cms.string('l1extraParticles')
0043                                  )
0044 
0045 process.p1 = cms.Path(process.SingleJetAnalyser)
0046 
0047 process.schedule = cms.Schedule(process.p1)