Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:22:34

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.useLSB = cms.bool(False)
0017 process.simCaloStage2Layer1Digis.verbose = cms.bool(True)
0018 
0019 process.load('L1Trigger.L1TCaloLayer1.layer1Validator_cfi')
0020 process.layer1Validator.testSource = cms.InputTag("l1tCaloLayer1SpyDigis")
0021 process.layer1Validator.emulSource = cms.InputTag("simCaloStage2Layer1Digis")
0022 process.layer1Validator.verbose = cms.bool(True)
0023 
0024 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(162) )
0025 
0026 process.source = cms.Source("PoolSource",
0027     fileNames = cms.untracked.vstring('file:/data/dasu/l1tCaloLayer1Spy.root')
0028 )
0029 
0030 process.out = cms.OutputModule("PoolOutputModule",
0031     fileName = cms.untracked.string('/data/dasu/l1tCaloLayer1Spy+Emulator.root'),
0032     outputCommands = cms.untracked.vstring('keep *')
0033 )
0034 
0035 process.p = cms.Path(process.simCaloStage2Layer1Digis+process.layer1Validator)
0036 
0037 process.e = cms.EndPath(process.out)