test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
jetmet_cfg.py
Go to the documentation of this file.
2 
3 nevts=200
4 histofile="histo.root"
5 
6 process = cms.Process("Demo")
7 
8 process.maxEvents = cms.untracked.PSet(
9  input = cms.untracked.int32(nevts)
10 )
11 
12 # use TFileService for output histograms
13 process.TFileService = cms.Service("TFileService",
14  fileName = cms.string(histofile)
15  )
16 
17 process.source = cms.Source("PoolSource",
18  fileNames = cms.untracked.vstring(
19  # TTbar RelVal 2.1.0
20  '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/02F674DE-A160-DD11-A882-001617DBD5AC.root',
21  '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/04327AC0-1C61-DD11-93B8-001BFCDBD19E.root',
22  '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/06621B92-A060-DD11-B33C-000423D6CA6E.root',
23  '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/08059389-0E61-DD11-89D1-001A928116DC.root',
24  '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/0830A57C-1561-DD11-9B9D-001731A28A31.root',
25  '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/0C6AEA0F-0E61-DD11-BF9F-0018F3D096E0.root',
26  '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/0C74136A-1761-DD11-80D7-0018F3D09686.root',
27  '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/18D5104F-A060-DD11-8746-000423D991D4.root',
28  '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/1ED2C659-1861-DD11-857C-0017312B5F3F.root',
29  '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/1EDB2A98-0D61-DD11-9D88-003048767DDB.root'
30  )
31 )
32 
33 process.load("FWCore.MessageService.MessageLogger_cfi")
34 process.MessageLogger.cerr.FwkReport.reportEvery = 1000
35 
36 process.SingleJetAnalyser = cms.EDFilter("JetMETHLTAnalyzer",
37  Debug = cms.bool(True),
38  Progress = cms.int32(1),
39  CaloJets = cms.string('iterativeCone5CaloJets'),
40  GenJets = cms.string('iterativeCone5GenJets'),
41  HLTriggerResults = cms.InputTag("TriggerResults::HLT"),
42  l1extramc = cms.string('l1extraParticles')
43  )
44 
45 process.p1 = cms.Path(process.SingleJetAnalyser)
46 
47 process.schedule = cms.Schedule(process.p1)