CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/SimCalorimetry/HcalZeroSuppressionProducers/python/NoHcalZeroSuppression_cff.py

Go to the documentation of this file.
00001 # Fragment to switch off HCAL zero suppression as an option
00002 # by cmsDriver customisation
00003 
00004 # to generate Unsuppressed digis, one has to set the following parameter:
00005 # process.simHcalDigis.useConfigZSvalues = 1
00006 # to generate suppressed digis, useConfigZSvalues should be set to 0
00007 
00008 import FWCore.ParameterSet.Config as cms
00009 def customise(process):
00010 
00011 #    process.hcalDigiSequence.replace(process.simHcalDigis,cms.SequencePlaceholder("simHcalDigis"))
00012 #    process.load("SimCalorimetry.HcalZeroSuppressionProducers.hcalDigisNoSuppression_cfi")
00013 
00014     process.simHcalDigis.HBlevel = -999
00015     process.simHcalDigis.HElevel = -999
00016     process.simHcalDigis.HOlevel = -999
00017     process.simHcalDigis.HFlevel = -999
00018     process.simHcalDigis.useConfigZSvalues = 1
00019     
00020     return(process)