Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 10:47:53

0001 # The following comments couldn't be translated into the new config version:
0002 
0003 # Configuration file for EventSetupTest_t
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 process = cms.Process("TEST")
0008 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0009     loadAll = cms.bool(True),
0010     timetype = cms.string('timestamp'),
0011     toGet = cms.VPSet(cms.PSet(
0012         record = cms.string('DTHVStatusRcd'),
0013         tag = cms.string('hv_test')
0014     )),
0015     connect = cms.string('sqlite_file:testhv.db'),
0016     DBParameters = cms.PSet(
0017         messageLevel = cms.untracked.int32(0),
0018         authenticationPath = cms.untracked.string('.')
0019     )
0020 )
0021 
0022 process.source = cms.Source("EmptyIOVSource",
0023     timetype   = cms.string('timestamp'),
0024     firstValue = cms.uint64(5412014424843000000),
0025     lastValue  = cms.uint64(5412014424843000000),
0026 #    firstValue = cms.uint64(5374055233297548744),
0027 #    lastValue  = cms.uint64(5374055233297548744),
0028     interval   = cms.uint64(1)
0029 )
0030 
0031 #process.source = cms.Source("EmptySource",
0032 #    numberEventsInRun = cms.untracked.uint32(1),
0033 #    firstRun = cms.untracked.uint32(54544)
0034 #)
0035 
0036 process.maxEvents = cms.untracked.PSet(
0037     input = cms.untracked.int32(1)
0038 )
0039 process.hv = cms.EDAnalyzer("DTHVDump")
0040 
0041 process.p = cms.Path(process.hv)
0042