Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:06

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("EcalMustacheSCParametersMakerwrite")
0004 
0005 # Load CondDB service
0006 process.load("CondCore.CondDB.CondDB_cfi")
0007 
0008 # output database
0009 process.CondDB.connect = 'sqlite_file:ecalmustachescparameters.db'
0010 
0011 # load the ESSource and ESProducer for the record
0012 process.load("RecoEcal.EgammaCoreTools.EcalMustacheSCParametersESProducer_cff")
0013 
0014 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0015     process.CondDB,
0016     toPut = cms.VPSet(
0017         cms.PSet(
0018             record = cms.string('EcalMustacheSCParametersRcd'),
0019             tag = cms.string('EcalMustacheSCParameters_average')
0020         )
0021     )
0022 )
0023 
0024 process.source = cms.Source("EmptySource")
0025 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(1))
0026 
0027 process.ecalMustacheSCParamsMaker = cms.EDAnalyzer("EcalMustacheSCParametersMaker")
0028 
0029 process.path = cms.Path(process.ecalMustacheSCParamsMaker)
0030