Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:58:37

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_calibration.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('PPSTimingCalibrationRcd'),
0033             tag = cms.string('PPSDiamondTimingCalibration')
0034         )
0035     )
0036 )
0037 
0038 process.ppsTimingCalibrationAnalyzer = cms.EDAnalyzer('PPSTimingCalibrationAnalyzer')
0039 
0040 process.path = cms.Path(
0041     process.ppsTimingCalibrationAnalyzer
0042 )
0043