CMS 3D CMS Logo

L1Trigger_EventContent_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # RAW content
4 L1TriggerRAW = cms.PSet(
5  outputCommands = cms.untracked.vstring(
6  'keep FEDRawDataCollection_rawDataCollector_*_*',
7  'keep FEDRawDataCollection_source_*_*')
8 )
9 
10 
11 # RAWDEBUG content
12 L1TriggerRAWDEBUG = cms.PSet(
13  outputCommands = cms.untracked.vstring(
14  'keep FEDRawDataCollection_rawDataCollector_*_*',
15  'keep FEDRawDataCollection_source_*_*',
16  'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
17  'keep *_l1GtRecord_*_*',
18  'keep *_l1GtTriggerMenuLite_*_*',
19  'keep *_conditionsInEdm_*_*',
20  'keep *_l1extraParticles_*_*')
21 )
22 
23 # RECO content
24 L1TriggerRECO = cms.PSet(
25  outputCommands = cms.untracked.vstring(
26  'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
27  'keep *_l1GtRecord_*_*',
28  'keep *_l1GtTriggerMenuLite_*_*',
29  'keep *_conditionsInEdm_*_*',
30  'keep *_l1extraParticles_*_*',
31  'keep *_l1L1GtObjectMap_*_*',
32  'keep L1MuGMTReadoutCollection_gtDigis_*_*',
33  'keep L1GctEmCand*_gctDigis_*_*',
34  'keep L1GctJetCand*_gctDigis_*_*',
35  'keep L1GctEtHad*_gctDigis_*_*',
36  'keep L1GctEtMiss*_gctDigis_*_*',
37  'keep L1GctEtTotal*_gctDigis_*_*',
38  'keep L1GctHtMiss*_gctDigis_*_*',
39  'keep L1GctJetCounts*_gctDigis_*_*',
40  'keep L1GctHFRingEtSums*_gctDigis_*_*',
41  'keep L1GctHFBitCounts*_gctDigis_*_*',
42  'keep LumiDetails_lumiProducer_*_*',
43  'keep LumiSummary_lumiProducer_*_*')
44 )
45 
46 
47 # AOD content
48 L1TriggerAOD = cms.PSet(
49  outputCommands = cms.untracked.vstring(
50  'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
51  'keep *_l1GtRecord_*_*',
52  'keep *_l1GtTriggerMenuLite_*_*',
53  'keep *_conditionsInEdm_*_*',
54  'keep *_l1extraParticles_*_*',
55  'keep *_l1L1GtObjectMap_*_*',
56  'keep LumiSummary_lumiProducer_*_*')
57 )
58 
59 
60 L1TriggerFEVTDEBUG = cms.PSet(
61  outputCommands = cms.untracked.vstring(
62  'keep *_simCscTriggerPrimitiveDigis_*_*',
63  'keep *_simDtTriggerPrimitiveDigis_*_*',
64  'keep *_simRpcTriggerDigis_*_*',
65  'keep *_simRctDigis_*_*',
66  'keep *_simCsctfDigis_*_*',
67  'keep *_simCsctfTrackDigis_*_*',
68  'keep *_simDttfDigis_*_*',
69  'keep *_simGctDigis_*_*',
70  'keep *_simCaloStage1Digis_*_*',
71  'keep *_simCaloStage1FinalDigis_*_*',
72  'keep *_simCaloStage2Layer1Digis_*_*',
73  'keep *_simCaloStage2Digis_*_*',
74  'keep *_simGmtDigis_*_*',
75  "keep *_simBmtfDigis_*_*",
76  "keep *_simKBmtfDigis_*_*",
77  "keep *_simOmtfDigis_*_*",
78  "keep *_simEmtfDigis_*_*",
79  "keep *_simGmtStage2Digis_*_*",
80  'keep *_simGtDigis_*_*',
81  "keep *_simGtStage2Digis_*_*",
82  'keep *_cscTriggerPrimitiveDigis_*_*',
83  'keep *_dtTriggerPrimitiveDigis_*_*',
84  'keep *_rpcTriggerDigis_*_*',
85  'keep *_rctDigis_*_*',
86  'keep *_csctfDigis_*_*',
87  'keep *_csctfTrackDigis_*_*',
88  'keep *_dttfDigis_*_*',
89  'keep *_gctDigis_*_*',
90  'keep *_gmtDigis_*_*',
91  'keep *_gtDigis_*_*',
92  'keep *_gtEvmDigis_*_*',
93  'keep *_l1GtRecord_*_*',
94  'keep *_l1GtTriggerMenuLite_*_*',
95  'keep *_conditionsInEdm_*_*',
96  'keep *_l1extraParticles_*_*',
97  'keep *_l1L1GtObjectMap_*_*',
98  'keep LumiDetails_lumiProducer_*_*',
99  'keep LumiSummary_lumiProducer_*_*')
100 )
101 
102 
104  l1Stage2Digis = [
105  'keep *_gtStage2Digis_*_*',
106  'keep *_gmtStage2Digis_*_*',
107  'keep *_caloStage2Digis_*_*',
108  ]
109  obj.outputCommands += l1Stage2Digis
110 
111 # adding them to all places where we had l1extraParticles
112 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
113 stage2L1Trigger.toModify(L1TriggerRAWDEBUG, func=_appendStage2Digis)
114 stage2L1Trigger.toModify(L1TriggerRECO, func=_appendStage2Digis)
115 stage2L1Trigger.toModify(L1TriggerAOD, func=_appendStage2Digis)
116 stage2L1Trigger.toModify(L1TriggerFEVTDEBUG, func=_appendStage2Digis)
117 
118 
120  run3ShowerDigis = [
121  "keep *_simEmtfShowers_*_*",
122  'keep *_simGmtShowerDigis_*_*',
123  ]
124  obj.outputCommands += run3ShowerDigis
125 
126 from Configuration.Eras.Modifier_run3_common_cff import run3_common
127 (stage2L1Trigger & run3_common).toModify(L1TriggerFEVTDEBUG, func=_appendRun3ShowerDigis)
128 
129 # adding HGCal L1 trigger digis
131  l1HGCalDigis = [
132  'keep l1tHGCalTriggerCellBXVector_l1tHGCalVFEProducer_*_*',
133  'keep l1tHGCalTriggerCellBXVector_l1tHGCalConcentratorProducer_*_*',
134  'keep l1tHGCalTowerBXVector_l1tHGCalTowerProducer_*_*',
135  'keep l1tHGCalClusterBXVector_l1tHGCalBackEndLayer1Producer_*_*',
136  'keep l1tHGCalMulticlusterBXVector_l1tHGCalBackEndLayer2Producer_*_*'
137  ]
138  obj.outputCommands += l1HGCalDigis
139 
140 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
141 phase2_hgcal.toModify(L1TriggerFEVTDEBUG, func=_appendHGCalDigis)
142 
143 # adding GEM trigger primitives
145  l1GEMDigis = [
146  'keep *_simMuonGEMPadDigis_*_*',
147  'keep *_simMuonGEMPadDigiClusters_*_*',
148  ]
149  obj.outputCommands += l1GEMDigis
150 
151 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
152 run3_GEM.toModify(L1TriggerFEVTDEBUG, func=_appendGEMDigis)
153 
154 # adding ME0 trigger primitives
156  l1ME0Digis = [
157  'keep *_simMuonME0PadDigis__*',
158  'keep *_me0TriggerDigis__*',
159  'keep *_simMuonME0PseudoReDigisCoarse__*',
160  'keep *_me0RecHitsCoarse__*',
161  'keep *_me0TriggerPseudoDigis__*',
162  'keep *_me0TriggerConvertedPseudoDigis__*',
163  ]
164  obj.outputCommands += l1ME0Digis
165 
166 from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
167 phase2_muon.toModify(L1TriggerFEVTDEBUG, func=_appendME0Digis)
168 
169 # adding phase2 trigger
171  l1Phase2Digis = [
172  "keep *_simKBmtfDigis_*_*",
173  'keep *_l1tHGCalVFEProducerhgcalConcentratorProducer_*_*',
174  'keep *_l1tHGCalBackEndLayer1Producer_*_*',
175  'keep *_l1tHGCalBackEndLayer2Producer_*_*',
176  'keep *_l1tHGCalTowerMapProducer_*_*',
177  'keep *_l1tHGCalTowerProducer_*_*',
178  'keep *_l1tEGammaClusterEmuProducer_*_*',
179  'keep *_l1tVertexFinder_*_*',
180  'keep *_l1tVertexFinderEmulator_*_*',
181  'keep *_l1tTrackJets_*_*',
182  'keep *_l1tTrackJetsExtended_*_*',
183  'keep *_l1tTrackFastJets_*_*',
184  'keep *_l1tTrackerEtMiss_*_*',
185  'keep *_l1tTrackerHTMiss_*_*',
186  'keep *_l1tTrackJetsEmulation_*_*',
187  'keep *_l1tTrackJetsExtendedEmulation_*_*',
188  'keep *_l1tTrackerEmuEtMiss_*_*',
189  'keep *_l1tTrackerEmuHTMiss_*_*',
190  'keep *_l1tTrackerEmuHTMissExtended_*_*',
191  'keep *_l1tTowerCalibration_*_*',
192  'keep *_l1tCaloJet_*_*',
193  'keep *_l1tCaloJetHTT_*_*',
194  'keep *_l1tPFClustersFromL1EGClusters_*_*',
195  'keep *_l1tPFClustersFromCombinedCaloHCal_*_*',
196  'keep *_l1tPFClustersFromCombinedCaloHF_*_*',
197  'keep *_l1tPFClustersFromHGC3DClusters_*_*',
198  'keep *_l1tPFTracksFromL1TracksBarrel_*_*',
199  'keep *_l1tPFTracksFromL1TracksHGCal_*_*',
200  'keep *_l1tSCPFL1PuppiCorrectedEmulator_*_*',
201  'keep *_l1tSCPFL1PuppiCorrectedEmulatorMHT_*_*',
202  'keep *_l1tSCPFL1PuppiExtendedCorrectedEmulator_*_*',
203  'keep *_l1tSCPFL1PuppiExtendedCorrectedEmulatorMHT_*_*',
204  'keep *_l1tPhase1JetProducer9x9_*_*',
205  'keep *_l1tPhase1JetCalibrator9x9_*_*',
206  'keep *_l1tPhase1JetSumsProducer9x9_*_*',
207  'keep *_l1tPhase1JetProducer9x9trimmed_*_*',
208  'keep *_l1tPhase1JetCalibrator9x9trimmed_*_*',
209  'keep *_l1tPhase1JetSumsProducer9x9trimmed_*_*',
210  'keep *_l1tLayer1Barrel_*_*',
211  'keep *_l1tLayer1HGCal_*_*',
212  'keep *_l1tLayer1HGCalNoTK_*_*',
213  'keep *_l1tLayer1HF_*_*',
214  'keep *_l1tLayer1_*_*',
215  'keep *_l1tLayer1BarrelExtended_*_*',
216  'keep *_l1tLayer1HGCalExtended_*_*',
217  'keep *_l1tLayer1Extended_*_*',
218  'keep *_l1tLayer1EG_*_*',
219  'keep *_l1tLayer2EG_*_*',
220  'keep *_l1tMETPFProducer_*_*',
221  'keep *_l1tNNTauProducer_*_*',
222  'keep *_l1tNNTauProducerPuppi_*_*',
223  'keep *_l1tHPSPFTauProducerPF_*_*',
224  'keep *_l1tHPSPFTauProducerPuppi_*_*',
225  'keep *_l1tBJetProducerPuppi_*_*',
226  'keep *_l1tBJetProducerPuppiCorrectedEmulator_*_*',
227  'keep *_TTStubsFromPhase2TrackerDigis_*_*',
228  'keep *_TTClustersFromPhase2TrackerDigis_*_*',
229  'keep *_l1tTTTracksFromExtendedTrackletEmulation_*_*',
230  'keep *_l1tTTTracksFromTrackletEmulation_*_*',
231  'keep *_l1tTkStubsGmt_*_*',
232  'keep *_l1tTkMuonsGmt_*_*',
233  'keep *_l1tSAMuonsGmt_*_*',
234  ]
235  obj.outputCommands += l1Phase2Digis
236 
237 from Configuration.Eras.Modifier_phase2_trigger_cff import phase2_trigger
238 phase2_muon.toModify(L1TriggerFEVTDEBUG, func=_appendPhase2Digis)
def _appendRun3ShowerDigis(obj)
Run-3 EMTF and GMT showers.