Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 10:39:02

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #
0004 # Database output service
0005 # Required if AlignmentProducer.saveToDB = true
0006 from CondCore.CondDB.CondDB_cfi import *
0007 PoolDBESSource = cms.ESSource("PoolDBESSource",
0008     CondDBSetup,
0009     #string connect = "frontier://FrontierProd/CMS_COND_20X_ALIGNMENT"
0010     toGet = cms.VPSet(cms.PSet(
0011         record = cms.string('TrackerAlignmentRcd'),
0012         tag = cms.string('TrackerIdealGeometry200')
0013     ), 
0014         cms.PSet(
0015             record = cms.string('TrackerAlignmentErrorExtendedRcd'),
0016             tag = cms.string('TrackerIdealGeometryErrors200')
0017         )),
0018     connect = cms.string('sqlite_file:Alignments.db')
0019 )
0020 
0021 PoolDBOutputService = cms.Service("PoolDBOutputService",
0022     CondDBSetup,
0023     timetype = cms.untracked.string('runnumber'),
0024     connect = cms.string('sqlite_file:dataout.db'),
0025     toPut = cms.VPSet(cms.PSet(
0026         record = cms.string('TrackerAlignmentRcd'),
0027         tag = cms.string('<output tag>')
0028     ), 
0029         cms.PSet(
0030             record = cms.string('TrackerAlignmentErrorExtendedRcd'),
0031             tag = cms.string('<output error tag>')
0032         ))
0033 )
0034 
0035