Skip to content

Commit

Permalink
Merge pull request #3645 from civanch/conf_castor
Browse files Browse the repository at this point in the history
update on configure fragment of castor simulation
  • Loading branch information
davidlange6 committed May 6, 2014
2 parents 6879706 + eb9a7ad commit 25322f0
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions Configuration/StandardSequences/python/SimWithCastor_cff.py
@@ -1,7 +1,18 @@
import FWCore.ParameterSet.Config as cms

def customise(process):
process.g4SimHits.Generator.MinEtaCut =-7.0
process.g4SimHits.Generator.MaxEtaCut = 5.5

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)

0 comments on commit 25322f0

Please sign in to comment.