CMS 3D CMS Logo

RecoTracker_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 import FWCore.ParameterSet.Config as cms
4 
5 #Full Event content
6 RecoTrackerFEVT = cms.PSet(
7  outputCommands = cms.untracked.vstring(
8  'keep recoTracks_generalTracks_*_*',
9  'keep recoTrackExtras_generalTracks_*_*',
10  'keep TrackingRecHitsOwned_generalTracks_*_*',
11  'keep *_generalTracks_MVAValues_*',
12  'keep TrackingRecHitsOwned_extraFromSeeds_*_*',
13  'keep uints_extraFromSeeds_*_*',
14  'keep recoTracks_beamhaloTracks_*_*',
15  'keep recoTrackExtras_beamhaloTracks_*_*',
16  'keep TrackingRecHitsOwned_beamhaloTracks_*_*',
17  'keep recoTracks_conversionStepTracks_*_*',
18  'keep recoTrackExtras_conversionStepTracks_*_*',
19  'keep TrackingRecHitsOwned_conversionStepTracks_*_*',
20  'keep *_ctfPixelLess_*_*',
21  'keep *_dedxTruncated40_*_*',
22  'keep *_dedxHitInfo_*_*',
23  'keep *_dedxHarmonic2_*_*',
24  'keep *_dedxPixelHarmonic2_*_*',
25  'keep *_trackExtrapolator_*_*',
26  'keep recoTracks_cosmicDCTracks_*_*',
27  'keep recoTrackExtras_cosmicDCTracks_*_*',
28  'keep TrackingRecHitsOwned_cosmicDCTracks_*_*',
29  )
30 )
31 #RECO content
32 RecoTrackerRECO = cms.PSet(
33  outputCommands = cms.untracked.vstring(
34  'keep recoTracks_generalTracks_*_*',
35  'keep recoTrackExtras_generalTracks_*_*',
36  'keep TrackingRecHitsOwned_generalTracks_*_*',
37  'keep *_generalTracks_MVAValues_*',
38  'keep *_generalTracks_MVAVals_*',
39  'keep TrackingRecHitsOwned_extraFromSeeds_*_*',
40  'keep uints_extraFromSeeds_*_*',
41  'keep recoTracks_beamhaloTracks_*_*',
42  'keep recoTrackExtras_beamhaloTracks_*_*',
43  'keep TrackingRecHitsOwned_beamhaloTracks_*_*',
44  'keep recoTracks_conversionStepTracks_*_*',
45  'keep recoTrackExtras_conversionStepTracks_*_*',
46  'keep TrackingRecHitsOwned_conversionStepTracks_*_*',
47  'keep *_ctfPixelLess_*_*',
48  'keep *_dedxTruncated40_*_*',
49  'keep *_dedxHitInfo_*_*',
50  'keep *_dedxHarmonic2_*_*',
51  'keep *_dedxPixelHarmonic2_*_*',
52  'keep *_trackExtrapolator_*_*',
53  'keep recoTracks_cosmicDCTracks_*_*',
54  'keep recoTrackExtras_cosmicDCTracks_*_*',
55  'keep TrackingRecHitsOwned_cosmicDCTracks_*_*',
56  )
57 )
58 #AOD content
59 RecoTrackerAOD = cms.PSet(
60  outputCommands = cms.untracked.vstring(
61  'keep recoTracks_generalTracks_*_*',
62  'keep recoTracks_conversionStepTracks_*_*',
63  'keep recoTracks_beamhaloTracks_*_*',
64  'keep recoTracks_ctfPixelLess_*_*',
65  'keep *_dedxHarmonic2_*_*',
66  'keep *_dedxPixelHarmonic2_*_*',
67  'keep *_dedxHitInfo_*_*',
68  'keep *_trackExtrapolator_*_*',
69  'keep *_generalTracks_MVAValues_*',
70  'keep *_generalTracks_MVAVals_*'
71  )
72 )
73 
74 #HI-specific products: needed in AOD, propagate to more inclusive tiers as well
75 from Configuration.Eras.Modifier_pp_on_AA_2018_cff import pp_on_AA_2018
76 for ec in [RecoTrackerAOD.outputCommands, RecoTrackerRECO.outputCommands, RecoTrackerFEVT.outputCommands]:
77  pp_on_AA_2018.toModify( ec,
78  func=lambda outputCommands: outputCommands.extend(['keep recoTracks_hiConformalPixelTracks_*_*',
79  ])
80  )
81 for ec in [RecoTrackerRECO.outputCommands, RecoTrackerFEVT.outputCommands]:
82  pp_on_AA_2018.toModify( ec,
83  func=lambda outputCommands: outputCommands.extend([
84  'keep recoTrackExtras_hiConformalPixelTracks_*_*',
85  'keep TrackingRecHitsOwned_hiConformalPixelTracks_*_*'
86  ])
87  )
88