6 process.generator.AddAntiParticle = cms.bool(
False)
10 process.g4SimHits.UseMagneticField = cms.bool(
False)
11 process.UniformMagneticFieldESProducer = cms.ESProducer(
"UniformMagneticFieldESProducer",
12 ZFieldInTesla = cms.double(0.0)
15 process.prefer(
"UniformMagneticFieldESProducer")
19 process.output.outputCommands.append(
"keep *_simHcalUnsuppressedDigis_*_*")
23 del process.schedule[:]
25 process.schedule.append(process.generation_step)
26 process.schedule.append(process.simulation_step)
28 delattr(process,
"hbhereco")
29 process.hbhereco = process.hbheprereco.clone()
30 process.hcalLocalRecoSequence.replace(process.hbheprereco,process.hbhereco)
31 process.hbhereco.digiLabel = cms.InputTag(
"simHcalUnsuppressedDigis")
32 process.horeco.digiLabel = cms.InputTag(
"simHcalUnsuppressedDigis")
33 process.hfreco.digiLabel = cms.InputTag(
"simHcalUnsuppressedDigis")
35 process.local_digireco = cms.Path(process.mix * process.hcalDigiSequence * process.hbhereco * process.hfreco * process.horeco )
37 process.schedule.append(process.local_digireco)
39 process.load(
"Validation/Configuration/hcalSimValid_cff")
41 process.AllRecHitsValidation.ecalselector = cms.untracked.string(
'no')
43 process.local_validation = cms.Path(process.hcalSimHitStudy+process.hcalDigisValidationSequence+process.hcalRecHitsValidationSequence)
44 process.schedule.append(process.local_validation)
46 process.schedule.append(process.endjob_step)
47 process.schedule.append(process.out_step)
50 return(e1-e2)*(e1-e2)+dp *dp