CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SimWithCastor_cff.py
Go to the documentation of this file.
2 
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)
return((rh^lh)&mask)