Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:09:16

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("SKIM")
0004 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0005 
0006 
0007 process.skimming = cms.EDFilter("PhysDecl",
0008     applyfilter = cms.untracked.bool(True),
0009     debugOn = cms.untracked.bool(True),
0010     HLTriggerResults = cms.InputTag("TriggerResults","","HLT")
0011 
0012 )
0013 
0014 
0015 process.configurationMetadata = cms.untracked.PSet(
0016     version = cms.untracked.string('$Revision: 1.2 $'),
0017     name = cms.untracked.string('$Source: /cvs/CMSSW/CMSSW/DPGAnalysis/Skims/python/skim_physdecl_cfg.py,v $'),
0018     annotation = cms.untracked.string('PhysDecl skim')
0019 )
0020 
0021 process.maxEvents = cms.untracked.PSet(
0022     input = cms.untracked.int32(-1)
0023 )
0024 
0025 process.out = cms.OutputModule("PoolOutputModule",
0026     fileName = cms.untracked.string('mytest_physdecl.root'),
0027     outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
0028     dataset = cms.untracked.PSet(
0029               dataTier = cms.untracked.string('RECO'),
0030               filterName = cms.untracked.string('PhysDecl')),
0031     SelectEvents = cms.untracked.PSet(
0032         SelectEvents = cms.vstring('p')
0033     )
0034 )
0035 
0036 process.p = cms.Path(process.skimming)
0037 process.e = cms.EndPath(process.out)
0038 
0039 myfilelist = cms.untracked.vstring()
0040 
0041 #myfilelist.extend( ['file:evenmorefile1.root','file:evenmorefile2.root'] )
0042 #process.source = cms.Source("PoolSource",
0043 #    debugVerbosity = cms.untracked.uint32(0),
0044 #    debugFlag = cms.untracked.bool(False),
0045 #    fileNames = myfilelist
0046 #))
0047 myfilelist.extend( [
0048 '/store/express/BeamCommissioning09/OfflineMonitor/FEVTHLTALL/v1/000/121/550/CCD51E51-52D4-DE11-A51D-001617C3B654.root',
0049 '/store/express/BeamCommissioning09/OfflineMonitor/FEVTHLTALL/v1/000/121/550/C2C8880A-55D4-DE11-8883-001617C3B6DE.root',
0050 '/store/express/BeamCommissioning09/OfflineMonitor/FEVTHLTALL/v1/000/121/550/B047990A-55D4-DE11-A6A0-001D09F23944.root',
0051 '/store/express/BeamCommissioning09/OfflineMonitor/FEVTHLTALL/v1/000/121/550/42C5EC0B-55D4-DE11-ABA3-001617DBD556.root'
0052 #'/store/data/BeamCommissioning09/Cosmics/RECO/v2/000/121/550/AAC5F95D-5BD4-DE11-BA3F-000423D94524.root'
0053 #'/store/data/BeamCommissioning09/RandomTriggers/RAW/v1/000/121/550/845D19D0-57D4-DE11-8FF8-001D09F23944.root'
0054 ] )
0055 process.source = cms.Source('PoolSource',
0056     debugVerbosity = cms.untracked.uint32(0),
0057     debugFlag = cms.untracked.bool(False),
0058     fileNames = myfilelist )
0059