1 import FWCore.ParameterSet.Config
as cms
17 process = cms.Process(
"SKIM2")
18 process.load(
"FWCore.MessageLogger.MessageLogger_cfi")
20 process.skimming = cms.EDFilter(
"FilterScrapingPixelProbability",
21 apply_filter = cms.untracked.bool(
True ),
22 select_collision = cms.untracked.bool(
False ),
23 select_pkam = cms.untracked.bool(
True ),
24 select_other = cms.untracked.bool(
False ),
25 low_probability = cms.untracked.double( 0.0 ),
26 low_probability_fraction_cut = cms.untracked.double( 0.4 )
36 process.maxEvents = cms.untracked.PSet(
37 input = cms.untracked.int32(-1)
41 process.source = cms.Source(
"PoolSource",
42 fileNames = cms.untracked.vstring(
43 "/store/data/BeamCommissioning09/MinimumBias/RAW-RECO/BSCNOBEAMHALO-Dec14thSkim_v1/0102/6081FF95-72EA-DE11-94C4-0024E8768446.root"
48 process.out = cms.OutputModule(
"PoolOutputModule",
49 fileName = cms.untracked.string(
'/tmp/ggiurgiu/mytest_select_pkam_only.root'),
50 SelectEvents = cms.untracked.PSet( SelectEvents = cms.vstring(
'p') )
53 process.p = cms.Path(process.skimming)
54 process.e = cms.EndPath(process.out)