CMS 3D CMS Logo

Functions
customize_pfanalysis Namespace Reference

Functions

def customize_step2 (process)
 
def customize_step3 (process)
 

Function Documentation

◆ customize_step2()

def customize_pfanalysis.customize_step2 (   process)

Definition at line 3 of file customize_pfanalysis.py.

3 def customize_step2(process):
4  process.load('SimGeneral.MixingModule.caloTruthProducer_cfi')
5  process.caloParticles.simHitCollections = cms.PSet(
6  hcal = cms.VInputTag(cms.InputTag('g4SimHits','HcalHits')),
7  ecal = cms.VInputTag(
8  cms.InputTag('g4SimHits','EcalHitsEE'),
9  cms.InputTag('g4SimHits','EcalHitsEB'),
10  cms.InputTag('g4SimHits','EcalHitsES'),
11  )
12  )
13  process.caloParticles.doHGCAL = False
14  process.caloParticles.allowDifferentSimHitProcesses = True
15  process.mix.digitizers.caloParticles = process.caloParticles
16  process.mix.digitizers.mergedtruth.ignoreTracksOutsideVolume = True
17  process.mix.digitizers.mergedtruth.allowDifferentSimHitProcesses = True
18  process.mix.digitizers.mergedtruth.select.signalOnlyTP = False
19 
20  process.FEVTDEBUGHLToutput.outputCommands.append('keep *_simSiStripDigis_*_*')
21  process.FEVTDEBUGHLToutput.outputCommands.append('keep *_simSiPixelDigis_*_*')
22  process.FEVTDEBUGHLToutput.outputCommands.append('keep *_*_MergedCaloTruth_*')
23  process.FEVTDEBUGHLToutput.outputCommands.append('keep *_*_MergedTrackTruth_*')
24  return process
25 

◆ customize_step3()

def customize_pfanalysis.customize_step3 (   process)

Definition at line 26 of file customize_pfanalysis.py.

26 def customize_step3(process):
27  process.FEVTDEBUGHLToutput.outputCommands.append('keep *_simSiStripDigis_*_*')
28  process.FEVTDEBUGHLToutput.outputCommands.append('keep *_simSiPixelDigis_*_*')
29  process.FEVTDEBUGHLToutput.outputCommands.append('keep *_*_MergedCaloTruth_*')
30  process.FEVTDEBUGHLToutput.outputCommands.append('keep *_*_MergedTrackTruth_*')
31  process.FEVTDEBUGHLToutput.outputCommands.append('keep recoPFRecTracks_*_*_*')
32  process.FEVTDEBUGHLToutput.outputCommands.append('keep recoPFRecHits_*_*_*')
33  process.FEVTDEBUGHLToutput.outputCommands.append('keep recoGsfPFRecTracks_*_*_*')
34  process.FEVTDEBUGHLToutput.outputCommands.append('keep *_particleFlowBlock_*_*')
35  process.FEVTDEBUGHLToutput.outputCommands.append('keep recoTracks_standAloneMuons_*_*')
36  process.FEVTDEBUGHLToutput.outputCommands.append('keep recoTrackExtras_standAloneMuons_*_*')
37  process.FEVTDEBUGHLToutput.outputCommands.append('keep recoMuons_*_*_*')
38  process.FEVTDEBUGHLToutput.outputCommands.append('keep recoTracks_*_*_*')
39  process.FEVTDEBUGHLToutput.outputCommands.append('keep recoGsfTracks_*_*_*')
40  process.FEVTDEBUGHLToutput.outputCommands.append('keep recoPFBlocks_*_*_*')
41 
42  return process
customize_pfanalysis.customize_step3
def customize_step3(process)
Definition: customize_pfanalysis.py:26
customize_pfanalysis.customize_step2
def customize_step2(process)
Definition: customize_pfanalysis.py:3