1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"TEST")
4 process.load(
"CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
5 process.EcalTrivialConditionRetriever.producedEcalPFRecHitThresholds = cms.untracked.bool(
True)
6 process.EcalTrivialConditionRetriever.EcalPFRecHitThresholdsEB = cms.untracked.double( 0.0)
7 process.EcalTrivialConditionRetriever.EcalPFRecHitThresholdsEE = cms.untracked.double( 0.0)
10 process.load(
"CondCore.CondDB.CondDB_cfi")
13 process.CondDB.connect =
'sqlite_file:DB.db' 15 process.MessageLogger = cms.Service(
"MessageLogger",
16 debugModules = cms.untracked.vstring(
'*'),
17 destinations = cms.untracked.vstring(
'cout')
20 process.source = cms.Source(
"EmptyIOVSource",
21 firstValue = cms.uint64(1),
22 lastValue = cms.uint64(1),
23 timetype = cms.string(
'runnumber'),
24 interval = cms.uint64(1)
27 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
31 record = cms.string(
'EcalPFRecHitThresholdsRcd'),
32 tag = cms.string(
'EcalPFRecHitThresholds_2018_mc')
37 process.dbCopy = cms.EDAnalyzer(
"EcalDBCopy",
38 timetype = cms.string(
'runnumber'),
41 record = cms.string(
'EcalPFRecHitThresholdsRcd'),
42 container = cms.string(
'EcalPFRecHitThresholds')
47 process.prod = cms.EDAnalyzer(
"EcalTrivialObjectAnalyzer")
49 process.p = cms.Path(process.prod*process.dbCopy)