CMS 3D CMS Logo

HcalSimHitStudy_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 hcalSimHitStudy = DQMEDAnalyzer('HcalSimHitStudy',
5  ModuleLabel = cms.untracked.string('g4SimHits'),
6  outputFile = cms.untracked.string(''),
7  Verbose = cms.untracked.bool(False),
8  HitCollection = cms.untracked.string('HcalHits'),
9  TestNumber = cms.bool(False),
10  hep17 = cms.bool(False)
11 )
12 
13 
14 from Configuration.Eras.Modifier_fastSim_cff import fastSim
15 fastSim.toModify( hcalSimHitStudy, ModuleLabel = cms.untracked.string('fastSimProducer') )
16 
17 from Configuration.Eras.Modifier_run2_HCAL_2017_cff import run2_HCAL_2017
18 (run2_HCAL_2017 & ~fastSim).toModify( hcalSimHitStudy, TestNumber = cms.bool(True) )
19 
20 from Configuration.Eras.Modifier_run2_HEPlan1_2017_cff import run2_HEPlan1_2017
21 run2_HEPlan1_2017.toModify( hcalSimHitStudy, hep17 = cms.bool(True) )