File indexing completed on 2024-04-06 12:08:52
0001 import FWCore.ParameterSet.Config as cms
0002 from Configuration.AlCa.GlobalTag import GlobalTag
0003
0004 process = cms.Process('SPYFEDEMULATOR')
0005
0006
0007 process.source = cms.Source(
0008 'PoolSource',
0009 fileNames = cms.untracked.vstring(
0010
0011 'file:SpyMatchedEvents234824_TEST1.root'
0012
0013 )
0014 )
0015
0016
0017 process.load("DQM.SiStripCommon.MessageLogger_cfi")
0018
0019 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100))
0020
0021
0022 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0023 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_data', '')
0024 process.load("Configuration.Geometry.GeometryRecoDB_cff")
0025
0026
0027 process.load('DQM.SiStripMonitorHardware.SiStripSpyUnpacker_cfi')
0028 process.load('DQM.SiStripMonitorHardware.SiStripSpyDigiConverter_cfi')
0029
0030
0031 process.SiStripSpyUnpacker.FEDIDs = cms.vuint32()
0032
0033 process.SiStripSpyUnpacker.InputProductLabel = cms.InputTag('rawDataCollector')
0034 process.SiStripSpyUnpacker.AllowIncompleteEvents = True
0035 process.SiStripSpyUnpacker.StoreCounters = True
0036 process.SiStripSpyUnpacker.StoreScopeRawDigis = cms.bool(True)
0037
0038 process.SiStripSpyDigiConverter.InputProductLabel = cms.InputTag('SiStripSpyUnpacker','ScopeRawDigis')
0039 process.SiStripSpyDigiConverter.StorePayloadDigis = True
0040 process.SiStripSpyDigiConverter.StoreReorderedDigis = True
0041 process.SiStripSpyDigiConverter.StoreModuleDigis = True
0042 process.SiStripSpyDigiConverter.StoreAPVAddress = True
0043 process.SiStripSpyDigiConverter.MinDigiRange = 100
0044 process.SiStripSpyDigiConverter.MaxDigiRange = 1024
0045 process.SiStripSpyDigiConverter.MinZeroLight = 0
0046 process.SiStripSpyDigiConverter.MaxZeroLight = 1024
0047 process.SiStripSpyDigiConverter.MinTickHeight = 0
0048 process.SiStripSpyDigiConverter.MaxTickHeight = 1024
0049 process.SiStripSpyDigiConverter.ExpectedPositionOfFirstHeaderBit = 6
0050 process.SiStripSpyDigiConverter.DiscardDigisWithWrongAPVAddress = True
0051
0052
0053 process.load('DQM.SiStripMonitorHardware.SiStripFEDEmulator_cfi')
0054 process.SiStripFEDEmulator.SpyReorderedDigisTag = cms.InputTag('SiStripSpyEventMatcher','SpyReordered')
0055 process.SiStripFEDEmulator.SpyVirginRawDigisTag = cms.InputTag('SiStripSpyEventMatcher','SpyVirginRaw')
0056 process.SiStripFEDEmulator.ByModule = cms.bool(True)
0057
0058
0059
0060 process.p = cms.Path(
0061
0062
0063
0064 process.SiStripFEDEmulator
0065
0066 )
0067
0068
0069 process.output = cms.OutputModule(
0070 "PoolOutputModule",
0071 fileName = cms.untracked.string("SpyMatched_FEDemulated234824_TEST.root"),
0072 outputCommands = cms.untracked.vstring(
0073 'keep *',
0074
0075
0076
0077
0078
0079
0080
0081 )
0082 )
0083
0084 process.e = cms.EndPath( process.output )