CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
customize_pfanalysis Namespace Reference

Functions

def customize_step2
 
def customize_step3
 

Function Documentation

def customize_pfanalysis.customize_step2 (   process)

Definition at line 3 of file customize_pfanalysis.py.

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

Definition at line 26 of file customize_pfanalysis.py.

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