CMS 3D CMS Logo

Functions
DigiToRecoPU Namespace Reference

Functions

def customise (process)
 

Function Documentation

def DigiToRecoPU.customise (   process)

Definition at line 3 of file DigiToRecoPU.py.

References mathSSE.return(), and MuonErrorMatrixValues_cff.values.

3 def customise(process):
4  REDIGIInputEventSkimming= cms.PSet(
5  inputCommands=cms.untracked.vstring('drop *')
6  )
7 
8  GeneratorInterfaceRAWNoGenParticles = process.GeneratorInterfaceRAW.outputCommands
9  for item in GeneratorInterfaceRAWNoGenParticles:
10  if 'genParticles' in item:
11  GeneratorInterfaceRAWNoGenParticles.remove(item)
12 
13  REDIGIInputEventSkimming.inputCommands.extend(process.SimG4CoreRAW.outputCommands)
14  REDIGIInputEventSkimming.inputCommands.extend(GeneratorInterfaceRAWNoGenParticles)
15  REDIGIInputEventSkimming.inputCommands.extend(process.IOMCRAW.outputCommands)
16 
17  process.source.inputCommands = REDIGIInputEventSkimming.inputCommands
18  process.source.dropDescendantsOfDroppedBranches=cms.untracked.bool(False)
19 
20  process.RandomNumberGeneratorService.restoreStateLabel = cms.untracked.string('randomEngineStateProducer')
21  process.mix.playback = cms.untracked.bool(True)
22 
23  # Remove the old RNGState product on output
24  RNGStateCleaning= cms.PSet(
25  outputCommands=cms.untracked.vstring('drop RandomEngineStates_*_*_*',
26  'keep RandomEngineStates_*_*_'+process.name_())
27  )
28 
29  for item in process.outputModules_().values():
30  item.outputCommands.extend(RNGStateCleaning.outputCommands)
31 
32  # REDO the GenJets etc. in case labels have been changed
33  process.load('Configuration/StandardSequences/Generator_cff')
34  process.fixGenInfo = cms.Path(process.GeneInfo * process.genJetMET)
35  process.schedule.append(process.fixGenInfo)
36 
37  return(process)
38 
return((rh^lh)&mask)
def customise(process)
Definition: DigiToRecoPU.py:3