CMS 3D CMS Logo

OccupancyClient_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQM.EcalMonitorTasks.OccupancyTask_cfi import ecalOccupancyTask
4 
5 minHits = 20
6 deviationThreshold = 100.
7 
8 ecalOccupancyClient = cms.untracked.PSet(
9  params = cms.untracked.PSet(
10  minHits = cms.untracked.int32(minHits),
11  deviationThreshold = cms.untracked.double(deviationThreshold)
12  ),
13  sources = cms.untracked.PSet(
14  TPDigiThrAll = ecalOccupancyTask.MEs.TPDigiThrAll,
15  RecHitThrAll = ecalOccupancyTask.MEs.RecHitThrAll,
16  DigiAll = ecalOccupancyTask.MEs.DigiAll
17  ),
18  MEs = cms.untracked.PSet(
19  QualitySummary = cms.untracked.PSet(
20  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sOT%(suffix)s hot cell quality summary'),
21  kind = cms.untracked.string('TH2F'),
22  otype = cms.untracked.string('Ecal3P'),
23  btype = cms.untracked.string('SuperCrystal'),
24  description = cms.untracked.string('Summary of the hot cell monitor. A channel is red if it has more than ' + str(deviationThreshold) + ' times more entries than phi-ring mean in either digi, rec hit (filtered), or TP digi (filtered). Channels with less than ' + str(minHits) + ' entries are not considered. Channel names of the hot cells are available in (Top) / Ecal / Errors / HotCells.')
25  )
26 # HotTPDigiThr = cms.untracked.PSet(
27 # path = cms.untracked.string('Ecal/Errors/HotCells/TPDigiThres/'),
28 # kind = cms.untracked.string('TH1F'),
29 # otype = cms.untracked.string('Channel'),
30 # btype = cms.untracked.string('TriggerTower'),
31 # description = cms.untracked.string('')
32 # ),
33 # HotRecHitThr = cms.untracked.PSet(
34 # path = cms.untracked.string('Ecal/Errors/HotCells/RecHitThres/'),
35 # kind = cms.untracked.string('TH1F'),
36 # otype = cms.untracked.string('Channel'),
37 # btype = cms.untracked.string('Crystal'),
38 # description = cms.untracked.string('')
39 # ),
40 # HotDigi = cms.untracked.PSet(
41 # path = cms.untracked.string('Ecal/Errors/HotCells/Digi/'),
42 # kind = cms.untracked.string('TH1F'),
43 # otype = cms.untracked.string('Channel'),
44 # btype = cms.untracked.string('Crystal'),
45 # description = cms.untracked.string('')
46 # )
47  )
48 )
str
#define str(s)
Definition: TestProcessor.cc:52