File indexing completed on 2024-04-06 12:21:37
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 import FWCore.ParameterSet.Config as cms
0012
0013 process = cms.Process("TEST")
0014
0015
0016
0017
0018
0019
0020
0021
0022 process.load("FWCore.MessageService.MessageLogger_cfi")
0023
0024
0025 process.load("L1TriggerConfig.RCTConfigProducers.L1RCTConfig_cff")
0026
0027
0028 process.load("L1TriggerConfig.L1ScalesProducers.L1CaloScalesConfig_cff")
0029
0030
0031 process.load("L1Trigger.RegionalCaloTrigger.L1RCTTestAnalyzer_cfi")
0032
0033 process.load("L1Trigger.RegionalCaloTrigger.rctDigis_cfi")
0034
0035 process.maxEvents = cms.untracked.PSet(
0036 input = cms.untracked.int32(64)
0037 )
0038 process.TFileService = cms.Service("TFileService",
0039 fileName = cms.string('rct.root')
0040 )
0041
0042 process.source = cms.Source("EmptySource")
0043
0044 process.rctInput = cms.EDProducer("RctInputTextToDigi",
0045 inputFile = cms.FileInPath('L1Trigger/TextToDigi/test/data/rctTestInputFileElec.txt')
0046 )
0047
0048 process.input = cms.Path(process.rctInput)
0049 process.p4 = cms.Path(process.rctDigis*process.L1RCTTestAnalyzer)
0050 process.schedule = cms.Schedule(process.input,process.p4)
0051
0052 process.L1RCTTestAnalyzer.ecalDigisLabel = 'rctInput'
0053 process.L1RCTTestAnalyzer.hcalDigisLabel = 'rctInput'
0054 process.rctDigis.ecalDigisLabel = 'rctInput'
0055 process.rctDigis.hcalDigisLabel = 'rctInput'
0056
0057