test
CMS 3D CMS Logo

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

Functions

def customiseRR
 

Function Documentation

def RussianRoulette_cff.customiseRR (   process)

Definition at line 3 of file RussianRoulette_cff.py.

3 
4 def customiseRR(process):
5 
6  # Russian roulette disabled - by default it is enabled
7  if hasattr(process,'g4SimHits'):
8  process.g4SimHits.StackingAction.RusRoGammaEnergyLimit = cms.double(0.0)
9  process.g4SimHits.StackingAction.RusRoNeutronEnergyLimit = cms.double(0.0)
10 
11  return(process)
return((rh^lh)&mask)