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  thresh_led = cms.untracked.double(20),
29 
30  qie10InConditions = cms.untracked.bool(False),
31 
32  # Reference digi sizes
33  refDigiSize = cms.untracked.vuint32(10, 10, 10, 4), # HB, HE, HO, HF
34 )
35 
36 from Configuration.Eras.Modifier_run2_HF_2017_cff import run2_HF_2017
37 run2_HF_2017.toModify(digiTask, qie10InConditions=cms.untracked.bool(True))
38 run2_HF_2017.toModify(digiTask, refDigiSize=cms.untracked.vuint32(10, 10, 10, 3))
39 
40 from Configuration.Eras.Modifier_run2_HCAL_2018_cff import run2_HCAL_2018
41 run2_HCAL_2018.toModify(digiTask, qie10InConditions=cms.untracked.bool(True))
42 run2_HCAL_2018.toModify(digiTask, refDigiSize=cms.untracked.vuint32(8, 8, 10, 3))