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 # adding HGCal L1 trigger digis
120  l1HGCalDigis = [
121  'keep l1tHGCalTriggerCellBXVector_hgcalVFEProducer_*_*',
122  'keep l1tHGCalTriggerCellBXVector_hgcalConcentratorProducer_*_*',
123  'keep l1tHGCalTowerBXVector_hgcalTowerProducer_*_*',
124  'keep l1tHGCalClusterBXVector_hgcalBackEndLayer1Producer_*_*',
125  'keep l1tHGCalMulticlusterBXVector_hgcalBackEndLayer2Producer_*_*'
126  ]
127  obj.outputCommands += l1HGCalDigis
128 
129 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
130 phase2_hgcal.toModify(L1TriggerFEVTDEBUG, func=_appendHGCalDigis)
131 
132 # adding GEM trigger primitives
134  l1GEMDigis = [
135  'keep *_simMuonGEMPadDigis_*_*',
136  'keep *_simMuonGEMPadDigiClusters_*_*',
137  ]
138  obj.outputCommands += l1GEMDigis
139 
140 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
141 run3_GEM.toModify(L1TriggerFEVTDEBUG, func=_appendGEMDigis)
142 
143 # adding ME0 trigger primitives
145  l1ME0Digis = [
146  'keep *_simMuonME0PadDigis__*',
147  'keep *_me0TriggerDigis__*',
148  'keep *_simMuonME0PseudoReDigisCoarse__*',
149  'keep *_me0RecHitsCoarse__*',
150  'keep *_me0TriggerPseudoDigis__*',
151  'keep *_me0TriggerConvertedPseudoDigis__*',
152  ]
153  obj.outputCommands += l1ME0Digis
154 
155 from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
156 phase2_muon.toModify(L1TriggerFEVTDEBUG, func=_appendME0Digis)
157 
158 # adding phase2 trigger
160  l1Phase2Digis = [
161  "keep *_simKBmtfDigis_*_*",
162  'keep *_hgcalVFEProducerhgcalConcentratorProducer_*_*',
163  'keep *_hgcalBackEndLayer1Producer_*_*',
164  'keep *_hgcalBackEndLayer2Producer_*_*',
165  'keep *_hgcalTowerMapProducer_*_*',
166  'keep *_hgcalTowerProducer_*_*',
167  'keep *_L1EGammaClusterEmuProducer_*_*',
168  'keep *_l1EGammaEEProducer_*_*',
169  'keep *_L1TkPrimaryVertex_*_*',
170  'keep *_L1TkElectronsCrystal_*_*',
171  'keep *_L1TkElectronsLooseCrystal_*_*',
172  'keep *_L1TkElectronsEllipticMatchCrystal_*_*',
173  'keep *_L1TkIsoElectronsCrystal_*_*',
174  'keep *_L1TkPhotonsCrystal_*_*',
175  'keep *_L1TkElectronsHGC_*_*',
176  'keep *_L1TkElectronsEllipticMatchHGC_*_*',
177  'keep *_L1TkIsoElectronsHGC_*_*',
178  'keep *_L1TkPhotonsHGC_*_*',
179  'keep *_L1TkMuons_*_*',
180  'keep *_pfClustersFromL1EGClusters_*_*',
181  'keep *_pfClustersFromCombinedCaloHCal_*_*',
182  'keep *_pfClustersFromCombinedCaloHF_*_*',
183  'keep *_pfClustersFromHGC3DClusters_*_*',
184  'keep *_pfTracksFromL1TracksBarrel_*_*',
185  'keep *_l1pfProducerBarrel_*_*',
186  'keep *_pfTracksFromL1TracksHGCal_*_*',
187  'keep *_l1pfProducerHGCal_*_*',
188  'keep *_l1pfProducerHGCalNoTK_*_*',
189  'keep *_l1pfProducerHF_*_*',
190  'keep *_l1pfCandidates_*_*',
191  'keep *_ak4PFL1Calo_*_*',
192  'keep *_ak4PFL1PF_*_*',
193  'keep *_ak4PFL1Puppi_*_*',
194  'keep *_ak4PFL1CaloCorrected_*_*',
195  'keep *_ak4PFL1PFCorrected_*_*',
196  'keep *_ak4PFL1PuppiCorrected_*_*',
197  'keep *_Phase1L1TJetProducer_*_*',
198  'keep *_Phase1L1TJetCalibrator_*_*',
199  'keep *_l1PFMetCalo_*_*',
200  'keep *_l1PFMetPF_*_*',
201  'keep *_l1PFMetPuppi_*_*',
202  'keep *_l1NNTauProducer_*_*',
203  'keep *_l1NNTauProducerPuppi_*_*',
204  'keep *_TTStubsFromPhase2TrackerDigis_*_*',
205  'keep *_TTClustersFromPhase2TrackerDigis_*_*',
206  'keep *_TTTracksFromExtendedTrackletEmulation_*_*',
207  'keep *_TTTracksFromTrackletEmulation_*_*',
208  ]
209  obj.outputCommands += l1Phase2Digis
210 
211 from Configuration.Eras.Modifier_phase2_trigger_cff import phase2_trigger
212 phase2_muon.toModify(L1TriggerFEVTDEBUG, func=_appendPhase2Digis)
L1Trigger_EventContent_cff._appendStage2Digis
def _appendStage2Digis(obj)
Definition: L1Trigger_EventContent_cff.py:103
L1Trigger_EventContent_cff._appendGEMDigis
def _appendGEMDigis(obj)
Definition: L1Trigger_EventContent_cff.py:133
L1Trigger_EventContent_cff._appendPhase2Digis
def _appendPhase2Digis(obj)
Definition: L1Trigger_EventContent_cff.py:159
L1Trigger_EventContent_cff._appendME0Digis
def _appendME0Digis(obj)
Definition: L1Trigger_EventContent_cff.py:144
L1Trigger_EventContent_cff._appendHGCalDigis
def _appendHGCalDigis(obj)
Definition: L1Trigger_EventContent_cff.py:119