CMS 3D CMS Logo

gemPacker_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from EventFilter.GEMRawToDigi.gemPackerDefault_cfi import gemPackerDefault as _gemPackerDefault
3 gemPacker = _gemPackerDefault.clone()
4 
5 from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
6 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
7 from Configuration.Eras.Modifier_phase2_GEM_cff import phase2_GEM
8 
9 run2_GEM_2017.toModify(gemPacker, useDBEMap = True, simulatePulseStretching = False)
10 run3_GEM.toModify(gemPacker, useDBEMap = True, simulatePulseStretching = True)
11 phase2_GEM.toModify(gemPacker, useDBEMap = False, simulatePulseStretching = False)