CMS 3D CMS Logo

gemGeometryDB_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #
4 # This cfi should be included to build the GEM geometry model.
5 #
6 GEMGeometryESModule = cms.ESProducer("GEMGeometryESModule",
7  fromDDD = cms.bool(False),
8  fromDD4hep = cms.bool(False),
9  appendToDataLabel = cms.string(''),
10  alignmentsLabel = cms.string(''),
11  applyAlignment = cms.bool(False)
12 )
13 
14 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
15 from Configuration.Eras.Modifier_phase2_GEM_cff import phase2_GEM
16 
17 run3_GEM.toModify(GEMGeometryESModule, applyAlignment = True)
18 phase2_GEM.toModify(GEMGeometryESModule, applyAlignment = False)