CMS 3D CMS Logo

DBConfiguration_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 #
00004 # Database output service
00005 # Required if AlignmentProducer.saveToDB = true
00006 from CondCore.DBCommon.CondDBSetup_cfi import *
00007 PoolDBESSource = cms.ESSource("PoolDBESSource",
00008     condDBSetup,
00009     #string connect = "frontier://FrontierProd/CMS_COND_20X_ALIGNMENT"
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 

Generated on Tue Jun 9 17:24:01 2009 for CMSSW by  doxygen 1.5.4