00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004
00005
00006 from CondCore.DBCommon.CondDBSetup_cfi import *
00007 PoolDBESSource = cms.ESSource("PoolDBESSource",
00008 condDBSetup,
00009
00010 toGet = cms.VPSet(cms.PSet(
00011 record = cms.string('TrackerAlignmentRcd'),
00012 tag = cms.string('TrackerIdealGeometry200')
00013 ),
00014 cms.PSet(
00015 record = cms.string('TrackerAlignmentErrorRcd'),
00016 tag = cms.string('TrackerIdealGeometryErrors200')
00017 )),
00018 connect = cms.string('sqlite_file:Alignments.db')
00019 )
00020
00021 PoolDBOutputService = cms.Service("PoolDBOutputService",
00022 condDBSetup,
00023 timetype = cms.untracked.string('runnumber'),
00024 connect = cms.string('sqlite_file:dataout.db'),
00025 toPut = cms.VPSet(cms.PSet(
00026 record = cms.string('TrackerAlignmentRcd'),
00027 tag = cms.string('<output tag>')
00028 ),
00029 cms.PSet(
00030 record = cms.string('TrackerAlignmentErrorRcd'),
00031 tag = cms.string('<output error tag>')
00032 ))
00033 )
00034
00035