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 
24 # AOD content
25 RecoMuonAOD = cms.PSet(
26  outputCommands = cms.untracked.vstring(#'keep *_muons_*_*',
27  'keep recoMuons_muons_*_*',
28  'keep booledmValueMap_muons_*_*',
29  'keep doubleedmValueMap_muons_muPFMean*_*',
30  'keep doubleedmValueMap_muons_muPFSum*_*',
31  'keep *_muons_muonShowerInformation_*',
32  'keep recoMuonTimeExtraedmValueMap_muons_*_*',
33  'keep recoMuonCosmicCompatibilityedmValueMap_muons_*_*',
34  'keep uintedmValueMap_muons_*_*',
35  'keep *_particleFlow_muons_*',
36  #'drop *_muons_muons1stStep2muonsMap_*',
37  #'drop recoIsoDepositedmValueMap_muons_*_*', #not really used
38  #'drop doubleedmValueMap_muons_muPFIso*_*', #already inside the muon
39  # displacedMuons collection
40  'keep recoMuons_displacedMuons_*_*',
41  'keep booledmValueMap_displacedMuons_*_*',
42  'keep doubleedmValueMap_displacedMuons_dispMuPFMean*_*',
43  'keep doubleedmValueMap_displacedMuons_dispMuPFSum*_*',
44  'keep recoMuonTimeExtraedmValueMap_displacedMuons_*_*',
45  'keep uintedmValueMap_displacedMuons_*_*',
46  'keep *_particleFlow_displacedMuons_*',
47  # Tracks known by the Muon obj
48  'keep recoTracks_standAloneMuons_*_*',
49  'keep recoTrackExtras_standAloneMuons_*_*',
50  'keep TrackingRecHitsOwned_standAloneMuons_*_*',
51  'keep recoTracks_globalMuons_*_*',
52  'keep recoTrackExtras_globalMuons_*_*',
53  'keep recoTracks_tevMuons_*_*',
54  'keep recoTrackExtras_tevMuons_*_*',
55  'keep recoTracks_generalTracks_*_*',
56  'keep recoTracks_displacedTracks_*_*',
57  'keep recoTracksToOnerecoTracksAssociation_tevMuons_*_*',
58  # Displaced Global Muons
59  'keep recoTracks_displacedGlobalMuons_*_*',
60  'keep recoTrackExtras_displacedGlobalMuons_*_*',
61  'keep TrackingRecHitsOwned_displacedGlobalMuons_*_*',
62  # Cosmics
63  'keep recoTracks_cosmicMuons_*_*',
64  'keep recoMuons_muonsFromCosmics_*_*',
65  # Cosmics 1 leg
66  'keep recoTracks_cosmicMuons1Leg_*_*',
67  'keep recoMuons_muonsFromCosmics1Leg_*_*',
68  # Additional tracks
69  'keep recoTracks_refittedStandAloneMuons_*_*',
70  'keep recoTrackExtras_refittedStandAloneMuons_*_*',
71  'keep TrackingRecHitsOwned_refittedStandAloneMuons_*_*',
72  'keep recoTracks_displacedStandAloneMuons__*',
73  'keep recoTrackExtras_displacedStandAloneMuons_*_*',
74  'keep TrackingRecHitsOwned_displacedStandAloneMuons_*_*',
75  'keep *_muonReducedTrackExtras_*_*',
76  'keep *_displacedMuonReducedTrackExtras_*_*')
77 )
78 RecoMuonAOD.outputCommands.extend(RecoMuonIsolationAOD.outputCommands)
79 
80 # RECO content
81 RecoMuonRECO = cms.PSet(
82  outputCommands = cms.untracked.vstring('keep *_MuonSeed_*_*',
83  'keep *_ancientMuonSeed_*_*',
84  'keep *_displacedMuonSeeds_*_*',
85  'keep TrackingRecHitsOwned_globalMuons_*_*',
86  'keep TrackingRecHitsOwned_tevMuons_*_*',
87  # Cosmics
88  'keep *_CosmicMuonSeed_*_*',
89  'keep recoTrackExtras_cosmicMuons_*_*',
90  'keep TrackingRecHitsOwned_cosmicMuons_*_*',
91  'keep recoTrackExtras_cosmicMuons1Leg_*_*',
92  'keep TrackingRecHitsOwned_cosmicMuons1Leg_*_*',
93  'keep recoTracks_cosmicsVetoTracks_*_*')
94 )
95 RecoMuonRECO.outputCommands.extend(RecoMuonAOD.outputCommands)
96 RecoMuonRECO.outputCommands.extend(RecoMuonIsolationRECO.outputCommands)
97 
98 # Full Event content
99 RecoMuonFEVT = cms.PSet(
100  outputCommands = cms.untracked.vstring()
101 )
102 RecoMuonFEVT.outputCommands.extend(RecoMuonRECO.outputCommands)
103 RecoMuonFEVT.outputCommands.extend(RecoMuonIsolationFEVT.outputCommands)