CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/HLTriggerOffline/JetMET/run/jetmet_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 nevts=200
00004 histofile="histo.root"
00005 
00006 process = cms.Process("Demo")
00007 
00008 process.maxEvents = cms.untracked.PSet(
00009     input = cms.untracked.int32(nevts)
00010 )
00011 
00012 # use TFileService for output histograms
00013 process.TFileService = cms.Service("TFileService",
00014                               fileName = cms.string(histofile)
00015                               )
00016 
00017 process.source = cms.Source("PoolSource",
00018                            fileNames = cms.untracked.vstring(
00019         # TTbar RelVal 2.1.0
00020         '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/02F674DE-A160-DD11-A882-001617DBD5AC.root',
00021         '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/04327AC0-1C61-DD11-93B8-001BFCDBD19E.root',
00022         '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/06621B92-A060-DD11-B33C-000423D6CA6E.root',
00023         '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/08059389-0E61-DD11-89D1-001A928116DC.root',
00024         '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/0830A57C-1561-DD11-9B9D-001731A28A31.root',
00025         '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/0C6AEA0F-0E61-DD11-BF9F-0018F3D096E0.root',
00026         '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/0C74136A-1761-DD11-80D7-0018F3D09686.root',
00027         '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/18D5104F-A060-DD11-8746-000423D991D4.root',
00028         '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/1ED2C659-1861-DD11-857C-0017312B5F3F.root',
00029         '/store/relval/CMSSW_2_1_0/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V4_v1/0001/1EDB2A98-0D61-DD11-9D88-003048767DDB.root'
00030            )
00031 )
00032 
00033 process.load("FWCore.MessageService.MessageLogger_cfi")
00034 process.MessageLogger.cerr.FwkReport.reportEvery = 1000
00035 
00036 process.SingleJetAnalyser = cms.EDFilter("JetMETHLTAnalyzer",
00037                                  Debug    = cms.bool(True),
00038                                  Progress  = cms.int32(1),
00039                                  CaloJets = cms.string('iterativeCone5CaloJets'),
00040                                  GenJets  = cms.string('iterativeCone5GenJets'),
00041                                  HLTriggerResults = cms.InputTag("TriggerResults::HLT"),
00042                                  l1extramc  = cms.string('l1extraParticles')
00043                                  )
00044 
00045 process.p1 = cms.Path(process.SingleJetAnalyser)
00046 
00047 process.schedule = cms.Schedule(process.p1)