1 import FWCore.ParameterSet.Config
as cms
7 RecHitsValidation = Validation.HcalRecHits.HcalRecHitParam_cfi.hcalRecoAnalyzer.clone()
8 NoiseRatesValidation = Validation.HcalRecHits.HcalRecHitParam_cfi.hcalNoiseRates.clone()
10 hcalRecHitsValidationSequence = cms.Sequence(NoiseRatesValidation*RecHitsValidation)
13 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
14 fastSim.toReplaceWith(hcalRecHitsValidationSequence, hcalRecHitsValidationSequence.copyAndExclude([NoiseRatesValidation]))
16 from Configuration.Eras.Modifier_phase2_hcal_cff
import phase2_hcal
17 _phase2_hcalRecHitsValidationSequence = hcalRecHitsValidationSequence.copyAndExclude([NoiseRatesValidation])
18 phase2_hcal.toReplaceWith(hcalRecHitsValidationSequence, _phase2_hcalRecHitsValidationSequence)