SimCalorimetry
HcalZeroSuppressionProducers
python
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)
NoHcalZeroSuppression_cff.customise
def customise(process)
Definition:
NoHcalZeroSuppression_cff.py:9
mathSSE::return
return((rh ^ lh) &mask)
Generated for CMSSW Reference Manual by
1.8.16