Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:45

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def customise(process):
0004 
0005   if hasattr(process,'g4SimHits'):
0006     # time window 10 millisecond
0007     process.common_maximum_time.DeadRegions = cms.vstring('InterimRegion')
0008     # Eta cut
0009     process.g4SimHits.Generator.MinEtaCut = cms.double(-7.0)
0010     process.g4SimHits.Generator.MaxEtaCut = cms.double(5.5)
0011     # stacking action
0012     process.g4SimHits.StackingAction.DeadRegions = cms.vstring('InterimRegion')
0013     # stepping action
0014     process.g4SimHits.SteppingAction.DeadRegions = cms.vstring('InterimRegion')
0015     # castor shower library
0016     process.g4SimHits.CastorSD.useShowerLibrary = cms.bool(True)
0017 
0018     return(process)