CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/CondTools/Ecal/python/copyWGroup_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("ProcessOne")
00004 
00005 process.MessageLogger = cms.Service("MessageLogger",
00006     debugModules = cms.untracked.vstring('*'),
00007     cout = cms.untracked.PSet(
00008         threshold = cms.untracked.string('DEBUG')
00009     ),
00010     destinations = cms.untracked.vstring('cout')
00011 )
00012 
00013 
00014 process.source = cms.Source("EmptyIOVSource",
00015     lastValue = cms.uint64(1),
00016     timetype = cms.string('runnumber'),
00017     firstValue = cms.uint64(1),
00018     interval = cms.uint64(1)
00019 )
00020 
00021 process.load("CondCore.DBCommon.CondDBCommon_cfi")
00022 
00023 process.CondDBCommon.connect = 'sqlite_file:DB.db'
00024 process.CondDBCommon.DBParameters.authenticationPath = '/nfshome0/popcondev/conddb'
00025 
00026 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
00027     process.CondDBCommon, 
00028     logconnect = cms.untracked.string('sqlite_file:log.db'),   
00029     toPut = cms.VPSet(cms.PSet(
00030         record = cms.string('EcalTPGWeightGroupRcd'),
00031         #tag = cms.string('EcalTPGWeightGroup_craft')
00032         tag = cms.string('EcalTPGWeightGroup_TPGTrivial_config')
00033     ))
00034 )
00035 
00036 
00037 process.Test1 = cms.EDAnalyzer("ExTestEcalTPGWeightGroupAnalyzer",
00038     record = cms.string('EcalTPGWeightGroupRcd'),
00039     loggingOn= cms.untracked.bool(True),
00040     IsDestDbCheckedInQueryLog=cms.untracked.bool(True),
00041     SinceAppendMode=cms.bool(True),
00042     Source=cms.PSet(
00043      firstRun = cms.string('98273'),
00044      lastRun = cms.string('10000000'),
00045      OnlineDBSID = cms.string('cms_omds_lb'),
00046      OnlineDBUser = cms.string('cms_ecal_conf'),
00047      OnlineDBPassword = cms.string('*************'),
00048      LocationSource = cms.string('P5'),
00049      Location = cms.string('P5_Co'),
00050      GenTag = cms.string('GLOBAL'),
00051      RunType = cms.string('COSMICS')
00052     )                            
00053 )
00054 
00055 process.p = cms.Path(process.Test1)