File indexing completed on 2024-04-06 12:03:09
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("TEST")
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('INFO')
0012 )
0013 )
0014
0015 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0016
0017
0018
0019 process.CondDBCommon.DBParameters.authenticationPath = cms.untracked.string('/nfshome0/popcondev/conddb')
0020
0021 process.CondDBCommon.connect = cms.string('oracle://cms_orcon_prod/CMS_COND_31X_HCAL')
0022
0023 process.source = cms.Source("EmptyIOVSource",
0024 timetype = cms.string('runnumber'),
0025 firstValue = cms.uint64(1),
0026 lastValue = cms.uint64(1),
0027 interval = cms.uint64(1)
0028 )
0029
0030 process.es_ascii = cms.ESSource("CastorTextCalibrations",
0031 input = cms.VPSet(cms.PSet(
0032 object = cms.string('PedestalWidths'),
0033 file = cms.FileInPath('CondTools/Hcal/test/castor_pedestal_widths_run119814.txt')
0034 ))
0035 )
0036
0037 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0038 process.CondDBCommon,
0039 timetype = cms.untracked.string('runnumber'),
0040
0041 logconnect= cms.untracked.string('oracle://cms_orcon_prod/CMS_COND_31X_POPCONLOG'),
0042
0043 toPut = cms.VPSet(cms.PSet(
0044 record = cms.string('CastorPedestalWidthsRcd'),
0045 tag = cms.string('castor_pedestalwidths_v1.0_hlt')
0046 ))
0047 )
0048
0049 process.mytest = cms.EDAnalyzer("CastorPedestalWidthsPopConAnalyzer",
0050 record = cms.string('CastorPedestalWidthsRcd'),
0051 loggingOn= cms.untracked.bool(True),
0052 SinceAppendMode=cms.bool(True),
0053 Source=cms.PSet(
0054
0055 IOVRun=cms.untracked.uint32(164799)
0056 )
0057 )
0058
0059 process.p = cms.Path(process.mytest)