File indexing completed on 2024-04-06 12:20:16
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("Layer1EmulatorOnSpy")
0004
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006
0007 process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff')
0008 process.GlobalTag.globaltag = '74X_dataRun2_Express_v1'
0009
0010 process.load('L1Trigger.L1TCaloLayer1.simCaloStage2Layer1Digis_cfi')
0011 process.simCaloStage2Layer1Digis.ecalToken = cms.InputTag("l1tCaloLayer1SpyDigis")
0012 process.simCaloStage2Layer1Digis.hcalToken = cms.InputTag("l1tCaloLayer1SpyDigis")
0013 process.simCaloStage2Layer1Digis.useECALLUT = cms.bool(False)
0014 process.simCaloStage2Layer1Digis.useHCALLUT = cms.bool(False)
0015 process.simCaloStage2Layer1Digis.useHFLUT = cms.bool(False)
0016 process.simCaloStage2Layer1Digis.useHCALFBLUT = cms.bool(False),
0017 process.simCaloStage2Layer1Digis.useLSB = cms.bool(False)
0018 process.simCaloStage2Layer1Digis.verbose = cms.bool(True)
0019
0020 process.load('L1Trigger.L1TCaloLayer1.layer1Validator_cfi')
0021 process.layer1Validator.testSource = cms.InputTag("l1tCaloLayer1SpyDigis")
0022 process.layer1Validator.emulSource = cms.InputTag("simCaloStage2Layer1Digis")
0023 process.layer1Validator.verbose = cms.bool(True)
0024
0025 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(162) )
0026
0027 process.source = cms.Source("PoolSource",
0028 fileNames = cms.untracked.vstring('file:/data/dasu/l1tCaloLayer1Spy.root')
0029 )
0030
0031 process.out = cms.OutputModule("PoolOutputModule",
0032 fileName = cms.untracked.string('/data/dasu/l1tCaloLayer1Spy+Emulator.root'),
0033 outputCommands = cms.untracked.vstring('keep *')
0034 )
0035
0036 process.p = cms.Path(process.simCaloStage2Layer1Digis+process.layer1Validator)
0037
0038 process.e = cms.EndPath(process.out)