Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:30:32

0001 # The following comments couldn't be translated into the new config version:
0002 
0003 #   untracked PSet maxEvents = {untracked int32 input = 2}
0004 #include "Configuration/ReleaseValidation/data/Services.cff"
0005 #    include "Configuration/StandardSequences/data/FakeConditions.cff"
0006 #    untracked PSet options = {
0007 #        include "FWCore/Framework/test/cmsExceptionsFatalOption.cff"
0008 #        untracked bool makeTriggerResults = true
0009 #    }
0010 
0011 import FWCore.ParameterSet.Config as cms
0012 
0013 process = cms.Process("TEST")
0014 # 
0015 #  ecal trig prim producer 
0016 # # ecal tpg params
0017 # es_module = EcalTrigPrimESProducer {
0018 # untracked string DatabaseFile = "TPG.txt"
0019 # #untracked string DatabaseFile = "TPG_RCT_internal.txt"
0020 # }
0021 # 
0022 process.load("FWCore.MessageService.MessageLogger_cfi")
0023 
0024 # standard RCT configuration, including input scales
0025 process.load("L1TriggerConfig.RCTConfigProducers.L1RCTConfig_cff")
0026 
0027 # using standard scales
0028 process.load("L1TriggerConfig.L1ScalesProducers.L1CaloScalesConfig_cff")
0029 
0030 #include "L1TriggerConfig/L1ScalesProducers/data/L1CaloInputScalesConfig.cff"
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