1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
import FWCore.ParameterSet.Config as cms
process = cms.Process("SKIM")
process.load("FWCore.MessageLogger.MessageLogger_cfi")
process.skimming = cms.EDFilter("FilterOutScraping",
applyfilter = cms.untracked.bool(True),
debugOn = cms.untracked.bool(True),
numtrack = cms.untracked.uint32(10),
thresh = cms.untracked.double(0.2)
)
process.configurationMetadata = cms.untracked.PSet(
version = cms.untracked.string('$Revision: 1.1 $'),
name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/skim_noscrape_cfg.py,v $'),
annotation = cms.untracked.string('NoScrape skim')
)
process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(1000)
)
process.out = cms.OutputModule("PoolOutputModule",
fileName = cms.untracked.string('mytest_noscraping.root'),
outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
dataset = cms.untracked.PSet(
dataTier = cms.untracked.string('RECO'),
filterName = cms.untracked.string('FilterOutScraping')),
SelectEvents = cms.untracked.PSet(
SelectEvents = cms.vstring('p')
)
)
process.p = cms.Path(process.skimming)
process.e = cms.EndPath(process.out)
myfilelist = cms.untracked.vstring()
#myfilelist.extend( ['file:evenmorefile1.root','file:evenmorefile2.root'] )
#process.source = cms.Source("PoolSource",
# debugVerbosity = cms.untracked.uint32(0),
# debugFlag = cms.untracked.bool(False),
# fileNames = myfilelist
#))
myfilelist.extend( [
'/store/caf/user/azzi/BSC_activity_2.root'
] )
process.source = cms.Source('PoolSource',
debugVerbosity = cms.untracked.uint32(0),
debugFlag = cms.untracked.bool(False),
fileNames = myfilelist )
|