test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
updateIntercali_test.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("ProcessOne")
4 
5 process.MessageLogger = cms.Service("MessageLogger",
6  debugModules = cms.untracked.vstring('*'),
7  cout = cms.untracked.PSet(
8  threshold = cms.untracked.string('DEBUG')
9  ),
10  destinations = cms.untracked.vstring('cout')
11 )
12 
13 process.source = cms.Source("EmptyIOVSource",
14  lastValue = cms.uint64(100000000000),
15  timetype = cms.string('runnumber'),
16  firstValue = cms.uint64(100000000000),
17  interval = cms.uint64(1)
18 )
19 
20 process.load("CondCore.DBCommon.CondDBCommon_cfi")
21 
22 process.CondDBCommon.connect = 'sqlite_file:EcalIntercalibConstants_test.db'
23 
24 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
25  process.CondDBCommon,
26  logconnect = cms.untracked.string('sqlite_file:log.db'),
27  toPut = cms.VPSet(
28  cms.PSet(
29  record = cms.string('EcalIntercalibConstantsRcd'),
30  tag = cms.string('EcalIntercalibConstants_V1_hlt')
31  )
32  )
33 )
34 
35 process.Test1 = cms.EDAnalyzer("ExTestEcalIntercalibAnalyzer",
36  record = cms.string('EcalIntercalibConstantsRcd'),
37  loggingOn= cms.untracked.bool(True),
38  IsDestDbCheckedInQueryLog=cms.untracked.bool(True),
39  SinceAppendMode=cms.bool(True),
40  Source=cms.PSet(
41  InputFile = cms.string('IC_FLT_MeanPizPhiABCD_EleABCD_HR9EtaScaleD_Phis_203830.xml'),
42  firstRun = cms.string('100000'),
43  )
44 )
45 
46 process.p = cms.Path(process.Test1)