CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EventContent_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 #####################################################################
3 #
4 # Event Content definition
5 #
6 #####################################################################
8 
9 #####################################################################
10 # The simHits part is definitely different in FastSim
11 #####################################################################
12 
13 
14 
15 FastSimCoreFEVT = cms.PSet(
16  outputCommands = cms.untracked.vstring('keep *_famosPileUp_*_*',
17  'keep *_famosSimHits_*_*',
18  'keep *_MuonSimHits_*_*')
19 )
20 
21 FastSimCoreFEVT.outputCommands.extend(GeneratorInterfaceRAW.outputCommands)
22 
23 
24 #RECO content
25 FastSimCoreRECO = cms.PSet(
26  outputCommands = cms.untracked.vstring('keep SimTracks_famosSimHits_*_*',
27  'keep SimVertexs_famosSimHits_*_*')
28 )
29 FastSimCoreRECO.outputCommands.extend(GeneratorInterfaceRECO.outputCommands)
30 
31 #AOD content
32 FastSimCoreAOD = cms.PSet(
33  outputCommands = cms.untracked.vstring()
34 )
35 FastSimCoreAOD.outputCommands.extend(GeneratorInterfaceAOD.outputCommands)
36 
37 #####################################################################
38 # The Tracker RecHits are also different
39 #####################################################################
40 
41 #Full Event content
42 FastSimRecoLocalTrackerFEVT = cms.PSet(
43  outputCommands = cms.untracked.vstring('keep *_siTrackerGaussianSmearingRecHits_*_*')
44 )
45 #RECO content
46 FastSimRecoLocalTrackerRECO = cms.PSet(
47  outputCommands = cms.untracked.vstring()
48 )
49 #AOD content
50 FastSimRecoLocalTrackerAOD = cms.PSet(
51  outputCommands = cms.untracked.vstring()
52 )
53 
54 
55 #####################################################################
56 # CaloJet+Tracks are apparently saved nowhere
57 # Let's save them in the fast simulation (AOD only)
58 #####################################################################
59 FastSimCJPT = cms.PSet(
60  outputCommands = cms.untracked.vstring(
61  'keep *_JetPlusTrackZSPCorJetIcone5_*_*',
62  'keep *_ZSPJetCorJetIcone5_*_*'
63  )
64 )
65 
66 #####################################################################
67 # The Calo RecHits are also different
68 #####################################################################
69 
70 #Full Event content
71 FastSimRecoLocalCaloFEVT = cms.PSet(
72  outputCommands = cms.untracked.vstring('keep *_caloRecHits_*_*',
73  'keep *_hcalRecHits_*_*')
74 )
75 
76 #RECO content
77 FastSimRecoLocalCaloRECO = cms.PSet(
78  outputCommands = cms.untracked.vstring('keep *_caloRecHits_*_*',
79  'keep *_hcalRecHits_*_*')
80 )
81 
82 #AOD content
83 FastSimRecoLocalCaloAOD = cms.PSet(
84  outputCommands = cms.untracked.vstring()
85 )
86 
87 #####################################################################
88 # The Tracker Tracks are also different
89 #####################################################################
90 
91 #Full Event content
92 FastSimRecoTrackerFEVT = cms.PSet(
93  outputCommands = cms.untracked.vstring('keep *_iterativeGSWithMaterialTracks_*_*')
94 )
95 
96 #RECO content
97 FastSimRecoTrackerRECO = cms.PSet(
98  outputCommands = cms.untracked.vstring('keep *_iterativeGSWithMaterialTracks_*_*')
99 )
100 
101 #AOD content
102 FastSimRecoTrackerAOD = cms.PSet(
103  outputCommands = cms.untracked.vstring('keep recoTracks_iterativeGSWithMaterialTracks_*_*')
104 )
105 
106 
107 #####################################################################
108 # new Particle Flow Collection with "Fake" Neutral Hadrons
109 #####################################################################
110 
111 #Full Event content
112 FastSimParticleFlowFEVT = cms.PSet(
113  outputCommands = cms.untracked.vstring('keep recoPFCandidates_FSparticleFlow_*_*')
114 )
115 
116 #RECO content
117 FastSimParticleFlowRECO = cms.PSet(
118  outputCommands = cms.untracked.vstring('keep recoPFCandidates_FSparticleFlow_*_*')
119 )
120 
121 #AOD content
122 FastSimParticleFlowAOD = cms.PSet(
123  outputCommands = cms.untracked.vstring('keep recoPFCandidates_FSparticleFlow_*_*')
124 )
125 
126 
127 
128 
129 # Addition to the event content
130 # We don't need to remove anything, as the corresponding products are
131 # not produced anyway in a FastSimulation job.
132 
133 #####################################################################
134 #
135 # AOD Data Tier definition
136 #
137 #####################################################################
138 
139 AODEventContent.outputCommands.extend(FastSimRecoLocalTrackerAOD.outputCommands)
140 AODEventContent.outputCommands.extend(FastSimRecoLocalCaloAOD.outputCommands)
141 AODEventContent.outputCommands.extend(FastSimRecoTrackerAOD.outputCommands)
142 AODEventContent.outputCommands.extend(FastSimParticleFlowAOD.outputCommands)
143 
144 #####################################################################
145 #
146 # AODSIM Data Tier definition
147 #
148 #####################################################################
149 
150 AODSIMEventContent.outputCommands.extend(FastSimCoreAOD.outputCommands)
151 AODSIMEventContent.outputCommands.extend(FastSimRecoLocalTrackerAOD.outputCommands)
152 AODSIMEventContent.outputCommands.extend(FastSimRecoLocalCaloAOD.outputCommands)
153 AODSIMEventContent.outputCommands.extend(FastSimRecoTrackerAOD.outputCommands)
154 AODSIMEventContent.outputCommands.extend(FastSimParticleFlowAOD.outputCommands)
155 
156 #####################################################################
157 #
158 # RECO Data Tier definition
159 #
160 #####################################################################
161 
162 RECOEventContent.outputCommands.extend(FastSimRecoLocalTrackerRECO.outputCommands)
163 RECOEventContent.outputCommands.extend(FastSimRecoLocalCaloRECO.outputCommands)
164 RECOEventContent.outputCommands.extend(FastSimRecoTrackerRECO.outputCommands)
165 RECOEventContent.outputCommands.extend(FastSimParticleFlowRECO.outputCommands)
166 
167 #####################################################################
168 #
169 # RECOSIM Data Tier definition
170 #
171 #####################################################################
172 
173 RECOSIMEventContent.outputCommands.extend(FastSimCoreRECO.outputCommands)
174 RECOSIMEventContent.outputCommands.extend(FastSimRecoLocalTrackerRECO.outputCommands)
175 RECOSIMEventContent.outputCommands.extend(FastSimRecoLocalCaloRECO.outputCommands)
176 RECOSIMEventContent.outputCommands.extend(FastSimRecoTrackerRECO.outputCommands)
177 RECOSIMEventContent.outputCommands.extend(FastSimParticleFlowRECO.outputCommands)
178 
179 #####################################################################
180 #
181 # RECODEBUG Data Tier definition
182 #
183 #####################################################################
184 
185 RECODEBUGEventContent.outputCommands.extend(FastSimCoreRECO.outputCommands)
186 RECODEBUGEventContent.outputCommands.extend(FastSimRecoLocalTrackerRECO.outputCommands)
187 RECODEBUGEventContent.outputCommands.extend(FastSimRecoLocalCaloRECO.outputCommands)
188 RECODEBUGEventContent.outputCommands.extend(FastSimRecoTrackerRECO.outputCommands)
189 RECODEBUGEventContent.outputCommands.extend(FastSimParticleFlowRECO.outputCommands)
190 
191 ####################################################################
192 #
193 # FEVT Data Tier re-definition
194 #
195 #####################################################################
196 
197 FEVTEventContent.outputCommands.extend(FastSimRecoLocalTrackerFEVT.outputCommands)
198 FEVTEventContent.outputCommands.extend(FastSimRecoLocalCaloFEVT.outputCommands)
199 FEVTEventContent.outputCommands.extend(FastSimRecoTrackerFEVT.outputCommands)
200 FEVTEventContent.outputCommands.extend(FastSimParticleFlowFEVT.outputCommands)
201 
202 ####################################################################
203 #
204 # FEVTSIM Data Tier re-definition
205 #
206 #####################################################################
207 
208 FEVTSIMEventContent.outputCommands.extend(FastSimCoreFEVT.outputCommands)
209 FEVTSIMEventContent.outputCommands.extend(FastSimRecoLocalTrackerFEVT.outputCommands)
210 FEVTSIMEventContent.outputCommands.extend(FastSimRecoLocalCaloFEVT.outputCommands)
211 FEVTSIMEventContent.outputCommands.extend(FastSimRecoTrackerFEVT.outputCommands)
212 FEVTSIMEventContent.outputCommands.extend(FastSimParticleFlowFEVT.outputCommands)
213 
214 #####################################################################
215 #
216 # FEVTDEBUG Data Tier re-definition
217 #
218 #####################################################################
219 
220 FEVTDEBUGEventContent.outputCommands.extend(FastSimCoreFEVT.outputCommands)
221 FEVTDEBUGEventContent.outputCommands.extend(FastSimRecoLocalTrackerFEVT.outputCommands)
222 FEVTDEBUGEventContent.outputCommands.extend(FastSimRecoLocalCaloFEVT.outputCommands)
223 FEVTDEBUGEventContent.outputCommands.extend(FastSimRecoTrackerFEVT.outputCommands)
224 FEVTDEBUGEventContent.outputCommands.extend(FastSimParticleFlowFEVT.outputCommands)
225 
226 #####################################################################
227 #
228 # FEVTDEBUGHLT Data Tier re-definition
229 #
230 #####################################################################
231 FEVTDEBUGHLTEventContent.outputCommands.extend(FastSimCoreFEVT.outputCommands)
232 FEVTDEBUGHLTEventContent.outputCommands.extend(FastSimRecoLocalTrackerFEVT.outputCommands)
233 FEVTDEBUGHLTEventContent.outputCommands.extend(FastSimRecoLocalCaloFEVT.outputCommands)
234 FEVTDEBUGHLTEventContent.outputCommands.extend(FastSimRecoTrackerFEVT.outputCommands)
235 FEVTDEBUGHLTEventContent.outputCommands.extend(FastSimParticleFlowFEVT.outputCommands)