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_hgcalVFEProducer_*_*',
133  'keep l1tHGCalTriggerCellBXVector_hgcalConcentratorProducer_*_*',
134  'keep l1tHGCalTowerBXVector_hgcalTowerProducer_*_*',
135  'keep l1tHGCalClusterBXVector_hgcalBackEndLayer1Producer_*_*',
136  'keep l1tHGCalMulticlusterBXVector_hgcalBackEndLayer2Producer_*_*'
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 *_hgcalVFEProducerhgcalConcentratorProducer_*_*',
174  'keep *_hgcalBackEndLayer1Producer_*_*',
175  'keep *_hgcalBackEndLayer2Producer_*_*',
176  'keep *_hgcalTowerMapProducer_*_*',
177  'keep *_hgcalTowerProducer_*_*',
178  'keep *_L1EGammaClusterEmuProducer_*_*',
179  'keep *_l1EGammaEEProducer_*_*',
180  'keep *_L1TkPrimaryVertex_*_*',
181  'keep *_L1TkElectronsCrystal_*_*',
182  'keep *_L1TkElectronsLooseCrystal_*_*',
183  'keep *_L1TkElectronsEllipticMatchCrystal_*_*',
184  'keep *_L1TkIsoElectronsCrystal_*_*',
185  'keep *_L1TkPhotonsCrystal_*_*',
186  'keep *_L1TkElectronsHGC_*_*',
187  'keep *_L1TkElectronsEllipticMatchHGC_*_*',
188  'keep *_L1TkIsoElectronsHGC_*_*',
189  'keep *_L1TkPhotonsHGC_*_*',
190  'keep *_L1TkMuons_*_*',
191  'keep *_pfClustersFromL1EGClusters_*_*',
192  'keep *_pfClustersFromCombinedCaloHCal_*_*',
193  'keep *_pfClustersFromCombinedCaloHF_*_*',
194  'keep *_pfClustersFromHGC3DClusters_*_*',
195  'keep *_pfTracksFromL1TracksBarrel_*_*',
196  'keep *_l1pfProducerBarrel_*_*',
197  'keep *_pfTracksFromL1TracksHGCal_*_*',
198  'keep *_l1pfProducerHGCal_*_*',
199  'keep *_l1pfProducerHGCalNoTK_*_*',
200  'keep *_l1pfProducerHF_*_*',
201  'keep *_l1pfCandidates_*_*',
202  'keep *_ak4PFL1Calo_*_*',
203  'keep *_ak4PFL1PF_*_*',
204  'keep *_ak4PFL1Puppi_*_*',
205  'keep *_ak4PFL1CaloCorrected_*_*',
206  'keep *_ak4PFL1PFCorrected_*_*',
207  'keep *_ak4PFL1PuppiCorrected_*_*',
208  'keep *_Phase1L1TJetProducer_*_*',
209  'keep *_Phase1L1TJetCalibrator_*_*',
210  'keep *_l1PFMetCalo_*_*',
211  'keep *_l1PFMetPF_*_*',
212  'keep *_l1PFMetPuppi_*_*',
213  'keep *_l1NNTauProducer_*_*',
214  'keep *_l1NNTauProducerPuppi_*_*',
215  'keep *_TTStubsFromPhase2TrackerDigis_*_*',
216  'keep *_TTClustersFromPhase2TrackerDigis_*_*',
217  'keep *_TTTracksFromExtendedTrackletEmulation_*_*',
218  'keep *_TTTracksFromTrackletEmulation_*_*',
219  ]
220  obj.outputCommands += l1Phase2Digis
221 
222 from Configuration.Eras.Modifier_phase2_trigger_cff import phase2_trigger
223 phase2_muon.toModify(L1TriggerFEVTDEBUG, func=_appendPhase2Digis)
def _appendRun3ShowerDigis(obj)
Run-3 EMTF and GMT showers.