CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
copyLutIdMap_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 process.source = cms.Source("EmptyIOVSource",
14  lastValue = cms.uint64(1),
15  timetype = cms.string('runnumber'),
16  firstValue = cms.uint64(1),
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.DBParameters.authenticationPath = '/nfshome0/popcondev/conddb'
24 
25 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
26  process.CondDBCommon,
27  logconnect = cms.untracked.string('sqlite_file:log.db'),
28  toPut = cms.VPSet(cms.PSet(
29  record = cms.string('EcalTPGLutIdMapRcd'),
30 # tag = cms.string('EcalTPGLutIdMap_craft')
31  tag = cms.string('EcalTPGLutIdMap_TPGTrivial_config')
32  ))
33 )
34 
35 
36 process.Test1 = cms.EDAnalyzer("ExTestEcalTPGLutIdMapAnalyzer",
37  record = cms.string('EcalTPGLutIdMapRcd'),
38  loggingOn= cms.untracked.bool(True),
39  IsDestDbCheckedInQueryLog=cms.untracked.bool(True),
40  SinceAppendMode=cms.bool(True),
41  Source=cms.PSet(
42  firstRun = cms.string('98273'),
43  lastRun = cms.string('10000000'),
44  OnlineDBSID = cms.string('cms_omds_lb'),
45  OnlineDBUser = cms.string('cms_ecal_conf'),
46  OnlineDBPassword = cms.string('*************'),
47  LocationSource = cms.string('P5'),
48  Location = cms.string('P5_Co'),
49  GenTag = cms.string('GLOBAL'),
50  RunType = cms.string('COSMICS')
51  )
52 )
53 
54 process.p = cms.Path(process.Test1)