CMS 3D CMS Logo

DigiTask.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
4 digiTask = DQMEDAnalyzer(
5  "DigiTask",
6 
7  # standard parameters
8  name = cms.untracked.string("DigiTask"),
9  debug = cms.untracked.int32(0),
10  runkeyVal = cms.untracked.int32(0),
11  runkeyName = cms.untracked.string("pp_run"),
12  ptype = cms.untracked.int32(0),
13  mtype = cms.untracked.bool(True),
14  subsystem = cms.untracked.string("Hcal"),
15 
16  # tags
17  tagHBHE = cms.untracked.InputTag("hcalDigis"),
18  tagHO = cms.untracked.InputTag("hcalDigis"),
19  tagHF = cms.untracked.InputTag("hcalDigis"),
20 
21  # Cuts
22  cutSumQ_HBHE = cms.untracked.double(20),
23  cutSumQ_HO = cms.untracked.double(20),
24  cutSumQ_HF = cms.untracked.double(20),
25 
26  # ratio thresholds
27  thresh_unifh = cms.untracked.double(0.2),
28 
29  qie10InConditions = cms.untracked.bool(False),
30 
31  # Reference digi sizes
32  refDigiSize = cms.untracked.vuint32(10, 10, 10, 4), # HB, HE, HO, HF
33 )
34 
35 from Configuration.Eras.Modifier_run2_HF_2017_cff import run2_HF_2017
36 run2_HF_2017.toModify(digiTask, qie10InConditions=cms.untracked.bool(True))
37 run2_HF_2017.toModify(digiTask, refDigiSize=cms.untracked.vuint32(10, 10, 10, 3))
38 
39 from Configuration.Eras.Modifier_run2_HCAL_2018_cff import run2_HCAL_2018
40 run2_HCAL_2018.toModify(digiTask, qie10InConditions=cms.untracked.bool(True))
41 run2_HCAL_2018.toModify(digiTask, refDigiSize=cms.untracked.vuint32(8, 8, 10, 3))