CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalMonitorClient_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 hcalClient = cms.EDAnalyzer("HcalMonitorClient",
4  debug=cms.untracked.int32(0),
5  inputFile=cms.untracked.string(""),
6  mergeRuns=cms.untracked.bool(False),
7  cloneME=cms.untracked.bool(False),
8  prescaleFactor=cms.untracked.int32(-1),
9  subSystemFolder=cms.untracked.string("Hcal/"),
10  enableCleanup=cms.untracked.bool(False),
11 
12  baseHtmlDir = cms.untracked.string(""),
13  htmlUpdateTime = cms.untracked.int32(0),
14  htmlFirstUpdate = cms.untracked.int32(20),
15  databaseDir = cms.untracked.string(""),
16  databaseUpdateTime = cms.untracked.int32(0),
17  databaseFirstUpdate = cms.untracked.int32(10), # database updates have a 10 minute offset, if updatetime>0
18 
19  # Specify whether LS-by-LS certification should be created
20  saveByLumiSection = cms.untracked.bool(False),
21 
22  online = cms.untracked.bool(False), # set to true only for online DQM running
23  # When enabled, this checks for NaN values in the channel status, and counts any such channels as errors in the reportSummary:
24  UseBadChannelStatusInSummary = cms.untracked.bool(False),
25 
26  # each client has a 'minerrror' (double) rate
27  # (minimum fraction of events that must be bad to be considered a problem),
28  # a 'minevents' integer
29  # (minimum number of events to be processed before evaluation occurs),
30  # and a BadChannelStatusMask value
31  # (channel status types that should be checked when looking for known bad channels)
32 
33  # if the following are uncommented, they override the defaults on any
34  # clients that are not specified explicitly with their own prefixes
35  # online running -- require only 1 event (offline will require more)
36  minevents = cms.untracked.int32(250),
37  # minerrorrate = cms.untracked.double(0.05),
38  Beam_minLS = cms.untracked.int32(1),
39 
40  # dead cell min events controlled by task in online running
41  DeadCell_minerrorrate = cms.untracked.double(0.05),
42  #DeadCell_minevents = cms.untracked.int32(10),
43  HotCell_minerrorrate = cms.untracked.double(0.10),
44  DeadCell_BadChannelStatusMask = cms.untracked.int32((1<<5) | (1<<1)),
45  RecHit_BadChannelStatusMask = cms.untracked.int32((1<<5) | (1<<1)),
46  Digi_BadChannelStatusMask = cms.untracked.int32((1<<5) | (1<<1)),
47  CoarsePedestal_BadChannelStatusMask = cms.untracked.int32((1<<5) | (1<<6) | (1<<1)),
48  HotCell_BadChannelStatusMask = cms.untracked.int32((1<<5) | (1<<1)),
49 
50  excludeHOring2_backup = cms.untracked.bool(True), # This is only a 'backup' result, and is overwritten by what was used by the task when the task information
51  # can be found in the DQM output. If the task info can't be found, this backup value is used in its place.
52 
53  # Specify all clients to be run (name = prefix+"Monitor")
54 
55  enabledClients = cms.untracked.vstring(["DeadCellMonitor",
56  "HotCellMonitor",
57  "RecHitMonitor",
58  "DigiMonitor",
59  "RawDataMonitor",
60  "TrigPrimMonitor",
61  "NZSMonitor",
62  "BeamMonitor",
63  "DetDiagPedestalMonitor",
64  "DetDiagLaserMonitor",
65  "DetDiagLEDMonitor",
66  "DetDiagNoiseMonitor",
67  "DetDiagTimingMonitor",
68  "CoarsePedestalMonitor",
69  "Summary"
70  ]
71  ),
72  # List directories of all tasks that contribute to this test
73  # Make sure that all listed tasks are filling their ProblemCurrentLB histogram,
74  # or they will cause this test to automatically fail!
75  TaskDirectories = cms.untracked.vstring("DeadCellMonitor_Hcal/",
76  "DigiMonitor_Hcal/",
77  "HotCellMonitor_Hcal/",
78  "BeamMonitor_Hcal/"),
79  minEvents = cms.untracked.int32(500),
80  )