CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1Trigger_EventContent_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from Configuration.StandardSequences.Eras import eras
3 
4 # RAW content
5 L1TriggerRAW = cms.PSet(
6  outputCommands = cms.untracked.vstring(
7  'keep FEDRawDataCollection_rawDataCollector_*_*',
8  'keep FEDRawDataCollection_source_*_*')
9 )
10 
11 
12 # RAWDEBUG content
13 L1TriggerRAWDEBUG = cms.PSet(
14  outputCommands = cms.untracked.vstring(
15  'keep FEDRawDataCollection_rawDataCollector_*_*',
16  'keep FEDRawDataCollection_source_*_*',
17  'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
18  'keep *_l1GtRecord_*_*',
19  'keep *_l1GtTriggerMenuLite_*_*',
20  'keep *_conditionsInEdm_*_*',
21  'keep *_l1extraParticles_*_*')
22 )
23 
24 # RECO content
25 L1TriggerRECO = cms.PSet(
26  outputCommands = cms.untracked.vstring(
27  'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
28  'keep *_l1GtRecord_*_*',
29  'keep *_l1GtTriggerMenuLite_*_*',
30  'keep *_conditionsInEdm_*_*',
31  'keep *_l1extraParticles_*_*',
32  'keep *_l1L1GtObjectMap_*_*',
33  'keep L1MuGMTReadoutCollection_gtDigis_*_*',
34  'keep L1GctEmCand*_gctDigis_*_*',
35  'keep L1GctJetCand*_gctDigis_*_*',
36  'keep L1GctEtHad*_gctDigis_*_*',
37  'keep L1GctEtMiss*_gctDigis_*_*',
38  'keep L1GctEtTotal*_gctDigis_*_*',
39  'keep L1GctHtMiss*_gctDigis_*_*',
40  'keep L1GctJetCounts*_gctDigis_*_*',
41  'keep L1GctHFRingEtSums*_gctDigis_*_*',
42  'keep L1GctHFBitCounts*_gctDigis_*_*',
43  'keep LumiDetails_lumiProducer_*_*',
44  'keep LumiSummary_lumiProducer_*_*')
45 )
46 
47 
48 # AOD content
49 L1TriggerAOD = cms.PSet(
50  outputCommands = cms.untracked.vstring(
51  'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
52  'keep *_l1GtRecord_*_*',
53  'keep *_l1GtTriggerMenuLite_*_*',
54  'keep *_conditionsInEdm_*_*',
55  'keep *_l1extraParticles_*_*',
56  'keep *_l1L1GtObjectMap_*_*',
57  'keep LumiSummary_lumiProducer_*_*')
58 )
59 
60 
61 L1TriggerFEVTDEBUG = cms.PSet(
62  outputCommands = cms.untracked.vstring(
63  'keep *_simCscTriggerPrimitiveDigis_*_*',
64  'keep *_simDtTriggerPrimitiveDigis_*_*',
65  'keep *_simRpcTriggerDigis_*_*',
66  'keep *_simRctDigis_*_*',
67  'keep *_simCsctfDigis_*_*',
68  'keep *_simCsctfTrackDigis_*_*',
69  'keep *_simDttfDigis_*_*',
70  'keep *_simGctDigis_*_*',
71  'keep *_simCaloStage1Digis_*_*',
72  'keep *_simCaloStage1FinalDigis_*_*',
73  'keep *_simCaloStage2Layer1Digis_*_*',
74  'keep *_simCaloStage2Digis_*_*',
75  'keep *_simGmtDigis_*_*',
76  'keep *_simGtDigis_*_*',
77  'keep *_cscTriggerPrimitiveDigis_*_*',
78  'keep *_dtTriggerPrimitiveDigis_*_*',
79  'keep *_rpcTriggerDigis_*_*',
80  'keep *_rctDigis_*_*',
81  'keep *_csctfDigis_*_*',
82  'keep *_csctfTrackDigis_*_*',
83  'keep *_dttfDigis_*_*',
84  'keep *_gctDigis_*_*',
85  'keep *_gmtDigis_*_*',
86  'keep *_gtDigis_*_*',
87  'keep *_gtEvmDigis_*_*',
88  'keep *_l1GtRecord_*_*',
89  'keep *_l1GtTriggerMenuLite_*_*',
90  'keep *_conditionsInEdm_*_*',
91  'keep *_l1extraParticles_*_*',
92  'keep *_l1L1GtObjectMap_*_*',
93  'keep LumiDetails_lumiProducer_*_*',
94  'keep LumiSummary_lumiProducer_*_*')
95 )
96 
97 
99  l1Stage2Digis = [
100  'keep *_gtStage2Digis__*',
101  'keep *_gmtStage2Digis_Muon_*',
102  'keep *_caloStage2Digis_Jet_*',
103  'keep *_caloStage2Digis_Tau_*',
104  'keep *_caloStage2Digis_EGamma_*',
105  'keep *_caloStage2Digis_EtSum_*',
106  ]
107  obj.outputCommands += l1Stage2Digis
108 
109 # adding them to all places where we had l1extraParticles
110 eras.stage2L1Trigger.toModify(L1TriggerRAWDEBUG, func=_appendStage2Digis)
111 eras.stage2L1Trigger.toModify(L1TriggerRECO, func=_appendStage2Digis)
112 eras.stage2L1Trigger.toModify(L1TriggerAOD, func=_appendStage2Digis)
113 eras.stage2L1Trigger.toModify(L1TriggerFEVTDEBUG, func=_appendStage2Digis)