CMS 3D CMS Logo

customise_Phase2C2.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 def customise(process):
4 
5  # From python/simEmtfDigis_cfi.py
6  if hasattr(process, 'simEmtfDigis'):
7  process.simEmtfDigis.spPCParams16.ZoneBoundaries = [0,36,54,96,127]
8  process.simEmtfDigis.spPCParams16.UseNewZones = True
9  process.simEmtfDigis.RPCEnable = True
10  process.simEmtfDigis.GEMEnable = True
11  process.simEmtfDigis.IRPCEnable = True
12  process.simEmtfDigis.ME0Enable = True
13  process.simEmtfDigis.TTEnable = False
14  process.simEmtfDigis.ME0Input = cms.InputTag('fakeSimMuonME0PadDigis')
15  process.simEmtfDigis.Era = cms.string('Phase2C2')
16  process.simEmtfDigis.spPAParams16.PtLUTVersion = cms.int32(7)
17 
18  # From python/fakeEmtfParams_cff.py
19  if hasattr(process, 'emtfParams'):
20  process.emtfParams.PtAssignVersion = cms.int32(7)
21 
22  if hasattr(process, 'emtfForestsDB'):
23  process.emtfForestsDB = cms.ESSource(
24  "EmptyESSource",
25  recordName = cms.string('L1TMuonEndCapForestRcd'),
26  iovIsRunNotTime = cms.bool(True),
27  firstValid = cms.vuint32(1)
28  )
29 
30  process.emtfForests = cms.ESProducer(
31  "L1TMuonEndCapForestESProducer",
32  PtAssignVersion = cms.int32(7),
33  bdtXMLDir = cms.string("2017_v7")
34  )
35 
36  return process
37 
def customise(process)