File indexing completed on 2024-04-06 12:08:52
0001
0002
0003 import FWCore.ParameterSet.Config as cms
0004 from Configuration.AlCa.GlobalTag import GlobalTag
0005
0006 process = cms.Process('SPYEVENTMATCHING')
0007
0008
0009 process.source = cms.Source(
0010 'PoolSource',
0011 fileNames = cms.untracked.vstring(
0012
0013 'file:/eos/user/j/jblee/MainStream/298/269/00000/D04CCB24-4862-E711-92F2-02163E011F09.root',
0014
0015
0016
0017
0018
0019
0020
0021 )
0022 )
0023
0024 process.maxEvents = cms.untracked.PSet(
0025 input = cms.untracked.int32(-1)
0026 )
0027
0028
0029 process.load('DQM.SiStripCommon.MessageLogger_cfi')
0030 process.load('EventFilter.SiStripRawToDigi.SiStripDigis_cfi')
0031
0032
0033
0034
0035 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0036 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_data', '')
0037 process.load("Configuration.Geometry.GeometryRecoDB_cff")
0038
0039
0040
0041 process.load('DQM.SiStripMonitorHardware.SiStripSpyEventMatcher_cfi')
0042 process.SiStripSpyEventMatcher.SpySource.fileNames = cms.untracked.vstring(
0043
0044 'file:/eos/cms/store/user/jblee//SpyRawToDigis298270_TEST.root'
0045 )
0046 process.SiStripSpyEventMatcher.FilterNonMatchingEvents = cms.bool(True)
0047 process.SiStripSpyEventMatcher.MergeData = cms.bool(True)
0048 process.SiStripSpyEventMatcher.PrimaryEventRawDataTag = cms.InputTag('rawDataCollector')
0049 process.SiStripSpyEventMatcher.SpyTotalEventCountersTag = cms.InputTag('SiStripSpyUnpacker','TotalEventCount')
0050 process.SiStripSpyEventMatcher.SpyL1ACountersTag = cms.InputTag('SiStripSpyUnpacker','L1ACount')
0051 process.SiStripSpyEventMatcher.SpyAPVAddressesTag = cms.InputTag('SiStripSpyDigiConverter','APVAddress')
0052 process.SiStripSpyEventMatcher.RawSpyDataTag = cms.InputTag('rawDataCollector')
0053 process.SiStripSpyEventMatcher.SpyScopeDigisTag = cms.InputTag('SiStripSpyUnpacker','ScopeRawDigis')
0054 process.SiStripSpyEventMatcher.SpyPayloadDigisTag = cms.InputTag('SiStripSpyDigiConverter','SpyPayload')
0055 process.SiStripSpyEventMatcher.SpyReorderedDigisTag = cms.InputTag('SiStripSpyDigiConverter','SpyReordered')
0056 process.SiStripSpyEventMatcher.SpyVirginRawDigisTag = cms.InputTag('SiStripSpyDigiConverter','SpyVirginRaw')
0057
0058
0059 process.p = cms.Path(
0060 process.siStripDigis*
0061 process.SiStripSpyEventMatcher
0062 )
0063
0064 process.output = cms.OutputModule(
0065 "PoolOutputModule",
0066 fileName = cms.untracked.string("SpyMatchedEvents298270_TEST.root"),
0067 outputCommands = cms.untracked.vstring(
0068 'keep *'
0069
0070
0071 ),
0072
0073 SelectEvents = cms.untracked.PSet(
0074 SelectEvents = cms.vstring('p')
0075 )
0076 )
0077
0078 process.e = cms.EndPath( process.output )