Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 CaloMode = 1
00004
00005
00006
00007
00008
00009 if(CaloMode==0):
00010
00011 from FastSimulation.CaloRecHitsProducer.EcalRecHitsCustom_cff import *
00012 from FastSimulation.CaloRecHitsProducer.HcalRecHitsCustom_cff import *
00013
00014 caloRecHits = cms.Sequence(ecalRecHit*ecalPreshowerRecHit*hbhereco*horeco*hfreco)
00015
00016 if(CaloMode==1):
00017
00018 from FastSimulation.CaloRecHitsProducer.EcalDigisPlusRecHits_cff import *
00019 from FastSimulation.CaloRecHitsProducer.HcalRecHitsCustom_cff import *
00020
00021 caloDigis = cms.Sequence(ecalDigisSequence)
00022 caloRecHits = cms.Sequence(ecalRecHitSequence*ecalPreshowerRecHit*hbhereco*horeco*hfreco)
00023
00024 if(CaloMode==2):
00025
00026 from FastSimulation.CaloRecHitsProducer.EcalRecHitsCustom_cff import *
00027 from FastSimulation.CaloRecHitsProducer.HcalDigisPlusRecHits_cff import *
00028
00029 caloDigis = cms.Sequence(hcalDigisSequence)
00030 caloRecHits = cms.Sequence(ecalRecHit*ecalPreshowerRecHit*hcalRecHitSequence)
00031
00032 if(CaloMode==3):
00033
00034 from FastSimulation.CaloRecHitsProducer.EcalDigisPlusRecHits_cff import *
00035 from FastSimulation.CaloRecHitsProducer.HcalDigisPlusRecHits_cff import *
00036
00037 caloDigis = cms.Sequence(ecalDigisSequence*hcalDigisSequence)
00038 caloRecHits = cms.Sequence(ecalRecHitSequence*ecalPreshowerRecHit*hcalRecHitSequence)
00039