Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:05:31

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("CompareGeometryTest")
0004 
0005 process.maxEvents = cms.untracked.PSet(
0006         input = cms.untracked.int32(1)
0007         )
0008 
0009 process.source = cms.Source("EmptyIOVSource",
0010                             lastValue = cms.uint64(1),
0011                             timetype = cms.string('runnumber'),
0012                             firstValue = cms.uint64(1),
0013                             interval = cms.uint64(1)
0014                             )
0015 
0016 process.myprint = cms.OutputModule("AsciiOutputModule")
0017 
0018 process.MessageLogger = cms.Service("MessageLogger",
0019     cerr = cms.untracked.PSet(
0020         enable = cms.untracked.bool(False)
0021     ),
0022     files = cms.untracked.PSet(
0023         compDDdumperrors = cms.untracked.PSet(
0024             threshold = cms.untracked.string('ERROR')
0025         )
0026     )
0027 )
0028 
0029 process.comparedddump = cms.EDAnalyzer("TestCompareDDDumpFiles",
0030                                        dumpFile1 = cms.string('workarea/xml/dumpSTD'),
0031                                        dumpFile2 = cms.string('workarea/db/dumpLocDB'),
0032                                        tolerance = cms.untracked.double(0.0004)
0033                                        )
0034 
0035 process.p1 = cms.Path(process.comparedddump)
0036 process.e1 = cms.EndPath(process.myprint)