CMS 3D CMS Logo

SimTracker_EventContent_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #Full Event content with DIGI
4 SimTrackerFEVTDEBUG = cms.PSet(
5  outputCommands = cms.untracked.vstring(
6  'keep *_simSiPixelDigis_*_*',
7  'keep *_simSiStripDigis_*_*',
8  'drop *_mix_simSiPixelDigis*_*',
9  'drop *_mix_simSiStripDigis*_*',
10  'keep *_allTrackMCMatch_*_*',
11  'keep *_trackingParticleRecoTrackAsssociation_*_*',
12  'keep *_assoc2secStepTk_*_*',
13  'keep *_assoc2thStepTk_*_*',
14  'keep *_assoc2GsfTracks_*_*',
15  'keep *_assocOutInConversionTracks_*_*',
16  'keep *_assocInOutConversionTracks_*_*',
17  'keep *_TTClusterAssociatorFromPixelDigis_*_*',
18  'keep *_TTStubAssociatorFromPixelDigis_*_*')
19 
20 )
21 # For phase2 premixing switch the sim digi collections to the ones including pileup
22 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
23 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
24 (premix_stage2 & phase2_tracker).toModify(SimTrackerFEVTDEBUG, outputCommands = SimTrackerFEVTDEBUG.outputCommands + [
25  'drop *_simSiPixelDigis_*_*',
26  'keep *_mixData_Pixel_*',
27  'keep *_mixData_Tracker_*',
28 ])
29 
30 SimTrackerDEBUG = cms.PSet(
31  outputCommands = cms.untracked.vstring(
32  'keep PixelDigiSimLinkedmDetSetVector_simSiPixelDigis_*_*',
33  'keep StripDigiSimLinkedmDetSetVector_simSiStripDigis_*_*',
34  'drop *_mix_simSiPixelDigis*_*',
35  'drop *_mix_simSiStripDigis*_*',
36  'keep *_allTrackMCMatch_*_*')
37 )
38 #RAW content
39 SimTrackerRAW = cms.PSet(
40  outputCommands = cms.untracked.vstring(
41  'keep *_allTrackMCMatch_*_*',
42 #keep future products from UL DIGI step
43  'keep *_prunedTrackingParticles_*_*',
44  'keep *_prunedDigiSimLinks_*_*')
45 )
46 #RECO content
47 SimTrackerRECO = cms.PSet(
48  outputCommands = cms.untracked.vstring('keep *_allTrackMCMatch_*_*')
49 )
50 #AOD content
51 SimTrackerAOD = cms.PSet(
52  outputCommands = cms.untracked.vstring('keep *_allTrackMCMatch_*_*')
53 )
54 
55