7 import FWCore.ParameterSet.Config
as cms
12 SimMuonFEVTDEBUG = cms.PSet(
13 outputCommands = cms.untracked.vstring(
'keep *_simMuonCSCDigis_*_*',
14 'keep *_simMuonDTDigis_*_*',
15 'keep *_simMuonRPCDigis_*_*')
18 SimMuonRAW = cms.PSet(
19 outputCommands = cms.untracked.vstring(
'keep StripDigiSimLinkedmDetSetVector_simMuonCSCDigis_*_*',
20 'keep CSCDetIdCSCComparatorDigiMuonDigiCollection_simMuonCSCDigis_*_*',
21 'keep DTLayerIdDTDigiSimLinkMuonDigiCollection_simMuonDTDigis_*_*',
22 'keep RPCDigiSimLinkedmDetSetVector_simMuonRPCDigis_*_*')
27 from Configuration.Eras.Modifier_run2_common_cff
import run2_common
28 run2_common.toModify( SimMuonRAW.outputCommands, func=
lambda outputCommands: outputCommands.append(
'keep *_simMuonCSCDigis_*_*') )
29 run2_common.toModify( SimMuonRAW.outputCommands, func=
lambda outputCommands: outputCommands.append(
'keep *_simMuonRPCDigis_*_*') )
32 SimMuonRECO = cms.PSet(
33 outputCommands = cms.untracked.vstring(
'keep StripDigiSimLinkedmDetSetVector_simMuonCSCDigis_*_*',
34 'keep DTLayerIdDTDigiSimLinkMuonDigiCollection_simMuonDTDigis_*_*',
35 'keep RPCDigiSimLinkedmDetSetVector_simMuonRPCDigis_*_*')
39 SimMuonAOD = cms.PSet(
40 outputCommands = cms.untracked.vstring(
42 'keep *_muonSimClassifier_*_*' 45 SimMuonRECO.outputCommands.extend(SimMuonAOD.outputCommands)
48 SimMuonPREMIX = cms.PSet(
49 outputCommands = cms.untracked.vstring(
50 'keep *_mix_g4SimHitsMuonDTHits_*',
51 'keep *_mix_g4SimHitsMuonCSCHits_*',
52 'keep *_mix_g4SimHitsMuonRPCHits_*',
56 from Configuration.Eras.Modifier_run2_GEM_2017_cff
import run2_GEM_2017
57 run2_GEM_2017.toModify( SimMuonFEVTDEBUG, outputCommands = SimMuonFEVTDEBUG.outputCommands + [
'keep *_simMuonGEMDigis_*_*'] )
58 run2_GEM_2017.toModify( SimMuonRAW, outputCommands = SimMuonRAW.outputCommands + [
'keep *DigiSimLinkedmDetSetVector_simMuonGEMDigis_*_*'] )
59 run2_GEM_2017.toModify( SimMuonRECO, outputCommands = SimMuonRECO.outputCommands + [
'keep *DigiSimLinkedmDetSetVector_simMuonGEMDigis_*_*'] )
60 run2_GEM_2017.toModify( SimMuonPREMIX, outputCommands = SimMuonPREMIX.outputCommands + [
'keep *_mix_g4SimHitsMuonGEMHits_*'] )
63 from Configuration.Eras.Modifier_run3_GEM_cff
import run3_GEM
64 run3_GEM.toModify( SimMuonFEVTDEBUG, outputCommands = SimMuonFEVTDEBUG.outputCommands + [
'keep *_simMuonGEMDigis_*_*'] )
65 run3_GEM.toModify( SimMuonRAW, outputCommands = SimMuonRAW.outputCommands + [
'keep *DigiSimLinkedmDetSetVector_simMuonGEMDigis_*_*'] )
66 run3_GEM.toModify( SimMuonRECO, outputCommands = SimMuonRECO.outputCommands + [
'keep *DigiSimLinkedmDetSetVector_simMuonGEMDigis_*_*'] )
67 run3_GEM.toModify( SimMuonPREMIX, outputCommands = SimMuonPREMIX.outputCommands + [
'keep *_mix_g4SimHitsMuonGEMHits_*'] )
69 from Configuration.Eras.Modifier_phase2_muon_cff
import phase2_muon
70 phase2_muon.toModify( SimMuonFEVTDEBUG, outputCommands = SimMuonFEVTDEBUG.outputCommands + [
'keep *_simMuonME0PseudoDigis_*_*',
71 'keep *_simMuonME0PseudoReDigis_*_*',
72 'keep *_simMuonME0Digis_*_*'] )
73 phase2_muon.toModify( SimMuonRAW, outputCommands = SimMuonRAW.outputCommands + [
'keep *DigiSimLinkedmDetSetVector_simMuonME0Digis_*_*'] )
74 phase2_muon.toModify( SimMuonRECO, outputCommands = SimMuonRECO.outputCommands + [
'keep *DigiSimLinkedmDetSetVector_simMuonME0Digis_*_*'] )
75 phase2_muon.toModify( SimMuonPREMIX, outputCommands = SimMuonPREMIX.outputCommands + [
'keep *_mix_g4SimHitsMuonME0Hits_*'] )
79 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
81 return s.replace(
"_g4Sim",
"_MuonSim")
83 fastSim.toModify(SimMuonPREMIX, outputCommands = list( (
_renameForFastsim(item)
for item
in SimMuonPREMIX.outputCommands.value())))