5 REDIGIInputEventSkimming= cms.PSet(
6 inputCommands=cms.untracked.vstring(
'drop *')
9 GeneratorInterfaceRAWNoGenParticles = process.GeneratorInterfaceRAW.outputCommands
10 for item
in GeneratorInterfaceRAWNoGenParticles:
11 if 'genParticles' in item:
12 GeneratorInterfaceRAWNoGenParticles.remove(item)
14 REDIGIInputEventSkimming.inputCommands.extend(process.SimG4CoreRAW.outputCommands)
15 REDIGIInputEventSkimming.inputCommands.extend(GeneratorInterfaceRAWNoGenParticles)
16 REDIGIInputEventSkimming.inputCommands.extend(process.IOMCRAW.outputCommands)
18 process.source.inputCommands = REDIGIInputEventSkimming.inputCommands
19 process.source.dropDescendantsOfDroppedBranches=cms.untracked.bool(
False)
21 process.RandomNumberGeneratorService.restoreStateLabel = cms.untracked.string(
'randomEngineStateProducer')
24 RNGStateCleaning= cms.PSet(
25 outputCommands=cms.untracked.vstring(
'drop RandomEngineStates_*_*_*',
26 'keep RandomEngineStates_*_*_'+process.name_())
29 for item
in process.outputModules_().
values():
30 item.outputCommands.extend(RNGStateCleaning.outputCommands)
33 process.load(
'Configuration/StandardSequences/Generator_cff')
34 process.fixGenInfo = cms.Path(process.GeneInfo * process.genJetMET)
35 process.schedule.append(process.fixGenInfo)