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 cerr = cms.untracked.PSet(
35 enable = cms.untracked.bool(
False)
37 cout = cms.untracked.PSet(
38 enable = cms.untracked.bool(
True)
40 debugModules = cms.untracked.vstring(
'*')
43 process.source = cms.Source(
"EmptyIOVSource",
44 firstValue = cms.uint64(1),
45 lastValue = cms.uint64(1),
46 timetype = cms.string(
'runnumber'),
47 interval = cms.uint64(1)
50 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
54 record = cms.string(
'EcalSimPulseShapeRcd'),
55 tag = cms.string(
'EcalSimPulseShape_default_mc')
60 process.dbCopy = cms.EDAnalyzer(
"EcalDBCopy",
61 timetype = cms.string(
'runnumber'),
64 record = cms.string(
'EcalSimPulseShapeRcd'),
65 container = cms.string(
'EcalSimPulseShape')
70 process.prod = cms.EDAnalyzer(
"EcalTrivialObjectAnalyzer")
72 process.p = cms.Path(process.prod*process.dbCopy)