CMS 3D CMS Logo

gemRecHits_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # masking is off by default - turn on with 'applyMasking'
4 # default masking uses DB, to use txt file, set maskFile or deadFile to the relative path of file
5 
7 gemRecHits = gemRecHitsDef.clone(
8  #applyMasking = False,
9  #maskFile = cms.FileInPath("RecoLocalMuon/GEMRecHit/data/maskedStrips.txt"),
10  #deadFile = cms.FileInPath("RecoLocalMuon/GEMRecHit/data/deadStrips.txt")
11  )
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(gemRecHits, ge21Off=True)
18 phase2_GEM.toModify(gemRecHits, ge21Off=False)