CMS 3D CMS Logo

analysisEventContent_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 
6 
7 #jets
8 jetContent = cms.PSet(
9  outputCommands = cms.untracked.vstring(
10  'keep double*_*CaloJets_*_*',
11  'drop recoCaloJets_*_*_*',
12  'keep recoGenJets_*_*_*',
13  'keep patJets_*_*_*'
14  )
15  )
16 
17 jetContentExtended = jetContent.clone()
18 jetContentExtended.outputCommands.extend(cms.untracked.vstring('keep *_towerMaker_*_*'))
19 
20 #tracks
21 trkContent = cms.PSet(
22  outputCommands = cms.untracked.vstring(
23  'keep *_offlineBeamSpot_*_*',
24  'keep recoTracks_hiSelectedTracks_*_*',
25  'keep recoTracks_hiPixel3PrimTracks_*_*' # low-fake selection to lower pt?
26  )
27  )
28 
29 lightTrackContent = cms.PSet(
30  outputCommands = cms.untracked.vstring(
31  'keep *_offlineBeamSpot_*_*',
32  'keep *_allTracks_*_*' # Selected Charged Candidates
33  )
34  )
35 
36 #muons
37 muonContent = cms.PSet(
38  outputCommands = cms.untracked.vstring(
39  'keep patMuons_*_*_*'
40  )
41  )
42 
43 muonContentExtended = muonContent.clone()
44 muonContentExtended.outputCommands.extend(RecoMuonAOD.outputCommands)
45 muonContentExtended.outputCommands.extend(RecoHiMuonAOD.outputCommands)
46 
47 #photons
48 photonContent = cms.PSet(
49  outputCommands = cms.untracked.vstring(
50  'keep patPhotons_selected*_*_*'
51  )
52  )
53 
54 photonContentExtended = photonContent.clone()
55 photonContentExtended.outputCommands.extend(RecoEgammaAOD.outputCommands)
56 
57 #correlations
58 corrContent = cms.PSet(
59  outputCommands = cms.untracked.vstring(
60  'keep recoRecoChargedCandidates_allTracks_*_*',
61  'keep recoRecoChargedCandidates_allPxltracks_*_*'
62  )
63  )
64 
65 #common
66 hiCommon = cms.PSet(
67  outputCommands = cms.untracked.vstring('drop *',
68  'keep *_TriggerResults_*_HLT',
69  'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
70  'keep recoVertexs_hiSelectedVertex_*_*',
71  'keep *_heavyIon_*_*',
72  'keep *_hiCentrality_*_*',
73  'keep *_hiEvtPlane_*_*'
74  )
75 )
76 
77 #mc content
78 hiContentMC = cms.PSet(
79  outputCommands = cms.untracked.vstring(
80  'keep *_generator_*_*',
81  'keep *_hiSignal_*_*',
82  'keep *_genParticles_*_*',
83  'keep *_hiGenParticles_*_*'
84  )
85 )
86 
87 
88 
89 # HI PAG skim
90 hiAnalysisSkimContent = hiCommon.clone()
91 hiAnalysisSkimContent.outputCommands.extend(jetContentExtended.outputCommands)
92 hiAnalysisSkimContent.outputCommands.extend(trkContent.outputCommands)
93 hiAnalysisSkimContent.outputCommands.extend(muonContent.outputCommands)
94 hiAnalysisSkimContent.outputCommands.extend(photonContent.outputCommands)
95 hiAnalysisSkimContent.outputCommands.extend(corrContent.outputCommands)
96 
97 # [highpt] skim
98 jetTrkSkimContent = hiCommon.clone()
99 jetTrkSkimContent.outputCommands.extend(jetContentExtended.outputCommands)
100 jetTrkSkimContent.outputCommands.extend(lightTrackContent.outputCommands)
101 
102 # [highpt] MC skim
103 jetTrkSkimContentMC = jetTrkSkimContent.clone()
104 jetTrkSkimContentMC.outputCommands.extend(hiContentMC.outputCommands)
105 
106 # [dilepton] skim 0
107 muonSkimContent = hiCommon.clone()
108 muonSkimContent.outputCommands.extend(cms.untracked.vstring('keep patMuons_*_*_*'))
109 muonSkimContent.outputCommands.extend(RecoMuonRECO.outputCommands)
110 muonSkimContent.outputCommands.extend(RecoHiTrackerRECO.outputCommands)
111 
112 # [dilepton] skim MC
113 muonSkimContentMC = muonSkimContent.clone()
114 muonSkimContentMC.outputCommands.extend(hiContentMC.outputCommands)
115 
116 # [dilepton] skim 1
117 muonTrkSkimContent = hiCommon.clone() # trigger, L!, vertex,centrality, etc
118 muonTrkSkimContent.outputCommands.extend(muonContentExtended.outputCommands) # muon AOD
119 muonTrkSkimContent.outputCommands.extend(trkContent.outputCommands)
event content for heavy-ion analysis objects