5 if hasattr(process,
'mix')
and hasattr(process.mix,
'digitizers')
and hasattr(process.mix.digitizers,
'hcal'):
6 process.mix.digitizers.hcal.debugCaloSamples = cms.bool(
True)
8 from SimCalorimetry.HcalSimProducers.hcalUnsuppressedDigis_cfi
import hcalSimBlock
9 process.CaloSamplesAnalyzer = cms.EDAnalyzer(
"CaloSamplesAnalyzer",
11 CaloSamplesTag = cms.InputTag(
"mix",
"HcalSamples"),
14 process.TFileService = cms.Service(
"TFileService",
15 fileName = cms.string(
"debugcalosamples.root")
18 process.debug_step = cms.Path(process.CaloSamplesAnalyzer)
19 process.schedule.extend([process.debug_step])