7 if hasattr(process,
'g4SimHits'):
9 TimeCut = cms.double(10000000000.0)
10 process.common_maximum_time.MaxTrackTime = TimeCut
11 process.common_maximum_time.DeadRegions = cms.vstring()
13 process.g4SimHits.Physics.type = cms.string(
'SimG4Core/Physics/FTFP_BERT_XS_EML')
14 process.g4SimHits.Physics.CutsOnProton = cms.untracked.bool(
True)
15 process.g4SimHits.Physics.FlagFluo = cms.bool(
True)
16 process.g4SimHits.Physics.ThermalNeutrons = cms.untracked.bool(
False)
18 process.g4SimHits.Generator.MinEtaCut = cms.double(-7.0)
19 process.g4SimHits.Generator.MaxEtaCut = cms.double(7.0)
21 process.g4SimHits.StackingAction.MaxTrackTime = TimeCut
22 process.g4SimHits.StackingAction.DeadRegions = cms.vstring()
23 process.g4SimHits.StackingAction.KillHeavy = cms.bool(
False)
24 process.g4SimHits.StackingAction.GammaThreshold = cms.double(0.0)
26 process.g4SimHits.SteppingAction.MaxTrackTime = TimeCut
27 process.g4SimHits.SteppingAction.DeadRegions = cms.vstring()
29 process.g4SimHits.StackingAction.RusRoGammaEnergyLimit = cms.double(0.0)
30 process.g4SimHits.StackingAction.RusRoNeutronEnergyLimit = cms.double(0.0)
32 process.g4SimHits.CaloSD.TmaxHit = TimeCut
34 process.g4SimHits.HFShower.UseHFGflash = cms.bool(
False)
37
return(e1-e2)*(e1-e2)+dp *dp