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 #AOD content
6 RecoTrackerAOD = cms.PSet(
7  outputCommands = cms.untracked.vstring(
8  'keep recoTracks_generalTracks_*_*',
9  'keep recoTracks_conversionStepTracks_*_*',
10  'keep recoTracks_beamhaloTracks_*_*',
11  'keep recoTracks_ctfPixelLess_*_*',
12  'keep *_dedxHarmonic2_*_*',
13  'keep *_dedxPixelHarmonic2_*_*',
14  'keep *_dedxHitInfo_*_*',
15  'keep *_trackExtrapolator_*_*',
16  'keep *_generalTracks_MVAValues_*',
17  'keep *_generalTracks_MVAVals_*'
18  )
19 )
20 #HI-specific products: needed in AOD, propagate to more inclusive tiers as well
21 from Configuration.Eras.Modifier_run3_upc_cff import run3_upc
22 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
23 (pp_on_AA | run3_upc).toModify( RecoTrackerAOD.outputCommands,
24  func=lambda outputCommands: outputCommands.extend(['keep recoTracks_hiConformalPixelTracks_*_*'])
25 )
26 run3_upc.toModify( RecoTrackerAOD.outputCommands,
27  func=lambda outputCommands: outputCommands.extend([
28  'keep *_dedxPixelLikelihood_*_*',
29  'keep *_dedxStripLikelihood_*_*',
30  'keep *_dedxAllLikelihood_*_*'
31  ]))
32 #RECO content
33 RecoTrackerRECO = cms.PSet(
34  outputCommands = cms.untracked.vstring(
35  'keep recoTrackExtras_generalTracks_*_*',
36  'keep TrackingRecHitsOwned_generalTracks_*_*',
37  'keep TrackingRecHitsOwned_extraFromSeeds_*_*',
38  'keep uints_extraFromSeeds_*_*',
39  'keep recoTrackExtras_beamhaloTracks_*_*',
40  'keep TrackingRecHitsOwned_beamhaloTracks_*_*',
41  'keep recoTrackExtras_conversionStepTracks_*_*',
42  'keep TrackingRecHitsOwned_conversionStepTracks_*_*',
43  'keep *_ctfPixelLess_*_*',
44  'keep *_dedxTruncated40_*_*'
45  )
46 )
47 RecoTrackerRECO.outputCommands.extend(RecoTrackerAOD.outputCommands)
48 (pp_on_AA | run3_upc).toModify( RecoTrackerRECO.outputCommands,
49  func=lambda outputCommands: outputCommands.extend([
50  'keep recoTrackExtras_hiConformalPixelTracks_*_*',
51  'keep TrackingRecHitsOwned_hiConformalPixelTracks_*_*'
52  ])
53 )
54 #Full Event content
55 RecoTrackerFEVT = cms.PSet(
56  outputCommands = cms.untracked.vstring()
57 )
58 RecoTrackerFEVT.outputCommands.extend(RecoTrackerRECO.outputCommands)