CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/Alignment/CommonAlignmentProducer/python/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