CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SimHitsValidationHcal_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
4 simHitsValidationHcal = DQMEDAnalyzer('SimHitsValidationHcal',
5  ModuleLabel = cms.string('g4SimHits'),
6  HitCollection = cms.string('HcalHits'),
7  Verbose = cms.bool(False),
8  TestNumber = cms.bool(False),
9 )
10 
11 from Configuration.Eras.Modifier_fastSim_cff import fastSim
12 fastSim.toModify( simHitsValidationHcal, ModuleLabel = cms.string("fastSimProducer") )
13 
14 from Configuration.Eras.Modifier_run2_HCAL_2017_cff import run2_HCAL_2017
15 (run2_HCAL_2017 & ~fastSim).toModify( simHitsValidationHcal, TestNumber = cms.bool(True) )