CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/FastSimulation/CaloRecHitsProducer/python/CaloRecHits_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 CaloMode = 1
00004 # 0: custom local reco bypassing digis, ECAL and HCAL
00005 # 1: as 0, but full digi + std local reco in ECAL - default since 610pre6
00006 # 2: as 0, but full digi + std local reco in HCAL
00007 # 3: full digi + std local reco in ECAL and HCAL
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