00003 :
00004
00005
00006
00007 process.generator.AddAntiParticle = cms.bool(False)
00008
00009
00010
00011 process.g4SimHits.UseMagneticField = cms.bool(False)
00012 process.UniformMagneticFieldESProducer = cms.ESProducer("UniformMagneticFieldESProducer",
00013 ZFieldInTesla = cms.double(0.0)
00014 )
00015
00016 process.prefer("UniformMagneticFieldESProducer")
00017
00018
00019
00020 process.output.outputCommands.append("keep *_simHcalUnsuppressedDigis_*_*")
00021
00022
00023
00024 del process.schedule[:]
00025
00026 process.schedule.append(process.generation_step)
00027 process.schedule.append(process.simulation_step)
00028
00029 delattr(process,"hbhereco")
00030 process.hbhereco = process.hbheprereco.clone()
00031 process.hcalLocalRecoSequence.replace(process.hbheprereco,process.hbhereco)
00032 process.hbhereco.digiLabel = cms.InputTag("simHcalUnsuppressedDigis")
00033 process.horeco.digiLabel = cms.InputTag("simHcalUnsuppressedDigis")
00034 process.hfreco.digiLabel = cms.InputTag("simHcalUnsuppressedDigis")
00035
00036 process.local_digireco = cms.Path(process.mix * process.hcalDigiSequence * process.hbhereco * process.hfreco * process.horeco )
00037
00038 process.schedule.append(process.local_digireco)
00039
00040 process.load("Validation/Configuration/hcalSimValid_cff")
00041
00042 process.AllRecHitsValidation.ecalselector = cms.untracked.string('no')
00043
00044 process.local_validation = cms.Path(process.hcalSimHitStudy+process.hcalDigisValidationSequence+process.hcalRecHitsValidationSequence)
00045 process.schedule.append(process.local_validation)
00046
00047 process.schedule.append(process.endjob_step)
00048 process.schedule.append(process.out_step)
00049
00050 return(process)