CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
NoHcalZeroSuppression_cff.py
Go to the documentation of this file.
1 # Fragment to switch off HCAL zero suppression as an option
2 # by cmsDriver customisation
3 
4 # to generate Unsuppressed digis, one has to set the following parameter:
5 # process.simHcalDigis.useConfigZSvalues = 1
6 # to generate suppressed digis, useConfigZSvalues should be set to 0
7 
8 import FWCore.ParameterSet.Config as cms
9 def customise(process):
10 
11 # process.hcalDigiSequence.replace(process.simHcalDigis,cms.SequencePlaceholder("simHcalDigis"))
12 # process.load("SimCalorimetry.HcalZeroSuppressionProducers.hcalDigisNoSuppression_cfi")
13 
14  process.simHcalDigis.HBlevel = -999
15  process.simHcalDigis.HElevel = -999
16  process.simHcalDigis.HOlevel = -999
17  process.simHcalDigis.HFlevel = -999
18  process.simHcalDigis.useConfigZSvalues = 1
19 
20  return(process)
return((rh^lh)&mask)