CMS 3D CMS Logo

RecoMuon_EventContent_cff.py
Go to the documentation of this file.
1 # The following comments couldn't be translated into the new config version:
2 
3 # Stand Alone's tracks with extra and hits
4 
5 # Global's tracks with extra and hits
6 
7 # TeV muons products
8 
9 # Tracker's Tracks without extra and hits
10 
11 # Muon Id
12 
13 # Seed
14 
15 # Global's tracks with extra and hits
16 
17 # TeV muons products
18 
19 import FWCore.ParameterSet.Config as cms
20 
21 #Add Isolation
23 # AOD content
24 RecoMuonAOD = cms.PSet(
25  outputCommands = cms.untracked.vstring('keep *_muons_*_*',
26  #'keep *_*_muons_*',
27  'keep *_particleFlow_muons_*',
28  'drop *_muons_muons1stStep2muonsMap_*',
29  'drop recoIsoDepositedmValueMap_muons_*_*', #not really used
30  'drop doubleedmValueMap_muons_muPFIso*_*', #already inside the muon
31  # Tracks known by the Muon obj
32  'keep recoTracks_standAloneMuons_*_*',
33  'keep recoTrackExtras_standAloneMuons_*_*',
34  'keep TrackingRecHitsOwned_standAloneMuons_*_*',
35  'keep recoTracks_globalMuons_*_*',
36  'keep recoTrackExtras_globalMuons_*_*',
37  'keep recoTracks_tevMuons_*_*',
38  'keep recoTrackExtras_tevMuons_*_*',
39  'keep recoTracks_generalTracks_*_*',
40  'keep recoTracks_displacedTracks_*_*',
41  'keep recoTracksToOnerecoTracksAssociation_tevMuons_*_*',
42  # Displaced Global Muons
43  'keep recoTracks_displacedGlobalMuons_*_*',
44  'keep recoTrackExtras_displacedGlobalMuons_*_*',
45  'keep TrackingRecHitsOwned_displacedGlobalMuons_*_*',
46  # Cosmics
47  'keep recoTracks_cosmicMuons_*_*',
48  'keep recoMuons_muonsFromCosmics_*_*',
49  # Cosmics 1 leg
50  'keep recoTracks_cosmicMuons1Leg_*_*',
51  'keep recoMuons_muonsFromCosmics1Leg_*_*',
52  # Additional tracks
53  'keep recoTracks_refittedStandAloneMuons_*_*',
54  'keep recoTrackExtras_refittedStandAloneMuons_*_*',
55  'keep TrackingRecHitsOwned_refittedStandAloneMuons_*_*',
56  'keep recoTracks_displacedStandAloneMuons__*',
57  'keep recoTrackExtras_displacedStandAloneMuons_*_*',
58  'keep TrackingRecHitsOwned_displacedStandAloneMuons_*_*'
59  )
60 )
61 # RECO content
62 RecoMuonRECO = cms.PSet(
63  outputCommands = cms.untracked.vstring('keep *_MuonSeed_*_*',
64  'keep *_ancientMuonSeed_*_*',
65  'keep *_displacedMuonSeeds_*_*',
66  'keep TrackingRecHitsOwned_globalMuons_*_*',
67  'keep TrackingRecHitsOwned_tevMuons_*_*',
68  # Cosmics
69  'keep *_CosmicMuonSeed_*_*',
70  'keep recoTrackExtras_cosmicMuons_*_*',
71  'keep TrackingRecHitsOwned_cosmicMuons_*_*',
72  'keep recoTrackExtras_cosmicMuons1Leg_*_*',
73  'keep TrackingRecHitsOwned_cosmicMuons1Leg_*_*',
74  'keep recoTracks_cosmicsVetoTracks_*_*')
75 )
76 # Full Event content
77 RecoMuonFEVT = cms.PSet(
78  outputCommands = cms.untracked.vstring()
79 )
80 RecoMuonRECO.outputCommands.extend(RecoMuonAOD.outputCommands)
81 RecoMuonFEVT.outputCommands.extend(RecoMuonRECO.outputCommands)
82 RecoMuonFEVT.outputCommands.extend(RecoMuonIsolationFEVT.outputCommands)
83 RecoMuonRECO.outputCommands.extend(RecoMuonIsolationRECO.outputCommands)
84 RecoMuonAOD.outputCommands.extend(RecoMuonIsolationAOD.outputCommands)
85 
87  object.outputCommands.append('keep *_me0SegmentMatching_*_*')
88  object.outputCommands.append('keep *_me0MuonConverting_*_*')
89 
90 from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
91 phase2_muon.toModify( RecoMuonFEVT, func=_modifyRecoMuonEventContentForPhase2 )
92 phase2_muon.toModify( RecoMuonRECO, func=_modifyRecoMuonEventContentForPhase2 )
93 phase2_muon.toModify( RecoMuonAOD, func=_modifyRecoMuonEventContentForPhase2 )