Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 process = cms.Process("SKIM")
00004 process.load("FWCore.MessageLogger.MessageLogger_cfi")
00005
00006
00007 process.skimming = cms.EDFilter("PhysDecl",
00008 applyfilter = cms.untracked.bool(True),
00009 debugOn = cms.untracked.bool(True),
00010 HLTriggerResults = cms.InputTag("TriggerResults","","HLT")
00011
00012 )
00013
00014
00015 process.configurationMetadata = cms.untracked.PSet(
00016 version = cms.untracked.string('$Revision: 1.3 $'),
00017 name = cms.untracked.string('$Source: /cvs/CMSSW/CMSSW/DPGAnalysis/Skims/python/skim_physdecl_cfg.py,v $'),
00018 annotation = cms.untracked.string('PhysDecl skim')
00019 )
00020
00021 process.maxEvents = cms.untracked.PSet(
00022 input = cms.untracked.int32(-1)
00023 )
00024
00025 process.out = cms.OutputModule("PoolOutputModule",
00026 fileName = cms.untracked.string('mytest_physdecl.root'),
00027 outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
00028 dataset = cms.untracked.PSet(
00029 dataTier = cms.untracked.string('RECO'),
00030 filterName = cms.untracked.string('PhysDecl')),
00031 SelectEvents = cms.untracked.PSet(
00032 SelectEvents = cms.vstring('p')
00033 )
00034 )
00035
00036 process.p = cms.Path(process.skimming)
00037 process.e = cms.EndPath(process.out)
00038
00039 myfilelist = cms.untracked.vstring()
00040
00041
00042
00043
00044
00045
00046
00047 myfilelist.extend( [
00048 '/store/express/BeamCommissioning09/OfflineMonitor/FEVTHLTALL/v1/000/121/550/CCD51E51-52D4-DE11-A51D-001617C3B654.root',
00049 '/store/express/BeamCommissioning09/OfflineMonitor/FEVTHLTALL/v1/000/121/550/C2C8880A-55D4-DE11-8883-001617C3B6DE.root',
00050 '/store/express/BeamCommissioning09/OfflineMonitor/FEVTHLTALL/v1/000/121/550/B047990A-55D4-DE11-A6A0-001D09F23944.root',
00051 '/store/express/BeamCommissioning09/OfflineMonitor/FEVTHLTALL/v1/000/121/550/42C5EC0B-55D4-DE11-ABA3-001617DBD556.root'
00052
00053
00054 ] )
00055 process.source = cms.Source('PoolSource',
00056 debugVerbosity = cms.untracked.uint32(0),
00057 debugFlag = cms.untracked.bool(False),
00058 fileNames = myfilelist )
00059