CMS 3D CMS Logo

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

Functions

def customise
 

Function Documentation

def SimWithCastor_cff.customise (   process)

Definition at line 3 of file SimWithCastor_cff.py.

References mathSSE.return().

3 
4 def customise(process):
5 
6  if hasattr(process,'g4SimHits'):
7  # time window 10 millisecond
8  process.common_maximum_time.DeadRegions = cms.vstring('InterimRegion')
9  # Eta cut
10  process.g4SimHits.Generator.MinEtaCut = cms.double(-7.0)
11  process.g4SimHits.Generator.MaxEtaCut = cms.double(5.5)
12  # stacking action
13  process.g4SimHits.StackingAction.DeadRegions = cms.vstring('InterimRegion')
14  # stepping action
15  process.g4SimHits.SteppingAction.DeadRegions = cms.vstring('InterimRegion')
16  # castor shower library
17  process.g4SimHits.CastorSD.useShowerLibrary = cms.bool(True)
18 
19  return(process)
return((rh^lh)&mask)