CMS 3D CMS Logo

Functions
SimWithCastor_cff Namespace Reference

Functions

def customise (process)
 

Function Documentation

def SimWithCastor_cff.customise (   process)

Definition at line 3 of file SimWithCastor_cff.py.

References mathSSE.return().

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