6 process.SimpleMemoryCheck=cms.Service(
"SimpleMemoryCheck",
7 ignoreTotal=cms.untracked.int32(1),
8 oncePerEventMode=cms.untracked.bool(
True))
10 process.Timing=cms.Service(
"Timing")
14 if hasattr(process,
'options'):
15 process.options.wantSummary = cms.untracked.bool(
True)
17 process.options = cms.untracked.PSet(
18 wantSummary = cms.untracked.bool(
True)
22 if hasattr(process,
'g4SimHits'):
24 process.g4SimHits.Generator.MinEtaCut = cms.double(-5.5)
25 process.g4SimHits.Generator.MaxEtaCut = cms.double(5.5)
27 process.g4SimHits.Physics.type = cms.string(
'SimG4Core/Physics/FTFP_BERT')
29 process.g4SimHits.StackingAction.RusRoGammaEnergyLimit = cms.double(0.0)
30 process.g4SimHits.StackingAction.RusRoNeutronEnergyLimit = cms.double(0.0)
32 process.g4SimHits.HCalSD.UseShowerLibrary = cms.bool(
False)
33 process.g4SimHits.HFShower.UseShowerLibrary = cms.bool(
False)
35 process.common_maximum_time.DeadRegions = cms.vstring()
36 process.common_maximum_time.CriticalDensity = cms.double(0)
37 process.common_maximum_time.CriticalEnergyForVacuum = cms.double(0)
38 process.g4SimHits.StackingAction.TrackNeutrino = cms.bool(
True)
39 process.g4SimHits.StackingAction.KillGamma = cms.bool(
False)
40 process.g4SimHits.StackingAction.CriticalEnergyForVacuum = cms.double(0)
41 process.g4SimHits.StackingAction.DeadRegions = cms.vstring()
42 process.g4SimHits.SteppingAction.CriticalDensity = cms.double(0)
43 process.g4SimHits.SteppingAction.CriticalEnergyForVacuum = cms.double(0)
44 process.g4SimHits.SteppingAction.DeadRegions = cms.vstring()
46 TimeCut = cms.double(10000.0)
47 process.common_maximum_time.MaxTrackTime = TimeCut
48 process.g4SimHits.StackingAction.MaxTrackTime = TimeCut
49 process.g4SimHits.SteppingAction.MaxTrackTime = TimeCut
50 process.g4SimHits.CaloSD.TmaxHit = TimeCut
51 process.g4SimHits.CaloSD.TmaxHits = cms.vdouble(10000,10000,10000,10000,10000)
53 process.g4SimHits.Physics.CutsPerRegion = cms.bool(
False)
54 process.g4SimHits.Physics.DefaultCutValue = cms.double(0.07)
56
return(e1-e2)*(e1-e2)+dp *dp