1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"SKIM2")
4 process.load(
"FWCore.MessageLogger.MessageLogger_cfi")
9 process.options = cms.untracked.PSet(
10 wantSummary = cms.untracked.bool(
True)
14 process.ecalskim = 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)
25 process.ecal = cms.Path(process.ecalskim)
27 process.load(
'L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff')
28 process.load(
'HLTrigger/HLTfilters/hltLevel1GTSeed_cfi')
29 process.hltLevel1GTSeed.L1TechTriggerSeeding = cms.bool(
True)
30 process.hltLevel1GTSeed.L1SeedsLogicalExpression = cms.string(
'32 OR 33 OR 34 OR 35 OR 36 OR 37 OR 38 OR 39 OR 40 OR 41 OR 42 OR 43')
31 process.bsc = cms.Path(process.hltLevel1GTSeed)
33 process.load(
'DPGAnalysis/SiStripTools/largesistripclusterevents_cfi')
34 process.largeSiStripClusterEvents.absoluteThreshold = 50
35 process.largeSiStripClusterEvents.moduleThreshold = 1000
36 process.clusters = cms.Path(process.largeSiStripClusterEvents)
41 process.source = cms.Source(
"PoolSource",
42 debugVerbosity = cms.untracked.uint32(0),
43 debugFlag = cms.untracked.bool(
False),
44 fileNames = cms.untracked.vstring(
45 'file:/afs/cern.ch/cms/CAF/CMSCOMM/COMM_GLOBAL/bit40or41skim.root'
67 process.configurationMetadata = cms.untracked.PSet(
68 version = cms.untracked.string(
'$Revision: 1.1 $'),
69 name = cms.untracked.string(
'$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/ECALActivity_cfg.py,v $'),
70 annotation = cms.untracked.string(
'BSC_ACTIVITY skim')
73 process.maxEvents = cms.untracked.PSet(
74 input = cms.untracked.int32(-1)
79 process.out = cms.OutputModule(
"PoolOutputModule",
80 fileName = cms.untracked.string(
'BSC_activity.root'),
81 outputCommands = cms.untracked.vstring(
'keep *',
'drop *_MEtoEDMConverter_*_*'),
82 dataset = cms.untracked.PSet(
83 dataTier = cms.untracked.string(
'RECO'),
84 filterName = cms.untracked.string(
'BSC_Activity')),
85 SelectEvents = cms.untracked.PSet(
86 SelectEvents = cms.vstring(
'ecal',
'bsc',
'clusters')
90 process.e = cms.EndPath(process.out)