Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:02:54

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("ProcessOne")
0004 
0005 process.MessageLogger = cms.Service("MessageLogger",
0006     cerr = cms.untracked.PSet(
0007         enable = cms.untracked.bool(False)
0008     ),
0009     cout = cms.untracked.PSet(
0010         enable = cms.untracked.bool(True),
0011         threshold = cms.untracked.string('DEBUG')
0012     ),
0013     debugModules = cms.untracked.vstring('*')
0014 )
0015 
0016 process.source = cms.Source("EmptyIOVSource",
0017     lastValue = cms.uint64(100000000000),
0018     timetype = cms.string('runnumber'),
0019     firstValue = cms.uint64(100000000000),
0020     interval = cms.uint64(1)
0021 )
0022 
0023 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0024 
0025 process.CondDBCommon.DBParameters.authenticationPath = '/nfshome0/popcondev/conddb'
0026 
0027 #process.CondDBCommon.connect = 'sqlite_file:DB.db'
0028 #process.CondDBCommon.connect = 'oracle://cms_orcoff_prep/CMS_COND_ECAL'
0029 process.CondDBCommon.connect = 'oracle://cms_orcon_prod/CMS_COND_31X_ECAL'
0030 
0031 
0032 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0033     process.CondDBCommon, 
0034     logconnect = cms.untracked.string('oracle://cms_orcon_prod/CMS_COND_31X_POPCONLOG'),
0035 # logconnect = cms.untracked.string('sqlite_file:log.db'),   
0036         toPut = cms.VPSet(cms.PSet(
0037         record = cms.string('EcalADCToGeVConstantRcd'),
0038         tag = cms.string('EcalADCToGeVConstant_v8_offline')
0039     ))
0040 )
0041 
0042 process.Test1 = cms.EDAnalyzer("ExTestEcalADCToGeVAnalyzer",
0043     record = cms.string('EcalADCToGeVConstantRcd'),
0044     loggingOn= cms.untracked.bool(True),
0045     IsDestDbCheckedInQueryLog=cms.untracked.bool(True),
0046     SinceAppendMode=cms.bool(True),
0047     Source=cms.PSet(
0048      FileLowField = cms.string('/nfshome0/popcondev/EcalTPGPopCon/CMSSW_3_11_0_ONLINE/src/CondTools/Ecal/python/ADCtoGeV_Boff.xml'),
0049      FileHighField = cms.string('/nfshome0/popcondev/EcalTPGPopCon/CMSSW_3_11_0_ONLINE/src/CondTools/Ecal/python/ADCtoGeV_Bon.xml'),
0050      firstRun = cms.string('98273'),
0051      lastRun = cms.string('10000000'),
0052      OnlineDBSID = cms.string('cms_omds_lb'),
0053      OnlineDBUser = cms.string('cms_ecal_r'),
0054      OnlineDBPassword = cms.string('*******'),
0055      LocationSource = cms.string('P5'),
0056      Location = cms.string('P5_Co'),
0057      GenTag = cms.string('GLOBAL'),
0058      RunType = cms.string('COSMICS')
0059     )                            
0060 )
0061 
0062 process.p = cms.Path(process.Test1)