Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:55:05

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DBGeometryTest")
0004 process.load('CondCore.CondDB.CondDB_cfi')
0005 
0006 process.maxEvents = cms.untracked.PSet(
0007     input = cms.untracked.int32(1)
0008     )
0009 
0010 process.source = cms.Source("EmptySource")
0011 
0012 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0013                                       connect = cms.string("sqlite_file:testIdeal.db"),
0014                                       toGet = cms.VPSet(cms.PSet(record = cms.string('IdealGeometryRecord'),
0015                                                                  tag = cms.string('IdealGeometry01'))
0016                                                         )
0017                                       )
0018 
0019 process.myprint = cms.OutputModule("AsciiOutputModule")
0020 
0021 process.Timing = cms.Service("Timing")
0022 
0023 process.prod = cms.EDAnalyzer("PerfectGeometryAnalyzer",
0024                               dumpPosInfo = cms.untracked.bool(False),
0025                               dumpSpecs = cms.untracked.bool(False),
0026                               dumpGeoHistory = cms.untracked.bool(False)
0027                               )
0028 
0029 process.p1 = cms.Path(process.prod)
0030 process.e1 = cms.EndPath(process.myprint)