1 import FWCore.ParameterSet.Config
as cms
4 if hasattr(process,
'digitisation_step'):
6 if hasattr(process,
'L1simulation_step'):
7 process=customise_L1Emulator2019(process,
'pt0')
8 if hasattr(process,
'DigiToRaw'):
10 if hasattr(process,
'RawToDigi'):
12 if hasattr(process,
'reconstruction'):
14 if hasattr(process,
'dqmoffline_step'):
16 if hasattr(process,
'dqmHarvesting'):
18 if hasattr(process,
'validation_step'):
20 if hasattr(process,
'HLTSchedule'):
26 if hasattr(process,
'L1simulation_step'):
27 process=customise_L1Emulator2023(process,
'pt0')
37 process.mix.mixObjects.mixSH.crossingFrames.append(
'MuonGEMHits')
38 process.mix.mixObjects.mixSH.input.append(cms.InputTag(
"g4SimHits",
"MuonGEMHits"))
39 process.mix.mixObjects.mixSH.subdets.append(
'MuonGEMHits')
40 process.load(
'SimMuon.GEMDigitizer.muonGEMDigi_cff')
41 process.muonDigi += process.muonGEMDigi
101 process.load(
'RecoLocalMuon.GEMRecHit.gemRecHits_cfi')
102 process.muonlocalreco += process.gemRecHits
103 process.standAloneMuons.STATrajBuilderParameters.EnableGEMMeasurement = cms.bool(
True)
104 process.standAloneMuons.STATrajBuilderParameters.BWFilterParameters.EnableGEMMeasurement = cms.bool(
True)
105 process.refittedStandAloneMuons.STATrajBuilderParameters.EnableGEMMeasurement = cms.bool(
True)
106 process.refittedStandAloneMuons.STATrajBuilderParameters.BWFilterParameters.EnableGEMMeasurement = cms.bool(
True)
114 process.load(
'Validation.Configuration.gemSimValid_cff')
115 process.load(
'Validation.MuonGEMDigis.MuonGEMDigis_cfi')
116 process.genvalid_all += process.gemSimValid
117 process.genvalid_all += process.gemDigiValidation
120 process.load(
'Validation.RecoMuon.MuonTrackValidator_cfi')
121 process.load(
'SimMuon.MCTruth.MuonAssociatorByHits_cfi')
122 process.muonAssociatorByHitsCommonParameters.useGEMs = cms.bool(
True)
123 process.muonTrackValidator.useGEMs = cms.bool(
True)
128 process.load(
'Validation.Configuration.gemPostValidation_cff')
129 process.genHarvesting += process.gemPostValidation
133 alist=[
'AODSIM',
'RECOSIM',
'FEVTSIM',
'FEVTDEBUG',
'FEVTDEBUGHLT',
'RECODEBUG',
'RAWRECOSIMHLT',
'RAWRECODEBUGHLT']
136 if hasattr(process,b):
137 getattr(process,b).outputCommands.append(
'keep *_simMuonGEMDigis_*_*')
138 getattr(process,b).outputCommands.append(
'keep *_simMuonGEMCSCPadDigis_*_*')
139 getattr(process,b).outputCommands.append(
'keep *_gemRecHits_*_*')
144 process.hltL2OfflineMuonSeeds.EnableGEMMeasurement = cms.bool(
True )
145 process.hltL2Muons.L2TrajBuilderParameters.EnableGEMMeasurement = cms.bool(
True )
146 process.hltL2Muons.BWFilterParameters.EnableGEMMeasurement = cms.bool(
True )