1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
import FWCore.ParameterSet.Config as cms
process = cms.Process("DBGeometryTest")
process.load('CondCore.CondDB.CondDB_cfi')
process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(1)
)
process.source = cms.Source("EmptySource")
process.PoolDBESSource = cms.ESSource("PoolDBESSource",
connect = cms.string("sqlite_file:testIdeal.db"),
toGet = cms.VPSet(cms.PSet(record = cms.string('IdealGeometryRecord'),
tag = cms.string('IdealGeometry01'))
)
)
process.myprint = cms.OutputModule("AsciiOutputModule")
process.Timing = cms.Service("Timing")
process.prod = cms.EDAnalyzer("PerfectGeometryAnalyzer",
dumpPosInfo = cms.untracked.bool(False),
dumpSpecs = cms.untracked.bool(False),
dumpGeoHistory = cms.untracked.bool(False)
)
process.p1 = cms.Path(process.prod)
process.e1 = cms.EndPath(process.myprint)
|