Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:32:31

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Validation.HcalRecHits.HcalRecHitParam_cfi import *
0004 
0005 import Validation.HcalRecHits.HcalRecHitParam_cfi
0006 
0007 RecHitsValidation = Validation.HcalRecHits.HcalRecHitParam_cfi.hcalRecoAnalyzer.clone()
0008 NoiseRatesValidation = Validation.HcalRecHits.HcalRecHitParam_cfi.hcalNoiseRates.clone()
0009 
0010 hcalRecHitsValidationSequence = cms.Sequence(NoiseRatesValidation*RecHitsValidation)
0011 
0012 # fastsim hasn't got the right noise collection for the moment => no noise validation
0013 from Configuration.Eras.Modifier_fastSim_cff import fastSim
0014 fastSim.toReplaceWith(hcalRecHitsValidationSequence, hcalRecHitsValidationSequence.copyAndExclude([NoiseRatesValidation]))
0015 
0016 _run3_hcalRecHitsValidationSequence = hcalRecHitsValidationSequence.copyAndExclude([NoiseRatesValidation])
0017 from Configuration.Eras.Modifier_run3_HB_cff import run3_HB
0018 run3_HB.toReplaceWith(hcalRecHitsValidationSequence, _run3_hcalRecHitsValidationSequence)