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