CMS 3D CMS Logo

PNIntegrityClient_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQM.EcalMonitorTasks.PNDiodeTask_cfi import ecalPNDiodeTask
4 
5 errFractionThreshold = 0.01
6 
7 ecalPNIntegrityClient = cms.untracked.PSet(
8  params = cms.untracked.PSet(
9  errFractionThreshold = cms.untracked.double(errFractionThreshold)
10  ),
11  sources = cms.untracked.PSet(
12  Occupancy = ecalPNDiodeTask.MEs.Occupancy,
13  MEMChId = ecalPNDiodeTask.MEs.MEMChId,
14  MEMGain = ecalPNDiodeTask.MEs.MEMGain,
15  MEMBlockSize = ecalPNDiodeTask.MEs.MEMBlockSize,
16  MEMTowerId = ecalPNDiodeTask.MEs.MEMTowerId
17  ),
18  MEs = cms.untracked.PSet(
19  QualitySummary = cms.untracked.PSet(
20  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sIT PN integrity quality summary'),
21  kind = cms.untracked.string('TH2F'),
22  otype = cms.untracked.string('MEM2P'),
23  btype = cms.untracked.string('Crystal'),
24  description = cms.untracked.string('Summary of the data integrity in PN channels. A channel is red if more than ' + str(100 * errFractionThreshold) + '% of its entries have integrity errors.')
25  )
26  )
27 )
#define str(s)