CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
updateIntercali.py
Go to the documentation of this file.
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:DB.db'
23 #process.CondDBCommon.connect = 'oracle://cms_orcoff_prep/CMS_COND_ECAL'
24 process.CondDBCommon.connect = 'oracle://cms_orcon_prod/CMS_COND_31X_ECAL'
25 process.CondDBCommon.DBParameters.authenticationPath = '/nfshome0/popcondev/conddb'
26 
27 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
28  process.CondDBCommon,
29  logconnect = cms.untracked.string('sqlite_file:log.db'),
30  toPut = cms.VPSet(cms.PSet(
31  record = cms.string('EcalIntercalibConstantsRcd'),
32  tag = cms.string('EcalIntercalibConstants_v9_offline')
33  ))
34 )
35 
36 process.Test1 = cms.EDAnalyzer("ExTestEcalIntercalibAnalyzer",
37  record = cms.string('EcalIntercalibConstantsRcd'),
38  loggingOn= cms.untracked.bool(True),
39  IsDestDbCheckedInQueryLog=cms.untracked.bool(True),
40  SinceAppendMode=cms.bool(True),
41  Source=cms.PSet(
42  FileLowField = cms.string('/nfshome0/popcondev/EcalTPGPopCon/CMSSW_3_11_0_ONLINE/src/CondTools/Ecal/python/interCalib_Boff.xml'),
43  FileHighField = cms.string('/nfshome0/popcondev/EcalTPGPopCon/CMSSW_3_11_0_ONLINE/src/CondTools/Ecal/python/interCalib_Bon.xml'),
44  Value_Bon = cms.untracked.double(0.75585),
45  firstRun = cms.string('98273'),
46  lastRun = cms.string('10000000'),
47  OnlineDBSID = cms.string('cms_omds_lb'),
48  OnlineDBUser = cms.string('cms_ecal_r'),
49  OnlineDBPassword = cms.string('*******'),
50  LocationSource = cms.string('P5'),
51  Location = cms.string('P5_Co'),
52  GenTag = cms.string('GLOBAL'),
53  RunType = cms.string('COSMICS')
54  )
55 )
56 
57 process.p = cms.Path(process.Test1)