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 fastSim.toModify(hcaldigisAnalyzer, simHits = "fastSimProducer:HcalHits")
21 
22 from Configuration.Eras.Modifier_run2_HCAL_2017_cff import run2_HCAL_2017
23 (run2_HCAL_2017 & ~fastSim).toModify(hcaldigisAnalyzer,
24  TestNumber = cms.bool(True)
25 )
26 
27 from Configuration.Eras.Modifier_run2_HEPlan1_2017_cff import run2_HEPlan1_2017
28 run2_HEPlan1_2017.toModify(hcaldigisAnalyzer,
29  hep17 = cms.bool(True)
30 )
31 
32 from Configuration.Eras.Modifier_phase2_hcal_cff import phase2_hcal
33 phase2_hcal.toModify(hcaldigisAnalyzer,
34  dataTPs = cms.InputTag(""),
35  digiTag = cms.InputTag("simHcalDigis"),
36  QIE10digiTag = cms.InputTag("simHcalDigis","HFQIE10DigiCollection"),
37  QIE11digiTag = cms.InputTag("simHcalDigis","HBHEQIE11DigiCollection"),
38 )