CMS 3D CMS Logo

EventContentCosmics_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #
4 #
5 # Event Content definition
6 #
7 # Data Tiers defined:
8 #
9 # FEVT, RECO, AOD:
10 # include reconstruction content
11 #
12 # FEVTSIM, RECOSIM, AODSIM:
13 # include reconstruction and simulation
14 #
15 # FEVTSIMANA, RECOSIMANA, AODSIMANA:
16 # include reconstruction, simulation and analysis
17 # FEVTSIMDIGIHLTDEBUG FEVTSIMHLTDEBUG
18 #
19 # $Id: EventContentCosmics_cff.py,v 1.22 2010/09/08 13:29:39 vlimant Exp $
20 #
21 #
22 #
23 #
24 # Recontruction Systems
25 #
26 #
38 # raw2digi that are already the final RECO/AOD products
42 # DigiToRaw content
44 # Simulation System
52 # L1
54 # HLT
56 # DQM
58 
59 from Configuration.EventContent.EventContent_cff import REGENEventContent,RESIMEventContent,REDIGIEventContent
60 from Configuration.EventContent.EventContent_cff import DQMEventContent
61 
62 #not in Cosmics
63 #include "TrackingTools/Configuration/data/TrackingTools_EventContent.cff"
64 #include "RecoBTau/Configuration/data/RecoBTau_EventContent.cff"
65 #include "RecoBTag/Configuration/data/RecoBTag_EventContent.cff"
66 #include "RecoTauTag/Configuration/data/RecoTauTag_EventContent.cff"
67 #include "RecoVertex/Configuration/data/RecoVertex_EventContent.cff"
68 #include "RecoPixelVertexing/Configuration/data/RecoPixelVertexing_EventContent.cff"
69 #include "RecoEgamma/Configuration/data/RecoEgamma_EventContent.cff"
70 #include "RecoParticleFlow/Configuration/data/RecoParticleFlow_EventContent.cff"
71 
72 # RAW only data tier
73 RAWEventContent = cms.PSet(
74  outputCommands = cms.untracked.vstring('drop *',
75  'keep FEDRawDataCollection_rawDataCollector_*_*',
76  'keep FEDRawDataCollection_source_*_*'),
77  splitLevel = cms.untracked.int32(0),
78  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
79 )
80 RAWEventContent.outputCommands.extend(L1TriggerRAW.outputCommands)
81 RAWEventContent.outputCommands.extend(HLTriggerRAW.outputCommands)
82 #
83 #
84 # RECO Data Tier definition
85 #
86 #
87 RECOEventContent = cms.PSet(
88  outputCommands = cms.untracked.vstring('drop *',
89  'keep *_logErrorHarvester_*_*'),
90  splitLevel = cms.untracked.int32(0),
91  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
92 )
93 RECOEventContent.outputCommands.extend(RecoLocalTrackerRECO.outputCommands)
94 RECOEventContent.outputCommands.extend(RecoLocalMuonRECO.outputCommands)
95 RECOEventContent.outputCommands.extend(RecoLocalCaloRECO.outputCommands)
96 RECOEventContent.outputCommands.extend(RecoEcalRECO.outputCommands)
97 RECOEventContent.outputCommands.extend(RecoEgammaRECO.outputCommands)
98 RECOEventContent.outputCommands.extend(RecoTrackerRECO.outputCommands)
99 RECOEventContent.outputCommands.extend(RecoJetsRECO.outputCommands)
100 RECOEventContent.outputCommands.extend(RecoMETRECO.outputCommands)
101 RECOEventContent.outputCommands.extend(RecoMuonRECO.outputCommands)
102 RECOEventContent.outputCommands.extend(BeamSpotRECO.outputCommands)
103 RECOEventContent.outputCommands.extend(RecoVertexRECO.outputCommands)
104 RECOEventContent.outputCommands.extend(L1TriggerRECO.outputCommands)
105 RECOEventContent.outputCommands.extend(HLTriggerRECO.outputCommands)
106 RECOEventContent.outputCommands.extend(MEtoEDMConverterRECO.outputCommands)
107 RECOEventContent.outputCommands.extend(EvtScalersRECO.outputCommands)
108 RECOEventContent.outputCommands.extend(OnlineMetaDataContent.outputCommands)
109 RECOEventContent.outputCommands.extend(TcdsEventContent.outputCommands)
110 #
111 #
112 # AOD Data Tier definition
113 #
114 #
115 AODEventContent = cms.PSet(
116  outputCommands = cms.untracked.vstring('drop *',
117  'keep *_logErrorHarvester_*_*'),
118  eventAutoFlushCompressedSize=cms.untracked.int32(15*1024*1024)
119 )
120 AODEventContent.outputCommands.extend(RecoLocalTrackerAOD.outputCommands)
121 AODEventContent.outputCommands.extend(RecoLocalMuonAOD.outputCommands)
122 AODEventContent.outputCommands.extend(RecoLocalCaloAOD.outputCommands)
123 AODEventContent.outputCommands.extend(RecoEcalAOD.outputCommands)
124 AODEventContent.outputCommands.extend(RecoEgammaAOD.outputCommands)
125 AODEventContent.outputCommands.extend(RecoTrackerAOD.outputCommands)
126 AODEventContent.outputCommands.extend(RecoJetsAOD.outputCommands)
127 AODEventContent.outputCommands.extend(RecoMETAOD.outputCommands)
128 AODEventContent.outputCommands.extend(RecoMuonAOD.outputCommands)
129 AODEventContent.outputCommands.extend(BeamSpotAOD.outputCommands)
130 AODEventContent.outputCommands.extend(RecoVertexAOD.outputCommands)
131 AODEventContent.outputCommands.extend(MEtoEDMConverterAOD.outputCommands)
132 AODEventContent.outputCommands.extend(EvtScalersAOD.outputCommands)
133 AODEventContent.outputCommands.extend(OnlineMetaDataContent.outputCommands)
134 AODEventContent.outputCommands.extend(TcdsEventContent.outputCommands)
135 #
136 #
137 # RAWSIM Data Tier definition
138 #
139 #
140 RAWSIMEventContent = cms.PSet(
141  outputCommands = cms.untracked.vstring('drop *'),
142  splitLevel = cms.untracked.int32(0),
143  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
144 )
145 RAWSIMEventContent.outputCommands.extend(RAWEventContent.outputCommands)
146 RAWSIMEventContent.outputCommands.extend(SimG4CoreRAW.outputCommands)
147 RAWSIMEventContent.outputCommands.extend(SimTrackerRAW.outputCommands)
148 RAWSIMEventContent.outputCommands.extend(SimMuonRAW.outputCommands)
149 RAWSIMEventContent.outputCommands.extend(SimCalorimetryRAW.outputCommands)
150 RAWSIMEventContent.outputCommands.extend(SimGeneralRAW.outputCommands)
151 RAWSIMEventContent.outputCommands.extend(GeneratorInterfaceRAW.outputCommands)
152 RAWSIMEventContent.outputCommands.extend(RecoGenJetsFEVT.outputCommands)
153 RAWSIMEventContent.outputCommands.extend(RecoGenMETFEVT.outputCommands)
154 RAWSIMEventContent.outputCommands.extend(DigiToRawFEVT.outputCommands)
155 RAWSIMEventContent.outputCommands.extend(MEtoEDMConverterFEVT.outputCommands)
156 RAWSIMEventContent.outputCommands.extend(IOMCRAW.outputCommands)
157 #
158 #
159 # RECOSIM Data Tier definition
160 #
161 #
162 RECOSIMEventContent = cms.PSet(
163  outputCommands = cms.untracked.vstring('drop *',
164  'keep *_logErrorHarvester_*_*'),
165  splitLevel = cms.untracked.int32(0),
166  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
167 )
168 RECOSIMEventContent.outputCommands.extend(RECOEventContent.outputCommands)
169 RECOSIMEventContent.outputCommands.extend(GeneratorInterfaceRECO.outputCommands)
170 RECOSIMEventContent.outputCommands.extend(SimG4CoreRECO.outputCommands)
171 RECOSIMEventContent.outputCommands.extend(SimTrackerRECO.outputCommands)
172 RECOSIMEventContent.outputCommands.extend(SimMuonRECO.outputCommands)
173 RECOSIMEventContent.outputCommands.extend(SimCalorimetryRECO.outputCommands)
174 RECOSIMEventContent.outputCommands.extend(RecoGenMETRECO.outputCommands)
175 RECOSIMEventContent.outputCommands.extend(RecoGenJetsRECO.outputCommands)
176 RECOSIMEventContent.outputCommands.extend(SimGeneralRECO.outputCommands)
177 #
178 # FEVT Data Tier definition
179 #
180 #
181 #FEVT is by definition RECO + RAW
182 FEVTEventContent = cms.PSet(
183  outputCommands = cms.untracked.vstring('drop *',
184  'keep *_logErrorHarvester_*_*'),
185  splitLevel = cms.untracked.int32(0),
186  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
187 )
188 FEVTEventContent.outputCommands.extend(RAWEventContent.outputCommands)
189 FEVTEventContent.outputCommands.extend(RecoLocalTrackerRECO.outputCommands)
190 FEVTEventContent.outputCommands.extend(RecoLocalMuonRECO.outputCommands)
191 FEVTEventContent.outputCommands.extend(RecoLocalCaloRECO.outputCommands)
192 FEVTEventContent.outputCommands.extend(RecoEcalRECO.outputCommands)
193 FEVTEventContent.outputCommands.extend(RecoEgammaRECO.outputCommands)
194 FEVTEventContent.outputCommands.extend(RecoTrackerRECO.outputCommands)
195 FEVTEventContent.outputCommands.extend(RecoJetsRECO.outputCommands)
196 FEVTEventContent.outputCommands.extend(RecoMETRECO.outputCommands)
197 FEVTEventContent.outputCommands.extend(RecoMuonRECO.outputCommands)
198 FEVTEventContent.outputCommands.extend(BeamSpotRECO.outputCommands)
199 FEVTEventContent.outputCommands.extend(RecoVertexRECO.outputCommands)
200 FEVTEventContent.outputCommands.extend(L1TriggerRECO.outputCommands)
201 FEVTEventContent.outputCommands.extend(HLTriggerRECO.outputCommands)
202 FEVTEventContent.outputCommands.extend(MEtoEDMConverterRECO.outputCommands)
203 FEVTEventContent.outputCommands.extend(EvtScalersRECO.outputCommands)
204 FEVTEventContent.outputCommands.extend(OnlineMetaDataContent.outputCommands)
205 FEVTEventContent.outputCommands.extend(TcdsEventContent.outputCommands)
206 
207 #replace FEVTEventContent.outputCommands += HLTriggerFEVT.outputCommands
208 FEVTHLTALLEventContent = cms.PSet(
209  outputCommands = cms.untracked.vstring('drop *'),
210  splitLevel = cms.untracked.int32(0),
211  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
212 )
213 FEVTHLTALLEventContent.outputCommands.extend(FEVTEventContent.outputCommands)
214 FEVTHLTALLEventContent.outputCommands.append('keep *_*_*_HLT')
215 #
216 # FEVTSIM Data Tier definition
217 #
218 #
219 FEVTSIMEventContent = cms.PSet(
220  outputCommands = cms.untracked.vstring('drop *',
221  'keep *_logErrorHarvester_*_*'),
222  splitLevel = cms.untracked.int32(0),
223  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
224 )
225 FEVTSIMEventContent.outputCommands.extend(FEVTEventContent.outputCommands)
226 FEVTSIMEventContent.outputCommands.extend(SimG4CoreRAW.outputCommands)
227 FEVTSIMEventContent.outputCommands.extend(SimTrackerRAW.outputCommands)
228 FEVTSIMEventContent.outputCommands.extend(SimMuonRAW.outputCommands)
229 FEVTSIMEventContent.outputCommands.extend(SimCalorimetryRAW.outputCommands)
230 FEVTSIMEventContent.outputCommands.extend(SimGeneralRAW.outputCommands)
231 FEVTSIMEventContent.outputCommands.extend(GeneratorInterfaceRAW.outputCommands)
232 FEVTSIMEventContent.outputCommands.extend(RecoGenJetsFEVT.outputCommands)
233 FEVTSIMEventContent.outputCommands.extend(RecoGenMETFEVT.outputCommands)
234 FEVTSIMEventContent.outputCommands.extend(DigiToRawFEVT.outputCommands)
235 FEVTSIMEventContent.outputCommands.extend(MEtoEDMConverterFEVT.outputCommands)
236 FEVTSIMEventContent.outputCommands.extend(IOMCRAW.outputCommands)
237 FEVTSIMEventContent.outputCommands.extend(GeneratorInterfaceRECO.outputCommands)
238 FEVTSIMEventContent.outputCommands.extend(RecoGenMETRECO.outputCommands)
239 FEVTSIMEventContent.outputCommands.extend(RecoGenJetsRECO.outputCommands)
240 FEVTSIMEventContent.outputCommands.extend(SimG4CoreRECO.outputCommands)
241 FEVTSIMEventContent.outputCommands.extend(SimTrackerRECO.outputCommands)
242 FEVTSIMEventContent.outputCommands.extend(SimMuonRECO.outputCommands)
243 FEVTSIMEventContent.outputCommands.extend(SimCalorimetryRECO.outputCommands)
244 FEVTSIMEventContent.outputCommands.extend(SimGeneralRECO.outputCommands)
245 #
246 #
247 # FEVTDEBUG Data Tier definition
248 #
249 #
250 FEVTDEBUGEventContent = cms.PSet(
251  outputCommands = cms.untracked.vstring('drop *',
252  'keep *_logErrorHarvester_*_*'),
253  splitLevel = cms.untracked.int32(0),
254  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
255 )
256 FEVTDEBUGEventContent.outputCommands.extend(FEVTSIMEventContent.outputCommands)
257 FEVTDEBUGEventContent.outputCommands.extend(L1TriggerFEVTDEBUG.outputCommands)
258 FEVTDEBUGEventContent.outputCommands.extend(SimGeneralFEVTDEBUG.outputCommands)
259 FEVTDEBUGEventContent.outputCommands.extend(SimTrackerFEVTDEBUG.outputCommands)
260 FEVTDEBUGEventContent.outputCommands.extend(SimMuonFEVTDEBUG.outputCommands)
261 FEVTDEBUGEventContent.outputCommands.extend(SimCalorimetryFEVTDEBUG.outputCommands)
262 #
263 #
264 # ALCARECO Data Tier definition
265 #
266 #