Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-06-13 23:00:18

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #Full Event content with DIGI
0004 SimTrackerFEVTDEBUG = cms.PSet(
0005     outputCommands = cms.untracked.vstring(
0006         'keep *_simSiPixelDigis_*_*', 
0007         'keep *_simSiStripDigis_*_*', 
0008         'drop *_mix_simSiPixelDigis*_*', 
0009         'drop *_mix_simSiStripDigis*_*', 
0010         'keep *_allTrackMCMatch_*_*', 
0011         'keep *_trackingParticleRecoTrackAsssociation_*_*', 
0012         'keep *_assoc2secStepTk_*_*', 
0013         'keep *_assoc2thStepTk_*_*', 
0014         'keep *_assoc2GsfTracks_*_*', 
0015         'keep *_assocOutInConversionTracks_*_*', 
0016         'keep *_assocInOutConversionTracks_*_*',
0017         'keep *_TTClusterAssociatorFromPixelDigis_*_*',
0018         'keep *_TTStubAssociatorFromPixelDigis_*_*')
0019 
0020 )
0021 # For phase2 premixing switch the sim digi collections to the ones including pileup
0022 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
0023 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
0024 (premix_stage2 & phase2_tracker).toModify(SimTrackerFEVTDEBUG, outputCommands = SimTrackerFEVTDEBUG.outputCommands + [
0025     'drop *_simSiPixelDigis_*_*',
0026     'keep *_mixData_Pixel_*',
0027     'keep *_mixData_Tracker_*',
0028 ])
0029 
0030 SimTrackerDEBUG = cms.PSet(
0031     outputCommands = cms.untracked.vstring(
0032         'keep PixelDigiSimLinkedmDetSetVector_simSiPixelDigis_*_*', 
0033         'keep StripDigiSimLinkedmDetSetVector_simSiStripDigis_*_*', 
0034         'drop *_mix_simSiPixelDigis*_*', 
0035         'drop *_mix_simSiStripDigis*_*', 
0036         'keep *_allTrackMCMatch_*_*')
0037 )
0038 #RAW content 
0039 SimTrackerRAW = cms.PSet(
0040     outputCommands = cms.untracked.vstring(
0041         'keep *_allTrackMCMatch_*_*',
0042         'keep *_prunedTrackingParticles_*_*',
0043         'keep *_prunedDigiSimLinks_*_*')
0044 )
0045 #RECO content
0046 SimTrackerRECO = cms.PSet(
0047     outputCommands = cms.untracked.vstring(
0048         'keep *_allTrackMCMatch_*_*',
0049         'keep *_prunedTrackMCMatch_*_*')
0050 )
0051 #AOD content
0052 SimTrackerAOD = cms.PSet(
0053     outputCommands = cms.untracked.vstring(
0054         'keep *_allTrackMCMatch_*_*',
0055         'keep *_prunedTrackMCMatch_*_*')
0056 )
0057 
0058 # Event content for premixing library
0059 SimTrackerPREMIX = cms.PSet(
0060     outputCommands = cms.untracked.vstring(
0061         'keep *_simSiPixelDigis_*_*', # covers digis and digiSimLinks
0062         'keep *_simSiStripDigis_ZeroSuppressed_*',
0063         'keep StripDigiSimLinkedmDetSetVector_simSiStripDigis_*_*',
0064         'keep *_mix_AffectedAPVList_*',
0065     )
0066 )
0067 phase2_tracker.toModify(SimTrackerPREMIX, outputCommands = [
0068         'keep Phase2TrackerDigiedmDetSetVector_mix_*_*',
0069         'keep *_*_Phase2OTDigiSimLink_*',
0070         'keep *_simSiPixelDigis_*_*', # covers digis and digiSimLinks
0071 ])
0072 
0073 from Configuration.Eras.Modifier_strips_vfp30_2016_cff import strips_vfp30_2016
0074 for _entry in [SimTrackerFEVTDEBUG,SimTrackerDEBUG,SimTrackerRAW,SimTrackerRECO,SimTrackerAOD,SimTrackerPREMIX]:
0075     strips_vfp30_2016.toModify(_entry, outputCommands = _entry.outputCommands + [
0076         'keep *_simAPVsaturation_SimulatedAPVDynamicGain_*'
0077     ])