3 process = cms.Process(
"SKIM")
4 process.load(
"FWCore.MessageLogger.MessageLogger_cfi")
7 process.skimming = cms.EDFilter(
"FilterOutScraping",
8 applyfilter = cms.untracked.bool(
True),
9 debugOn = cms.untracked.bool(
True),
10 numtrack = cms.untracked.uint32(10),
11 thresh = cms.untracked.double(0.2)
15 process.configurationMetadata = cms.untracked.PSet(
16 version = cms.untracked.string(
'$Revision: 1.1 $'),
17 name = cms.untracked.string(
'$Source: /local/reps/CMSSW/CMSSW/DPGAnalysis/Skims/python/skim_noscrape_cfg.py,v $'),
18 annotation = cms.untracked.string(
'NoScrape skim')
21 process.maxEvents = cms.untracked.PSet(
22 input = cms.untracked.int32(1000)
25 process.out = cms.OutputModule(
"PoolOutputModule",
26 fileName = cms.untracked.string(
'mytest_noscraping.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(
'FilterOutScraping')),
31 SelectEvents = cms.untracked.PSet(
32 SelectEvents = cms.vstring(
'p')
36 process.p = cms.Path(process.skimming)
37 process.e = cms.EndPath(process.out)
39 myfilelist = cms.untracked.vstring()
48 '/store/caf/user/azzi/BSC_activity_2.root'
50 process.source = cms.Source(
'PoolSource',
51 debugVerbosity = cms.untracked.uint32(0),
52 debugFlag = cms.untracked.bool(
False),
53 fileNames = myfilelist )