CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10/src/CondTools/Ecal/python/copyBadTT_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.DBParameters.authenticationPath = '/afs/cern.ch/cms/DB/conddb'
00024 
00025 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
00026     process.CondDBCommon, 
00027     logconnect = cms.untracked.string('sqlite_file:log.db'),   
00028     toPut = cms.VPSet(cms.PSet(
00029         record = cms.string('EcalTPGTowerStatusRcd'),
00030         tag = cms.string('EcalTPGTowerStatus_craft')
00031     ))
00032 )
00033 
00034 process.Test1 = cms.EDAnalyzer("ExTestEcalTPGBadTTAnalyzer",
00035     record = cms.string('EcalTPGTowerStatusRcd'),
00036     loggingOn= cms.untracked.bool(True),
00037     IsDestDbCheckedInQueryLog=cms.untracked.bool(True),
00038     SinceAppendMode=cms.bool(True),
00039     Source=cms.PSet(
00040      firstRun = cms.string('98273'),
00041      lastRun = cms.string('10000000'),
00042      OnlineDBSID = cms.string('cms_orcoff'),
00043      OnlineDBUser = cms.string('cms_ecal_conf'),
00044      OnlineDBPassword = cms.string('*********'),
00045      LocationSource = cms.string('P5'),
00046      Location = cms.string('P5_Co'),
00047      GenTag = cms.string('GLOBAL'),
00048      RunType = cms.string('COSMICS')
00049     )                            
00050 )
00051 
00052 process.p = cms.Path(process.Test1)