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_*_*') )
34 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
35 premix_stage2.toModify(SimMuonFEVTDEBUG, outputCommands = [
36 'keep CSCDetIdCSCComparatorDigiMuonDigiCollection_mixData_*_*',
37 'keep CSCDetIdCSCStripDigiMuonDigiCollection_mixData_*_*',
38 'keep CSCDetIdCSCWireDigiMuonDigiCollection_mixData_*_*',
39 'keep DTLayerIdDTDigiMuonDigiCollection_mixData_*_*',
40 'keep RPCDetIdRPCDigiMuonDigiCollection_mixData_*_*',
43 premix_stage2.toModify(SimMuonRAW, outputCommands = [
44 'keep *_mixData_MuonCSCStripDigiSimLinks_*',
45 'keep DTLayerIdDTDigiSimLinkMuonDigiCollection_mixData_*_*',
46 'keep *_mixData_RPCDigiSimLink_*',
48 (run2_common & premix_stage2).toModify(SimMuonRAW, outputCommands = SimMuonRAW.outputCommands + [
49 'drop *_simMuonCSCDigis_*_*',
50 'drop *_simMuonRPCDigis_*_*',
51 'keep *_mixData_MuonCSCWireDigiSimLinks_*',
52 'keep CSCDetIdCSCComparatorDigiMuonDigiCollection_mixData_*_*',
53 'keep CSCDetIdCSCStripDigiMuonDigiCollection_mixData_*_*',
54 'keep CSCDetIdCSCWireDigiMuonDigiCollection_mixData_*_*',
55 'keep RPCDetIdRPCDigiMuonDigiCollection_mixData_*_*',
59 SimMuonRECO = cms.PSet(
60 outputCommands = cms.untracked.vstring(
'keep StripDigiSimLinkedmDetSetVector_simMuonCSCDigis_*_*',
61 'keep DTLayerIdDTDigiSimLinkMuonDigiCollection_simMuonDTDigis_*_*',
62 'keep RPCDigiSimLinkedmDetSetVector_simMuonRPCDigis_*_*')
65 premix_stage2.toModify(SimMuonRECO, outputCommands = [
66 'keep *_mixData_MuonCSCStripDigiSimLinks_*',
67 'keep *_mixData_MuonCSCWireDigiSimLinks_*',
68 'keep *_mixData_RPCDigiSimLink_*',
69 'keep DTLayerIdDTDigiSimLinkMuonDigiCollection_mixData_*_*',
73 SimMuonAOD = cms.PSet(
74 outputCommands = cms.untracked.vstring(
76 'keep *_muonSimClassifier_*_*' 79 SimMuonRECO.outputCommands.extend(SimMuonAOD.outputCommands)
81 from Configuration.Eras.Modifier_run2_GEM_2017_cff
import run2_GEM_2017
82 run2_GEM_2017.toModify( SimMuonFEVTDEBUG, outputCommands = SimMuonFEVTDEBUG.outputCommands + [
'keep *_simMuonGEMDigis_*_*',
83 'keep *_simMuonGEMPadDigis_*_*',
84 'keep *_simMuonGEMPadDigiClusters_*_*'] )
85 run2_GEM_2017.toModify( SimMuonRAW, outputCommands = SimMuonRAW.outputCommands + [
'keep StripDigiSimLinkedmDetSetVector_simMuonGEMDigis_*_*'] )
86 run2_GEM_2017.toModify( SimMuonRECO, outputCommands = SimMuonRECO.outputCommands + [
'keep StripDigiSimLinkedmDetSetVector_simMuonGEMDigis_*_*'] )
89 from Configuration.Eras.Modifier_run3_GEM_cff
import run3_GEM
90 run3_GEM.toModify( SimMuonFEVTDEBUG, outputCommands = SimMuonFEVTDEBUG.outputCommands + [
'keep *_simMuonGEMDigis_*_*',
91 'keep *_simMuonGEMPadDigis_*_*',
92 'keep *_simMuonGEMPadDigiClusters_*_*'] )
93 run3_GEM.toModify( SimMuonRAW, outputCommands = SimMuonRAW.outputCommands + [
'keep StripDigiSimLinkedmDetSetVector_simMuonGEMDigis_*_*'] )
94 run3_GEM.toModify( SimMuonRECO, outputCommands = SimMuonRECO.outputCommands + [
'keep StripDigiSimLinkedmDetSetVector_simMuonGEMDigis_*_*'] )
96 from Configuration.Eras.Modifier_phase2_muon_cff
import phase2_muon
97 phase2_muon.toModify( SimMuonFEVTDEBUG, outputCommands = SimMuonFEVTDEBUG.outputCommands + [
'keep *_simMuonME0PseudoDigis_*_*',
98 'keep *_simMuonME0PseudoReDigis_*_*',
99 'keep *_simMuonME0Digis_*_*',
100 'keep *_simMuonME0PadDigis_*_*',
101 'keep *_simMuonME0PadDigiClusters_*_*'] )
102 phase2_muon.toModify( SimMuonRAW, outputCommands = SimMuonRAW.outputCommands + [
'keep StripDigiSimLinkedmDetSetVector_simMuonME0Digis_*_*'] )
103 phase2_muon.toModify( SimMuonRECO, outputCommands = SimMuonRECO.outputCommands + [
'keep StripDigiSimLinkedmDetSetVector_simMuonME0Digis_*_*'] )
106 (premix_stage2 & phase2_muon).toModify(SimMuonFEVTDEBUG, outputCommands = SimMuonFEVTDEBUG.outputCommands + [
107 'drop *_simMuonGEMDigis_*_*',
108 'keep GEMDetIdGEMDigiMuonDigiCollection_mixData_*_*',
109 'drop *_simMuonME0Digis_*_*',
110 'keep ME0DetIdME0DigiMuonDigiCollection_mixData_*_*',