1 import FWCore.ParameterSet.Config
as cms
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.g4SimHits.Watchers = cms.VPSet(cms.PSet(
20 instanceLabel = cms.untracked.string(
'EcalValidInfo'),
21 type = cms.string(
'EcalSimHitsValidProducer'),
22 verbose = cms.untracked.bool(
False)
27 process.g4SimHits.Generator.HepMCProductLabel = cms.string(
'generatorSmeared')
32 process.outputModules_().iteritems().
next()[1].outputCommands.append(
"keep *_simHcalUnsuppressedDigis_*_*")
36 del process.schedule[:]
38 process.schedule.append(process.generation_step)
39 process.schedule.append(process.simulation_step)
41 process.ecalMultiFitUncalibRecHit.EBdigiCollection = cms.InputTag(
"simEcalDigis",
"ebDigis")
42 process.ecalMultiFitUncalibRecHit.EEdigiCollection = cms.InputTag(
"simEcalDigis",
"eeDigis")
43 process.ecalPreshowerRecHit.ESdigiCollection = cms.InputTag(
"simEcalPreshowerDigis")
45 delattr(process,
"hbhereco")
46 process.hbhereco = process.hbheprereco.clone()
47 process.hcalLocalRecoSequence.replace(process.hbheprereco,process.hbhereco)
48 process.hbhereco.digiLabelQIE8 = cms.InputTag(
"simHcalUnsuppressedDigis")
49 process.hbhereco.digiLabelQIE11 = cms.InputTag(
"simHcalUnsuppressedDigis",
"HBHEQIE11DigiCollection")
50 process.horeco.digiLabel = cms.InputTag(
"simHcalUnsuppressedDigis")
51 process.hfreco.digiLabel = cms.InputTag(
"simHcalUnsuppressedDigis")
52 process.ecalRecHit.recoverEBIsolatedChannels = cms.bool(
False)
53 process.ecalRecHit.recoverEEIsolatedChannels = cms.bool(
False)
54 process.ecalRecHit.recoverEBFE = cms.bool(
False)
55 process.ecalRecHit.recoverEEFE = cms.bool(
False)
59 process.reducedEcalRecHitsEB.interestingDetIdCollections = cms.VInputTag(
61 cms.InputTag(
"interestingEcalDetIdEB"),
62 cms.InputTag(
"interestingEcalDetIdEBU"),
65 process.reducedEcalRecHitsEE.interestingDetIdCollections = cms.VInputTag(
67 cms.InputTag(
"interestingEcalDetIdEE"),
70 process.local_digireco = cms.Path(process.mix * process.addPileupInfo * process.bunchSpacingProducer * process.calDigi * process.ecalPacker * process.esDigiToRaw * process.hcalRawData * process.rawDataCollector * process.ecalDigis * process.ecalPreshowerDigis * process.hcalDigis * process.calolocalreco *(process.ecalClustersNoPFBox+process.caloTowersRec) * process.reducedEcalRecHitsSequenceEcalOnly )
72 process.schedule.append(process.local_digireco)
75 process.load(
"RecoMET.METProducers.hcalnoiseinfoproducer_cfi" )
76 process.hcalnoise_path = cms.Path( process.hcalnoise )
77 process.schedule.append( process.hcalnoise_path )
79 process.load(
"Validation/Configuration/ecalSimValid_cff")
80 process.load(
"Validation/Configuration/hcalSimValid_cff")
81 process.local_validation = cms.Path(process.ecalSimValid+process.hcalSimValid)
82 process.schedule.append(process.local_validation)
84 process.schedule.append(process.endjob_step)
86 process.schedule.append(getattr(process,process.outputModules_().iteritems().
next()[0]+
"_step"))
return(e1-e2)*(e1-e2)+dp *dp