File indexing completed on 2024-04-06 11:58:24
0001
0002
0003
0004
0005 import FWCore.ParameterSet.Config as cms
0006
0007 process = cms.Process("ProcessOne")
0008
0009 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0010 process.CondDBCommon.connect = cms.string("sqlite_file:DBChipSpeedCorrection_data_test.db")
0011
0012
0013 process.CondDBCommon.DBParameters.authenticationPath = '/afs/cern.ch/cms/DB/conddb'
0014
0015 process.MessageLogger = cms.Service("MessageLogger",
0016 cerr = cms.untracked.PSet(
0017 enable = cms.untracked.bool(False)
0018 ),
0019 cout = cms.untracked.PSet(
0020 default = cms.untracked.PSet(
0021 limit = cms.untracked.int32(0)
0022 ),
0023 enable = cms.untracked.bool(True)
0024 )
0025 )
0026
0027 process.source = cms.Source("EmptyIOVSource",
0028 lastValue = cms.uint64(1),
0029 timetype = cms.string('runnumber'),
0030
0031 firstValue = cms.uint64(1),
0032 interval = cms.uint64(1)
0033 )
0034
0035 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0036 process.CondDBCommon,
0037 logconnect = cms.untracked.string('sqlite_file:gainslog.db'),
0038 toPut = cms.VPSet(cms.PSet(
0039 record = cms.string('CSCDBChipSpeedCorrectionRcd'),
0040 tag = cms.string('CSCDBChipSpeedCorrection')
0041 ))
0042 )
0043
0044 process.WriteChipSpeedCorrectionWithPopCon = cms.EDAnalyzer("CSCDBChipSpeedCorrectionPopConAnalyzer",
0045 SinceAppendMode = cms.bool(True),
0046 record = cms.string('CSCDBChipSpeedCorrectionRcd'),
0047 loggingOn = cms.untracked.bool(True),
0048 Source = cms.PSet(
0049
0050 dataCorrFileName= cms.untracked.string("/afs/cern.ch/user/d/deisher/public/TimingCorrections2009/CathodeTimingCorrection_11May2010.txt"),
0051 isForMC = cms.untracked.bool(False)
0052 )
0053 )
0054
0055 process.p = cms.Path(process.WriteChipSpeedCorrectionWithPopCon)
0056
0057
0058
0059