CMS 3D CMS Logo

geometryRPFromDB_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 XMLIdealGeometryESSource_CTPPS = cms.ESProducer("XMLIdealGeometryESProducer",
4  rootDDName = cms.string('cms:CMSE'),
5  label = cms.string('CTPPS'),
6  appendToDataLabel = cms.string('XMLIdealGeometryESSource_CTPPS')
7 )
8 
9 ctppsGeometryESModule = cms.ESProducer("CTPPSGeometryESModule",
10  verbosity = cms.untracked.uint32(1),
11  isRun2 = cms.bool(False),
12  compactViewTag = cms.string('XMLIdealGeometryESSource_CTPPS')
13 )
14 
15 from Configuration.Eras.Modifier_ctpps_2016_cff import ctpps_2016
16 from Configuration.Eras.Modifier_ctpps_2017_cff import ctpps_2017
17 from Configuration.Eras.Modifier_ctpps_2018_cff import ctpps_2018
18 
19 (ctpps_2016 | ctpps_2017 | ctpps_2018).toModify(ctppsGeometryESModule, isRun2=True)