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.ProcessModifiers.premix_stage2_cff import premix_stage2
27 premix_stage2.toModify(hcaldigisAnalyzer,
28  dataTPs = "DMHcalTriggerPrimitiveDigis",
29 )
30 
31 from Configuration.Eras.Modifier_run2_HCAL_2017_cff import run2_HCAL_2017
32 (run2_HCAL_2017 & ~fastSim).toModify(hcaldigisAnalyzer,
33  TestNumber = cms.bool(True)
34 )
35 
36 from Configuration.Eras.Modifier_run2_HEPlan1_2017_cff import run2_HEPlan1_2017
37 run2_HEPlan1_2017.toModify(hcaldigisAnalyzer,
38  hep17 = cms.bool(True)
39 )
40 
41 from Configuration.Eras.Modifier_run2_HE_2018_cff import run2_HE_2018
42 run2_HE_2018.toModify(hcaldigisAnalyzer,
43  HEPhase1 = cms.bool(True)
44 )
45 
46 from Configuration.Eras.Modifier_run3_HB_cff import run3_HB
47 run3_HB.toModify(hcaldigisAnalyzer,
48  HBPhase1 = cms.bool(True)
49 )