CMS 3D CMS Logo

HcalSimHitStudy_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 hcalSimHitStudy = cms.EDAnalyzer("HcalSimHitStudy",
4  ModuleLabel = cms.untracked.string('g4SimHits'),
5  outputFile = cms.untracked.string(''),
6  Verbose = cms.untracked.bool(False),
7  HitCollection = cms.untracked.string('HcalHits'),
8  TestNumber = cms.bool(False),
9  hep17 = cms.bool(False)
10 )
11 
12 
13 from Configuration.Eras.Modifier_fastSim_cff import fastSim
14 fastSim.toModify( hcalSimHitStudy, ModuleLabel = cms.untracked.string('fastSimProducer') )
15 
16 from Configuration.Eras.Modifier_run2_HCAL_2017_cff import run2_HCAL_2017
17 (run2_HCAL_2017 & ~fastSim).toModify( hcalSimHitStudy, TestNumber = cms.bool(True) )
18 
19 from Configuration.Eras.Modifier_run2_HEPlan1_2017_cff import run2_HEPlan1_2017
20 run2_HEPlan1_2017.toModify( hcalSimHitStudy, hep17 = cms.bool(True) )