CMS 3D CMS Logo

HcalDigisParam_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 
4 hcaldigisAnalyzer = cms.EDAnalyzer("HcalDigisValidation",
5  outputFile = cms.untracked.string(''),
6  digiTag = cms.InputTag("hcalDigis"),
7  QIE10digiTag= cms.InputTag("hcalDigis"),
8  QIE11digiTag= cms.InputTag("hcalDigis"),
9  mode = cms.untracked.string('multi'),
10  hcalselector= cms.untracked.string('all'),
11  mc = cms.untracked.string('yes'),
12  simHits = cms.untracked.InputTag("g4SimHits","HcalHits"),
13  emulTPs = cms.InputTag("emulDigis"),
14  dataTPs = cms.InputTag("simHcalTriggerPrimitiveDigis"),
15  TestNumber = cms.bool(False),
16  hep17 = cms.bool(False)
17 )
18 
19 from Configuration.Eras.Modifier_fastSim_cff import fastSim
20 if fastSim.isChosen():
21  hcaldigisAnalyzer.simHits = cms.untracked.InputTag("famosSimHits","HcalHits")
22 
23 from Configuration.Eras.Modifier_run2_HCAL_2017_cff import run2_HCAL_2017
24 run2_HCAL_2017.toModify(hcaldigisAnalyzer,
25  TestNumber = cms.bool(True)
26 )
27 
28 from Configuration.Eras.Modifier_run2_HEPlan1_2017_cff import run2_HEPlan1_2017
29 run2_HEPlan1_2017.toModify(hcaldigisAnalyzer,
30  hep17 = cms.bool(True)
31 )
32 
33 from Configuration.Eras.Modifier_phase2_hcal_cff import phase2_hcal
34 phase2_hcal.toModify(hcaldigisAnalyzer,
35  dataTPs = cms.InputTag(""),
36  digiTag = cms.InputTag("simHcalDigis"),
37  QIE10digiTag = cms.InputTag("simHcalDigis","HFQIE10DigiCollection"),
38  QIE11digiTag = cms.InputTag("simHcalDigis","HBHEQIE11DigiCollection"),
39 )