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 *_simOmtfDigis_*_*",
77  "keep *_simEmtfDigis_*_*",
78  "keep *_simGmtStage2Digis_*_*",
79  'keep *_simGtDigis_*_*',
80  "keep *_simGtStage2Digis_*_*",
81  'keep *_cscTriggerPrimitiveDigis_*_*',
82  'keep *_dtTriggerPrimitiveDigis_*_*',
83  'keep *_rpcTriggerDigis_*_*',
84  'keep *_rctDigis_*_*',
85  'keep *_csctfDigis_*_*',
86  'keep *_csctfTrackDigis_*_*',
87  'keep *_dttfDigis_*_*',
88  'keep *_gctDigis_*_*',
89  'keep *_gmtDigis_*_*',
90  'keep *_gtDigis_*_*',
91  'keep *_gtEvmDigis_*_*',
92  'keep *_l1GtRecord_*_*',
93  'keep *_l1GtTriggerMenuLite_*_*',
94  'keep *_conditionsInEdm_*_*',
95  'keep *_l1extraParticles_*_*',
96  'keep *_l1L1GtObjectMap_*_*',
97  'keep LumiDetails_lumiProducer_*_*',
98  'keep LumiSummary_lumiProducer_*_*')
99 )
100 
101 
103  l1Stage2Digis = [
104  'keep *_gtStage2Digis_*_*',
105  'keep *_gmtStage2Digis_*_*',
106  'keep *_caloStage2Digis_*_*',
107  ]
108  obj.outputCommands += l1Stage2Digis
109 
110 # adding them to all places where we had l1extraParticles
111 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
112 stage2L1Trigger.toModify(L1TriggerRAWDEBUG, func=_appendStage2Digis)
113 stage2L1Trigger.toModify(L1TriggerRECO, func=_appendStage2Digis)
114 stage2L1Trigger.toModify(L1TriggerAOD, func=_appendStage2Digis)
115 stage2L1Trigger.toModify(L1TriggerFEVTDEBUG, func=_appendStage2Digis)
116 
117 # adding HGCal L1 trigger digis
119  l1HGCalDigis = [
120  'keep *_hgcalTriggerPrimitiveDigiProducer_calibratedTriggerCells_*',
121  'keep *_hgcalTriggerPrimitiveDigiProducer_cluster2D_*',
122  'keep *_hgcalTriggerPrimitiveDigiProducer_cluster3D_*',
123  'keep *_hgcalTriggerPrimitiveDigiProducer_towerMap_*',
124  'keep *_hgcalTriggerPrimitiveDigiProducer_tower_*',
125  ]
126  obj.outputCommands += l1HGCalDigis
127 
128 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
129 phase2_hgcal.toModify(L1TriggerFEVTDEBUG, func=_appendHGCalDigis)
130 
131 # adding ME0 pseudo trigger stubs
133  l1ME0PseudoStubs = [
134  'keep *_simMuonME0PseudoReDigisCoarse__*',
135  'keep *_me0RecHitsCoarse__*',
136  'keep *_me0TriggerPseudoDigis__*',
137  ]
138  obj.outputCommands += l1ME0PseudoStubs
139 
140 from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
141 phase2_muon.toModify(L1TriggerFEVTDEBUG, func=_appendME0PseudoStubs)