CMS 3D CMS Logo

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

Functions

def customise
 

Function Documentation

def DigiToRecoPU.customise (   process)

Definition at line 3 of file DigiToRecoPU.py.

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

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