File indexing completed on 2024-04-06 12:06:47
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 process = cms.Process("SKIM2")
0018 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0019
0020 process.skimming = cms.EDFilter("FilterScrapingPixelProbability",
0021 apply_filter = cms.untracked.bool( True ),
0022 select_collision = cms.untracked.bool( False ),
0023 select_pkam = cms.untracked.bool( True ),
0024 select_other = cms.untracked.bool( False ),
0025 low_probability = cms.untracked.double( 0.0 ),
0026 low_probability_fraction_cut = cms.untracked.double( 0.4 )
0027 )
0028
0029
0030
0031
0032
0033
0034
0035
0036 process.maxEvents = cms.untracked.PSet(
0037 input = cms.untracked.int32(-1)
0038 )
0039
0040
0041 process.source = cms.Source("PoolSource",
0042 fileNames = cms.untracked.vstring(
0043 "/store/data/BeamCommissioning09/MinimumBias/RAW-RECO/BSCNOBEAMHALO-Dec14thSkim_v1/0102/6081FF95-72EA-DE11-94C4-0024E8768446.root"
0044 )
0045 )
0046
0047
0048 process.out = cms.OutputModule("PoolOutputModule",
0049 fileName = cms.untracked.string('/tmp/ggiurgiu/mytest_select_pkam_only.root'),
0050 SelectEvents = cms.untracked.PSet( SelectEvents = cms.vstring('p') )
0051 )
0052
0053 process.p = cms.Path(process.skimming)
0054 process.e = cms.EndPath(process.out)
0055
0056