Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 23:31:46

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def customize_step2(process):
0004     process.load('SimGeneral.MixingModule.caloTruthProducer_cfi')
0005     process.caloParticles.simHitCollections = cms.PSet(
0006         hcal = cms.VInputTag(cms.InputTag('g4SimHits','HcalHits')),
0007         ecal = cms.VInputTag(
0008             cms.InputTag('g4SimHits','EcalHitsEE'),
0009             cms.InputTag('g4SimHits','EcalHitsEB'),
0010             cms.InputTag('g4SimHits','EcalHitsES'),
0011         )
0012     )
0013     process.caloParticles.doHGCAL = False
0014     process.caloParticles.allowDifferentSimHitProcesses = True
0015     process.mix.digitizers.caloParticles = process.caloParticles
0016     process.mix.digitizers.mergedtruth.ignoreTracksOutsideVolume = True
0017     process.mix.digitizers.mergedtruth.allowDifferentSimHitProcesses = True
0018     process.mix.digitizers.mergedtruth.select.signalOnlyTP = False
0019 
0020     process.FEVTDEBUGHLToutput.outputCommands.append('keep *_simSiStripDigis_*_*')
0021     process.FEVTDEBUGHLToutput.outputCommands.append('keep *_simSiPixelDigis_*_*')
0022     process.FEVTDEBUGHLToutput.outputCommands.append('keep *_*_MergedCaloTruth_*')
0023     process.FEVTDEBUGHLToutput.outputCommands.append('keep *_*_MergedTrackTruth_*')
0024     return process
0025  
0026 def customize_step3(process):
0027     process.FEVTDEBUGHLToutput.outputCommands.append('keep *_simSiStripDigis_*_*')
0028     process.FEVTDEBUGHLToutput.outputCommands.append('keep *_simSiPixelDigis_*_*')
0029     process.FEVTDEBUGHLToutput.outputCommands.append('keep *_*_MergedCaloTruth_*')
0030     process.FEVTDEBUGHLToutput.outputCommands.append('keep *_*_MergedTrackTruth_*')
0031     process.FEVTDEBUGHLToutput.outputCommands.append('keep recoPFRecTracks_*_*_*')
0032     process.FEVTDEBUGHLToutput.outputCommands.append('keep recoPFRecHits_*_*_*')
0033     process.FEVTDEBUGHLToutput.outputCommands.append('keep recoGsfPFRecTracks_*_*_*')
0034     process.FEVTDEBUGHLToutput.outputCommands.append('keep *_particleFlowBlock_*_*')
0035     process.FEVTDEBUGHLToutput.outputCommands.append('keep recoTracks_standAloneMuons_*_*')
0036     process.FEVTDEBUGHLToutput.outputCommands.append('keep recoTrackExtras_standAloneMuons_*_*')
0037     process.FEVTDEBUGHLToutput.outputCommands.append('keep recoMuons_*_*_*')
0038     process.FEVTDEBUGHLToutput.outputCommands.append('keep recoTracks_*_*_*')
0039     process.FEVTDEBUGHLToutput.outputCommands.append('keep recoGsfTracks_*_*_*')
0040     process.FEVTDEBUGHLToutput.outputCommands.append('keep recoPFBlocks_*_*_*')
0041 
0042     return process