Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:22:23

0001 
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 process = cms.Process("Test")
0005 # "old-style" ECAL scale
0006 process.load("CalibCalorimetry.EcalTPGTools.ecalTPGScale_cff")
0007 process.EcalTrigPrimESProducer.DatabaseFile = cms.untracked.string('TPG_startup.txt.gz')
0008 
0009 # "old-style" HCAL scale
0010 process.load("SimCalorimetry.HcalTrigPrimProducers.hcaltpdigi_cff")
0011 
0012 process.source = cms.Source("EmptySource")
0013 
0014 process.maxEvents = cms.untracked.PSet(
0015     input = cms.untracked.int32(1)
0016 )
0017 
0018 #keep the logging output to a nice level
0019 process.MessageLogger = cms.Service("MessageLogger")
0020 
0021 process.write = cms.EDAnalyzer("L1CaloInputScalesGenerator")
0022 
0023 process.p = cms.Path(process.write)
0024 
0025