Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:27:42

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0004 HcalSimHitsAnalyser = DQMEDAnalyzer('HcalSimHitsValidation',
0005     outputFile = cms.untracked.string(''),
0006     hf1 = cms.double(1/0.383),
0007     hf2 = cms.double(1/0.368)
0008 )
0009 
0010 from Configuration.Eras.Modifier_fastSim_cff import fastSim
0011 fastSim.toModify(    HcalSimHitsAnalyser, ModuleLabel = cms.untracked.string("fastSimProducer") )
0012 
0013 from Configuration.Eras.Modifier_run2_HCAL_2017_cff import run2_HCAL_2017
0014 (run2_HCAL_2017 & ~fastSim).toModify( HcalSimHitsAnalyser, TestNumber = cms.untracked.bool(True) )
0015 
0016 from Configuration.Eras.Modifier_phase2_hcal_cff import phase2_hcal 
0017 phase2_hcal.toModify( HcalSimHitsAnalyser, EEHitCollection = cms.untracked.string("") )
0018 
0019 # post-LS1 switch for sampling factors
0020 from Configuration.Eras.Modifier_run2_common_cff import run2_common
0021 run2_common.toModify( HcalSimHitsAnalyser, 
0022     hf1 = cms.double(1/0.67),
0023     hf2 = cms.double(1/0.67)
0024 )