1 import FWCore.ParameterSet.Config
as cms
7 if hasattr(process,
'g4SimHits'):
9 process.common_maximum_time.MaxTrackTime = cms.double(100000000.0)
10 process.common_maximum_time.DeadRegions = cms.vstring()
12 process.g4SimHits.Physics.type = cms.string(
'SimG4Core/Physics/FTFP_BERT_XS_EML')
13 process.g4SimHits.Physics.CutsOnProton = cms.untracked.bool(
False)
14 process.g4SimHits.Physics.FlagMuNucl = cms.bool(
True)
15 process.g4SimHits.Physics.FlagFluo = cms.bool(
True)
17 process.g4SimHits.Generator.MinEtaCut = cms.double(-7.0)
18 process.g4SimHits.Generator.MaxEtaCut = cms.double(7.0)
20 process.g4SimHits.StackingAction.MaxTrackTime = cms.double(100000000.0)
21 process.g4SimHits.StackingAction.DeadRegions = cms.vstring()
22 process.g4SimHits.StackingAction.KillHeavy = cms.bool(
True)
23 process.g4SimHits.StackingAction.IonThreshold = cms.double(0.001)
24 process.g4SimHits.StackingAction.ProtonThreshold = cms.double(0.001)
25 process.g4SimHits.StackingAction.NeutronThreshold = cms.double(0.0)
26 process.g4SimHits.StackingAction.GammaThreshold = cms.double(0.0005)
28 process.g4SimHits.SteppingAction.MaxTrackTime = cms.double(100000000.0)
29 process.g4SimHits.SteppingAction.DeadRegions = cms.vstring()
31 process.g4SimHits.StackingAction.RusRoGammaEnergyLimit = cms.double(0.0)
32 process.g4SimHits.StackingAction.RusRoNeutronEnergyLimit = cms.double(0.0)
34 process.g4SimHits.HFShower.UseHFGflash = cms.bool(
False)
return(e1-e2)*(e1-e2)+dp *dp