Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 process = cms.Process("SKIM2")
00004 process.load("FWCore.MessageLogger.MessageLogger_cfi")
00005
00006
00007
00008
00009 process.options = cms.untracked.PSet(
00010 wantSummary = cms.untracked.bool(True)
00011 )
00012
00013
00014 process.ecalskim = cms.EDFilter("ECALActivity",
00015 ebrechitcollection = cms.InputTag("ecalRecHit","EcalRecHitsEB"),
00016 eerechitcollection = cms.InputTag("ecalRecHit","EcalRecHitsEE"),
00017 EBnum = cms.untracked.int32(7),
00018 EBthresh = cms.untracked.double(0.3),
00019 EEnum = cms.untracked.int32(5),
00020 EEthresh = cms.untracked.double(0.5),
00021 ETOTnum = cms.untracked.int32(3),
00022 ETOTthresh = cms.untracked.double(0.8),
00023 applyfilter = cms.untracked.bool(True)
00024 )
00025 process.ecal = cms.Path(process.ecalskim)
00026
00027 process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff')
00028 process.load('HLTrigger/HLTfilters/hltLevel1GTSeed_cfi')
00029 process.hltLevel1GTSeed.L1TechTriggerSeeding = cms.bool(True)
00030 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')
00031 process.bsc = cms.Path(process.hltLevel1GTSeed)
00032
00033 process.load('DPGAnalysis/SiStripTools/largesistripclusterevents_cfi')
00034 process.largeSiStripClusterEvents.absoluteThreshold = 50
00035 process.largeSiStripClusterEvents.moduleThreshold = 1000
00036 process.clusters = cms.Path(process.largeSiStripClusterEvents)
00037
00038
00039
00040
00041 process.source = cms.Source("PoolSource",
00042 debugVerbosity = cms.untracked.uint32(0),
00043 debugFlag = cms.untracked.bool(False),
00044 fileNames = cms.untracked.vstring(
00045 'file:/afs/cern.ch/cms/CAF/CMSCOMM/COMM_GLOBAL/bit40or41skim.root'
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065 ))
00066
00067 process.configurationMetadata = cms.untracked.PSet(
00068 version = cms.untracked.string('$Revision: 1.1 $'),
00069 name = cms.untracked.string('$Source: /local/reps/CMSSW/CMSSW/DPGAnalysis/Skims/python/bsc_activity_cfg.py,v $'),
00070 annotation = cms.untracked.string('BSC_ACTIVITY skim')
00071 )
00072
00073 process.maxEvents = cms.untracked.PSet(
00074 input = cms.untracked.int32(-1)
00075 )
00076
00077
00078
00079 process.out = cms.OutputModule("PoolOutputModule",
00080 fileName = cms.untracked.string('BSC_activity.root'),
00081 outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
00082 dataset = cms.untracked.PSet(
00083 dataTier = cms.untracked.string('RECO'),
00084 filterName = cms.untracked.string('BSC_Activity')),
00085 SelectEvents = cms.untracked.PSet(
00086 SelectEvents = cms.vstring('ecal','bsc','clusters')
00087 )
00088 )
00089
00090 process.e = cms.EndPath(process.out)
00091