CMS 3D CMS Logo

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

Functions

def customiseRR (process)
 

Function Documentation

◆ customiseRR()

def RussianRoulette_cff.customiseRR (   process)

Definition at line 3 of file RussianRoulette_cff.py.

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