1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"RESKIM")
4 process.load(
"FWCore.MessageLogger.MessageLogger_cfi")
9 process.options = cms.untracked.PSet(
10 wantSummary = cms.untracked.bool(
True)
14 process.skimming = cms.EDFilter(
"ECALActivity",
15 ebrechitcollection = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEB"),
16 eerechitcollection = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEE"),
17 EBnum = cms.untracked.int32(7),
18 EBthresh = cms.untracked.double(0.3),
19 EEnum = cms.untracked.int32(5),
20 EEthresh = cms.untracked.double(0.5),
21 ETOTnum = cms.untracked.int32(3),
22 ETOTthresh = cms.untracked.double(0.8),
23 applyfilter = cms.untracked.bool(
True)
26 process.source = cms.Source(
"PoolSource",
27 debugVerbosity = cms.untracked.uint32(0),
28 debugFlag = cms.untracked.bool(
False),
29 fileNames = cms.untracked.vstring(
30 'file:/afs/cern.ch/cms/CAF/CMSCOMM/COMM_GLOBAL/bit40or41skim.root' 52 process.configurationMetadata = cms.untracked.PSet(
53 version = cms.untracked.string(
'$Revision: 1.1 $'),
54 name = cms.untracked.string(
'$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/BeamSplash_cfg.py,v $'),
55 annotation = cms.untracked.string(
'ECALActivity skim')
58 process.maxEvents = cms.untracked.PSet(
59 input = cms.untracked.int32(-1)
61 process.out = cms.OutputModule(
"PoolOutputModule",
62 fileName = cms.untracked.string(
'ECALActivity.root'),
63 outputCommands = cms.untracked.vstring(
'keep *',
'drop *_MEtoEDMConverter_*_*'),
64 dataset = cms.untracked.PSet(
65 dataTier = cms.untracked.string(
'RECO'),
66 filterName = cms.untracked.string(
'ECALActivity')),
67 SelectEvents = cms.untracked.PSet(
68 SelectEvents = cms.vstring(
'p')
72 process.p = cms.Path(process.skimming)
73 process.e = cms.EndPath(process.out)