CMS 3D CMS Logo

updateTimeCalib_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("ProcessOne")
4 
5 process.load("FWCore.MessageService.MessageLogger_cfi")
6 process.MessageLogger.cerr.enable = False
7 process.MessageLogger.cout.enable = True
8 process.MessageLogger.cout.threshold = cms.untracked.string('DEBUG')
9 process.MessageLogger.debugModules = cms.untracked.vstring('*')
10 
11 process.source = cms.Source("EmptyIOVSource",
12  lastValue = cms.uint64(100000000000),
13  timetype = cms.string('runnumber'),
14  firstValue = cms.uint64(100000000000),
15  interval = cms.uint64(1)
16 )
17 
18 process.load("CondCore.CondDB.CondDB_cfi")
19 
20 process.CondDB.connect = 'sqlite_file:EcalTimeCalibConstants_minus_delays.db'
21 
22 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
23  process.CondDB,
24  logconnect = cms.untracked.string('sqlite_file:log.db'),
25  toPut = cms.VPSet(
26  cms.PSet(
27  record = cms.string('EcalTimeCalibConstantsRcd'),
28  tag = cms.string('EcalTimeCalibConstants')
29  )
30  )
31 )
32 
33 process.Test1 = cms.EDAnalyzer("ExTestEcalTimeCalibAnalyzer",
34  record = cms.string('EcalTimeCalibConstantsRcd'),
35  loggingOn= cms.untracked.bool(True),
36  IsDestDbCheckedInQueryLog=cms.untracked.bool(True),
37  SinceAppendMode=cms.bool(True),
38  Source=cms.PSet(
39  firstRun = cms.string('1'),
40  type = cms.string('txt'),
41  fileName = cms.string('dump_EcalTimeCalibConstants__new_minus_delays.dat'),
42 # type = cms.string('xml'),
43 # fileName = cms.string('EcalTimeCalibConstants_minus_delays.xml'),
44  )
45 )
46 
47 process.p = cms.Path(process.Test1)