CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DBConfiguration_cff.py
Go to the documentation of this file.
2 
3 #
4 # Database output service
5 # Required if AlignmentProducer.saveToDB = true
7 PoolDBESSource = cms.ESSource("PoolDBESSource",
8  CondDBSetup,
9  #string connect = "frontier://FrontierProd/CMS_COND_20X_ALIGNMENT"
10  toGet = cms.VPSet(cms.PSet(
11  record = cms.string('TrackerAlignmentRcd'),
12  tag = cms.string('TrackerIdealGeometry200')
13  ),
14  cms.PSet(
15  record = cms.string('TrackerAlignmentErrorRcd'),
16  tag = cms.string('TrackerIdealGeometryErrors200')
17  )),
18  connect = cms.string('sqlite_file:Alignments.db')
19 )
20 
21 PoolDBOutputService = cms.Service("PoolDBOutputService",
22  CondDBSetup,
23  timetype = cms.untracked.string('runnumber'),
24  connect = cms.string('sqlite_file:dataout.db'),
25  toPut = cms.VPSet(cms.PSet(
26  record = cms.string('TrackerAlignmentRcd'),
27  tag = cms.string('<output tag>')
28  ),
29  cms.PSet(
30  record = cms.string('TrackerAlignmentErrorRcd'),
31  tag = cms.string('<output error tag>')
32  ))
33 )
34 
35