File indexing completed on 2024-04-06 12:06:45
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("SKIM2")
0004 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0005
0006
0007
0008
0009 process.options = cms.untracked.PSet(
0010 wantSummary = cms.untracked.bool(True)
0011 )
0012
0013
0014 process.ecalskim = cms.EDFilter("ECALActivity",
0015 ebrechitcollection = cms.InputTag("ecalRecHit","EcalRecHitsEB"),
0016 eerechitcollection = cms.InputTag("ecalRecHit","EcalRecHitsEE"),
0017 EBnum = cms.untracked.int32(7),
0018 EBthresh = cms.untracked.double(0.3),
0019 EEnum = cms.untracked.int32(5),
0020 EEthresh = cms.untracked.double(0.5),
0021 ETOTnum = cms.untracked.int32(3),
0022 ETOTthresh = cms.untracked.double(0.8),
0023 applyfilter = cms.untracked.bool(True)
0024 )
0025 process.ecal = cms.Path(process.ecalskim)
0026
0027 process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff')
0028 process.load('HLTrigger/HLTfilters/hltLevel1GTSeed_cfi')
0029 process.hltLevel1GTSeed.L1TechTriggerSeeding = cms.bool(True)
0030 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')
0031 process.bsc = cms.Path(process.hltLevel1GTSeed)
0032
0033 process.load('DPGAnalysis/SiStripTools/largesistripclusterevents_cfi')
0034 process.largeSiStripClusterEvents.absoluteThreshold = 50
0035 process.largeSiStripClusterEvents.moduleThreshold = 1000
0036 process.clusters = cms.Path(process.largeSiStripClusterEvents)
0037
0038
0039
0040
0041 process.source = cms.Source("PoolSource",
0042 debugVerbosity = cms.untracked.uint32(0),
0043 debugFlag = cms.untracked.bool(False),
0044 fileNames = cms.untracked.vstring(
0045 'file:/afs/cern.ch/cms/CAF/CMSCOMM/COMM_GLOBAL/bit40or41skim.root'
0046
0047
0048
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061
0062
0063
0064
0065 ))
0066
0067 process.configurationMetadata = cms.untracked.PSet(
0068 version = cms.untracked.string('$Revision: 1.1 $'),
0069 name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/ECALActivity_cfg.py,v $'),
0070 annotation = cms.untracked.string('BSC_ACTIVITY skim')
0071 )
0072
0073 process.maxEvents = cms.untracked.PSet(
0074 input = cms.untracked.int32(-1)
0075 )
0076
0077
0078
0079 process.out = cms.OutputModule("PoolOutputModule",
0080 fileName = cms.untracked.string('BSC_activity.root'),
0081 outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
0082 dataset = cms.untracked.PSet(
0083 dataTier = cms.untracked.string('RECO'),
0084 filterName = cms.untracked.string('BSC_Activity')),
0085 SelectEvents = cms.untracked.PSet(
0086 SelectEvents = cms.vstring('ecal','bsc','clusters')
0087 )
0088 )
0089
0090 process.e = cms.EndPath(process.out)
0091