Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-12-22 01:53:18

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process('test')
0004 
0005 # minimum logging
0006 process.MessageLogger = cms.Service("MessageLogger",
0007     cerr = cms.untracked.PSet(
0008         enable = cms.untracked.bool(False)
0009     ),
0010     cout = cms.untracked.PSet(
0011         enable = cms.untracked.bool(True),
0012         threshold = cms.untracked.string('INFO')
0013     )
0014 )
0015 
0016 process.source = cms.Source('EmptyIOVSource',
0017     timetype = cms.string('runnumber'),
0018     firstValue = cms.uint64(1),
0019     lastValue = cms.uint64(1),
0020     interval = cms.uint64(1)
0021 )
0022 
0023 # load calibrations from database
0024 process.load('CondCore.CondDB.CondDB_cfi')
0025 process.CondDB.connect = 'sqlite_file:ppsDiamondTiming_calibrationLUT.sqlite' # SQLite input
0026 
0027 process.PoolDBESSource = cms.ESSource('PoolDBESSource',
0028     process.CondDB,
0029     DumpStats = cms.untracked.bool(True),
0030     toGet = cms.VPSet(
0031         cms.PSet(
0032             record = cms.string('PPSTimingCalibrationLUTRcd'),
0033             tag = cms.string('PPSDiamondTimingCalibrationLUT')
0034         )
0035     )
0036 )
0037 
0038 process.ppsTimingCalibrationLUTAnalyzer = cms.EDAnalyzer('PPSTimingCalibrationLUTAnalyzer')
0039 
0040 process.path = cms.Path(
0041     process.ppsTimingCalibrationLUTAnalyzer
0042 )
0043