File indexing completed on 2024-04-06 12:03:02
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("TEST")
0004
0005 process.load("CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
0006 process.EcalTrivialConditionRetriever.producedEcalLaserAlphas = cms.untracked.bool(True)
0007
0008 process.EcalTrivialConditionRetriever.getLaserAlphaFromTypeEB = cms.untracked.bool(False)
0009 process.EcalTrivialConditionRetriever.getLaserAlphaFromTypeEE = cms.untracked.bool(True)
0010 process.EcalTrivialConditionRetriever.laserAlphaMeanEBR = cms.untracked.double(1.52)
0011 process.EcalTrivialConditionRetriever.laserAlphaMeanEBC = cms.untracked.double(1.00)
0012 process.EcalTrivialConditionRetriever.laserAlphaMeanEER = cms.untracked.double(1.16)
0013 process.EcalTrivialConditionRetriever.laserAlphaMeanEEC = cms.untracked.double(1.00)
0014
0015
0016
0017 process.EcalTrivialConditionRetriever.getLaserAlphaFromFileEB = cms.untracked.bool(True)
0018 process.EcalTrivialConditionRetriever.getLaserAlphaFromFileEE = cms.untracked.bool(False)
0019 process.EcalTrivialConditionRetriever.EBLaserAlphaFile = cms.untracked.string('CalibCalorimetry/EcalTrivialCondModules/data/EBLaserAlpha_fromFile.txt')
0020
0021
0022
0023
0024 process.load("CondCore.CondDB.CondDB_cfi")
0025 process.CondDB.connect = 'sqlite_file:EcalLaserAlphas_mixed.db'
0026
0027
0028
0029 process.MessageLogger = cms.Service("MessageLogger",
0030 cerr = cms.untracked.PSet(
0031 enable = cms.untracked.bool(False)
0032 ),
0033 cout = cms.untracked.PSet(
0034 enable = cms.untracked.bool(True)
0035 ),
0036 debugModules = cms.untracked.vstring('*')
0037 )
0038
0039 process.source = cms.Source("EmptyIOVSource",
0040 firstValue = cms.uint64(1),
0041 lastValue = cms.uint64(1),
0042 timetype = cms.string('runnumber'),
0043 interval = cms.uint64(1)
0044 )
0045
0046 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0047 process.CondDB,
0048 toPut = cms.VPSet(cms.PSet(
0049 record = cms.string('EcalLaserAlphasRcd'),
0050 tag = cms.string('EcalLaserAlphas_mixed')
0051 ))
0052 )
0053
0054 process.dbCopy = cms.EDAnalyzer("EcalDBCopy",
0055 timetype = cms.string('runnumber'),
0056 toCopy = cms.VPSet(cms.PSet(
0057 record = cms.string('EcalLaserAlphasRcd'),
0058 container = cms.string('EcalLaserAlphas')
0059 ))
0060 )
0061
0062
0063
0064 process.p = cms.Path(process.dbCopy)
0065