CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
skim_physdecl_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("SKIM")
4 process.load("FWCore.MessageLogger.MessageLogger_cfi")
5 
6 
7 process.skimming = cms.EDFilter("PhysDecl",
8  applyfilter = cms.untracked.bool(True),
9  debugOn = cms.untracked.bool(True),
10  HLTriggerResults = cms.InputTag("TriggerResults","","HLT")
11 
12 )
13 
14 
15 process.configurationMetadata = cms.untracked.PSet(
16  version = cms.untracked.string('$Revision: 1.2 $'),
17  name = cms.untracked.string('$Source: /cvs/CMSSW/CMSSW/DPGAnalysis/Skims/python/skim_physdecl_cfg.py,v $'),
18  annotation = cms.untracked.string('PhysDecl skim')
19 )
20 
21 process.maxEvents = cms.untracked.PSet(
22  input = cms.untracked.int32(-1)
23 )
24 
25 process.out = cms.OutputModule("PoolOutputModule",
26  fileName = cms.untracked.string('mytest_physdecl.root'),
27  outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
28  dataset = cms.untracked.PSet(
29  dataTier = cms.untracked.string('RECO'),
30  filterName = cms.untracked.string('PhysDecl')),
31  SelectEvents = cms.untracked.PSet(
32  SelectEvents = cms.vstring('p')
33  )
34 )
35 
36 process.p = cms.Path(process.skimming)
37 process.e = cms.EndPath(process.out)
38 
39 myfilelist = cms.untracked.vstring()
40 
41 #myfilelist.extend( ['file:evenmorefile1.root','file:evenmorefile2.root'] )
42 #process.source = cms.Source("PoolSource",
43 # debugVerbosity = cms.untracked.uint32(0),
44 # debugFlag = cms.untracked.bool(False),
45 # fileNames = myfilelist
46 #))
47 myfilelist.extend( [
48 '/store/express/BeamCommissioning09/OfflineMonitor/FEVTHLTALL/v1/000/121/550/CCD51E51-52D4-DE11-A51D-001617C3B654.root',
49 '/store/express/BeamCommissioning09/OfflineMonitor/FEVTHLTALL/v1/000/121/550/C2C8880A-55D4-DE11-8883-001617C3B6DE.root',
50 '/store/express/BeamCommissioning09/OfflineMonitor/FEVTHLTALL/v1/000/121/550/B047990A-55D4-DE11-A6A0-001D09F23944.root',
51 '/store/express/BeamCommissioning09/OfflineMonitor/FEVTHLTALL/v1/000/121/550/42C5EC0B-55D4-DE11-ABA3-001617DBD556.root'
52 #'/store/data/BeamCommissioning09/Cosmics/RECO/v2/000/121/550/AAC5F95D-5BD4-DE11-BA3F-000423D94524.root'
53 #'/store/data/BeamCommissioning09/RandomTriggers/RAW/v1/000/121/550/845D19D0-57D4-DE11-8FF8-001D09F23944.root'
54 ] )
55 process.source = cms.Source('PoolSource',
56  debugVerbosity = cms.untracked.uint32(0),
57  debugFlag = cms.untracked.bool(False),
58  fileNames = myfilelist )
59