CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
copyWIdMap_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.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 
14 process.source = cms.Source("EmptyIOVSource",
15  lastValue = cms.uint64(1),
16  timetype = cms.string('runnumber'),
17  firstValue = cms.uint64(1),
18  interval = cms.uint64(1)
19 )
20 
21 process.load("CondCore.DBCommon.CondDBCommon_cfi")
22 
23 process.CondDBCommon.connect = 'sqlite_file:DB.db'
24 process.CondDBCommon.DBParameters.authenticationPath = '/nfshome0/popcondev/conddb'
25 
26 print 'avant PoolDBOutputService'
27 
28 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
29  process.CondDBCommon,
30  logconnect = cms.untracked.string('sqlite_file:log.db'),
31  toPut = cms.VPSet(cms.PSet(
32  record = cms.string('EcalTPGWeightIdMapRcd'),
33  #tag = cms.string('EcalTPGWeightIdMap_craft')
34  tag = cms.string('EcalTPGWeightIdMap_TPGTrivial_config')
35  ))
36 )
37 
38 
39 process.Test1 = cms.EDAnalyzer("ExTestEcalTPGWeightIdMapAnalyzer",
40  record = cms.string('EcalTPGWeightIdMapRcd'),
41  loggingOn= cms.untracked.bool(True),
42  IsDestDbCheckedInQueryLog=cms.untracked.bool(True),
43  SinceAppendMode=cms.bool(True),
44  Source=cms.PSet(
45  firstRun = cms.string('98273'),
46  lastRun = cms.string('10000000'),
47  OnlineDBSID = cms.string('cms_omds_lb'),
48  OnlineDBUser = cms.string('cms_ecal_conf'),
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)