CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/CondTools/Ecal/python/copyBadStrip_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 process.source = cms.Source("EmptyIOVSource",
00014     lastValue = cms.uint64(100000000000),
00015     timetype = cms.string('runnumber'),
00016     firstValue = cms.uint64(100000000000),
00017     interval = cms.uint64(1)
00018 )
00019 
00020 process.load("CondCore.DBCommon.CondDBCommon_cfi")
00021 
00022 process.CondDBCommon.connect = 'sqlite_file:DB.db'
00023 #process.CondDBCommon.connect = 'oracle://cms_orcon_prod/CMS_COND_34X_ECAL'
00024 process.CondDBCommon.DBParameters.authenticationPath = '/nfshome0/popcondev/conddb'
00025 
00026 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
00027     process.CondDBCommon, 
00028 #    logconnect = cms.untracked.string('oracle://cms_orcon_prod/CMS_COND_31X_POPCONLOG'),
00029    logconnect = cms.untracked.string('sqlite_file:log.db'),   
00030     toPut = cms.VPSet(cms.PSet(
00031         record = cms.string('EcalTPGStripStatusRcd'),
00032         tag = cms.string('EcalTPGStripStatus_hlt')
00033     ))
00034 )
00035 
00036 process.Test1 = cms.EDAnalyzer("ExTestEcalTPGBadStripAnalyzer",
00037     record = cms.string('EcalTPGStripStatusRcd'),
00038     loggingOn= cms.untracked.bool(True),
00039     IsDestDbCheckedInQueryLog=cms.untracked.bool(True),
00040     SinceAppendMode=cms.bool(True),
00041     Source=cms.PSet(
00042      firstRun = cms.string('120000'),
00043      lastRun = cms.string('10000000'),
00044      OnlineDBSID = cms.string('cms_omds_lb'),
00045      OnlineDBUser = cms.string('cms_ecal_conf'),
00046      OnlineDBPassword = cms.string('*************'),
00047      LocationSource = cms.string('P5'),
00048      Location = cms.string('P5_Co'),
00049      GenTag = cms.string('GLOBAL'),
00050      RunType = cms.string('PHYSICS')
00051     )                            
00052 )
00053 
00054 process.p = cms.Path(process.Test1)