Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:49:19

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         compDDdumpdiff = cms.untracked.PSet(
0024             threshold = cms.untracked.string('INFO')
0025         ),
0026         compDDdumperrors = cms.untracked.PSet(
0027             threshold = cms.untracked.string('ERROR')
0028         )
0029     )
0030 )
0031 
0032 process.comparedddump = cms.EDAnalyzer("TestCompareDDSpecsDumpFiles",
0033                                        dumpFile1 = cms.string("diff/dumpSpecsdumpGTDB.sorted"),
0034                                        dumpFile2 = cms.string("diff/dumpSpecsdumpSTD.sorted"),
0035                                        tolerance = cms.untracked.double(0.0004)
0036                                        )
0037 
0038 process.p1 = cms.Path(process.comparedddump)
0039 process.e1 = cms.EndPath(process.myprint)