CMS 3D CMS Logo

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