7 process.generator.AddAntiParticle = cms.bool(
False)
11 process.g4SimHits.UseMagneticField = cms.bool(
False)
12 process.UniformMagneticFieldESProducer = cms.ESProducer(
"UniformMagneticFieldESProducer",
13 ZFieldInTesla = cms.double(0.0)
16 process.prefer(
"UniformMagneticFieldESProducer")
20 process.output.outputCommands.append(
"keep *_simHcalUnsuppressedDigis_*_*")
24 del process.schedule[:]
26 process.schedule.append(process.generation_step)
27 process.schedule.append(process.simulation_step)
29 delattr(process,
"hbhereco")
30 process.hbhereco = process.hbheprereco.clone()
31 process.hcalLocalRecoSequence.replace(process.hbheprereco,process.hbhereco)
32 process.hbhereco.digiLabel = cms.InputTag(
"simHcalUnsuppressedDigis")
33 process.horeco.digiLabel = cms.InputTag(
"simHcalUnsuppressedDigis")
34 process.hfreco.digiLabel = cms.InputTag(
"simHcalUnsuppressedDigis")
36 process.local_digireco = cms.Path(process.mix * process.hcalDigiSequence * process.hbhereco * process.hfreco * process.horeco )
38 process.schedule.append(process.local_digireco)
40 process.load(
"Validation/Configuration/hcalSimValid_cff")
42 process.AllRecHitsValidation.ecalselector = cms.untracked.string(
'no')
44 process.local_validation = cms.Path(process.hcalSimHitStudy+process.hcalDigisValidationSequence+process.hcalRecHitsValidationSequence)
45 process.schedule.append(process.local_validation)
47 process.schedule.append(process.endjob_step)
48 process.schedule.append(process.out_step)
return(e1-e2)*(e1-e2)+dp *dp