1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"TEST")
4 process.load(
"CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
5 process.EcalTrivialConditionRetriever.producedEcalSimPulseShape = cms.untracked.bool(
True)
6 process.EcalTrivialConditionRetriever.getSimPulseShapeFromFile = cms.untracked.bool(
True)
19 process.EcalTrivialConditionRetriever.sim_pulse_shape_TI = cms.untracked.double(0.250)
20 process.EcalTrivialConditionRetriever.sim_pulse_shape_EB_thresh = cms.double(0.201244)
21 process.EcalTrivialConditionRetriever.sim_pulse_shape_EE_thresh = cms.double(0.201244)
22 process.EcalTrivialConditionRetriever.sim_pulse_shape_APD_thresh = cms.double(0.201244)
23 process.EcalTrivialConditionRetriever.EBSimPulseShapeFile = cms.untracked.string(
"EB_SimPulseShape_PhaseII.txt")
24 process.EcalTrivialConditionRetriever.EESimPulseShapeFile = cms.untracked.string(
"EB_SimPulseShape_PhaseII.txt")
25 process.EcalTrivialConditionRetriever.APDSimPulseShapeFile = cms.untracked.string(
"EB_SimPulseShape_PhaseII.txt")
28 process.load(
"CondCore.CondDB.CondDB_cfi")
31 process.CondDB.connect =
'sqlite_file:DB.db'
33 process.MessageLogger = cms.Service(
"MessageLogger",
34 debugModules = cms.untracked.vstring(
'*'),
35 destinations = cms.untracked.vstring(
'cout')
38 process.source = cms.Source(
"EmptyIOVSource",
39 firstValue = cms.uint64(1),
40 lastValue = cms.uint64(1),
41 timetype = cms.string(
'runnumber'),
42 interval = cms.uint64(1)
45 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
49 record = cms.string(
'EcalSimPulseShapeRcd'),
50 tag = cms.string(
'EcalSimPulseShape_default_mc')
55 process.dbCopy = cms.EDAnalyzer(
"EcalDBCopy",
56 timetype = cms.string(
'runnumber'),
59 record = cms.string(
'EcalSimPulseShapeRcd'),
60 container = cms.string(
'EcalSimPulseShape')
65 process.prod = cms.EDAnalyzer(
"EcalTrivialObjectAnalyzer")
67 process.p = cms.Path(process.prod*process.dbCopy)