4 REDIGIInputEventSkimming= cms.PSet(
5 inputCommands=cms.untracked.vstring(
'drop *')
8 GeneratorInterfaceRAWNoGenParticles = process.GeneratorInterfaceRAW.outputCommands
9 for item
in GeneratorInterfaceRAWNoGenParticles:
10 if 'genParticles' in item:
11 GeneratorInterfaceRAWNoGenParticles.remove(item)
13 REDIGIInputEventSkimming.inputCommands.extend(process.SimG4CoreRAW.outputCommands)
14 REDIGIInputEventSkimming.inputCommands.extend(GeneratorInterfaceRAWNoGenParticles)
15 REDIGIInputEventSkimming.inputCommands.extend(process.IOMCRAW.outputCommands)
17 process.source.inputCommands = REDIGIInputEventSkimming.inputCommands
18 process.source.dropDescendantsOfDroppedBranches=cms.untracked.bool(
False)
20 process.RandomNumberGeneratorService.restoreStateLabel = cms.untracked.string(
'randomEngineStateProducer')
23 RNGStateCleaning= cms.PSet(
24 outputCommands=cms.untracked.vstring(
'drop RandomEngineStates_*_*_*',
25 'keep RandomEngineStates_*_*_'+process.name_())
28 for item
in process.outputModules_().
values():
29 item.outputCommands.extend(RNGStateCleaning.outputCommands)
32 process.load(
'Configuration/StandardSequences/Generator_cff')
33 process.fixGenInfo = cms.Path(process.GeneInfo * process.genJetMET)
34 process.schedule.append(process.fixGenInfo)
37
return(e1-e2)*(e1-e2)+dp *dp