test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalTasksOnline_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
13 
15 from DQM.HcalMonitorTasks.HcalDetDiagPedestalMonitor_cfi import*
16 from DQM.HcalMonitorTasks.HcalDetDiagLEDMonitor_cfi import*
17 from DQM.HcalMonitorTasks.HcalDetDiagNoiseMonitor_cfi import*
18 from DQM.HcalMonitorTasks.HcalDetDiagTimingMonitor_cfi import*
19 
20 
21 # Turn on online switches where appropriate
22 hcalRawDataMonitor.online = True
23 hcalDigiMonitor.online = True
24 hcalRecHitMonitor.online = True
25 hcalHotCellMonitor.online = True
26 hcalDeadCellMonitor.online = True
27 hcalBeamMonitor.online = True
28 hcalTrigPrimMonitor.online = True
29 hcalNZSMonitor.online = True
30 hcalCoarsePedestalMonitor.online = True
31 # The following tasks are not yet run online
32 hcalDetDiagLEDMonitor.online = True
33 hcalDetDiagPedestalMonitor.online = True
34 hcalDetDiagLaserMonitor.online = True
35 hcalDetDiagNoiseMonitor.online = True
36 hcalDetDiagTimingMonitor.online = True
37 
38 # Set subdetector directory to "Hcal/"
39 hcalRawDataMonitor.subSystemFolder = "Hcal/"
40 hcalDigiMonitor.subSystemFolder = "Hcal/"
41 hcalRecHitMonitor.subSystemFolder = "Hcal/"
42 hcalHotCellMonitor.subSystemFolder = "Hcal/"
43 hcalDeadCellMonitor.subSystemFolder = "Hcal/"
44 hcalBeamMonitor.subSystemFolder = "Hcal/"
45 hcalTrigPrimMonitor.subSystemFolder = "Hcal/"
46 hcalNZSMonitor.subSystemFolder = "Hcal/"
47 hcalCoarsePedestalMonitor.subSystemFolder = "Hcal/"
48 # The following tasks are not yet run online
49 hcalDetDiagLEDMonitor.subSystemFolder = "Hcal/"
50 hcalDetDiagPedestalMonitor.subSystemFolder = "Hcal/"
51 hcalDetDiagLaserMonitor.subSystemFolder = "Hcal/"
52 hcalDetDiagNoiseMonitor.subSystemFolder = "Hcal/"
53 hcalDetDiagTimingMonitor.subSystemFolder = "Hcal/"
54 
55 # Only look at non-calibration events, except dead cell, which can use any
56 hcalRawDataMonitor.AllowedCalibTypes = [0]
57 hcalDigiMonitor.AllowedCalibTypes = [0]
58 hcalRecHitMonitor.AllowedCalibTypes = [0]
59 hcalHotCellMonitor.AllowedCalibTypes = [0]
60 hcalDeadCellMonitor.AllowedCalibTypes = [0,1,2,3,4,5,6,7]
61 hcalBeamMonitor.AllowedCalibTypes = [0]
62 hcalTrigPrimMonitor.AllowedCalibTypes = [0]
63 hcalNZSMonitor.AllowedCalibTypes = [0]
64 hcalDetDiagNoiseMonitor.AllowedCalibTypes = [0]
65 hcalDetDiagTimingMonitor.AllowedCalibTypes = [0]
66 hcalCoarsePedestalMonitor.AllowedCalibTypes = [1]
67 
68 # Skip out of order lumi sections for hot, dead, beam monitors
69 hcalRawDataMonitor.skipOutOfOrderLS = False
70 hcalDigiMonitor.skipOutOfOrderLS = False
71 hcalRecHitMonitor.skipOutOfOrderLS = False
72 hcalHotCellMonitor.skipOutOfOrderLS = True
73 hcalDeadCellMonitor.skipOutOfOrderLS = True
74 hcalBeamMonitor.skipOutOfOrderLS = True
75 hcalTrigPrimMonitor.skipOutOfOrderLS = False
76 hcalNZSMonitor.skipOutOfOrderLS = False
77 
78 # Make diagnostics where appropriate
79 hcalDeadCellMonitor.makeDiagnostics = True
80 hcalRecHitMonitor.makeDiagnostics = True
81 
82 # Require at least 2000 events for the dead cell monitor to process at end of lumi block
83 hcalDeadCellMonitor.minDeadEventCount = 2000
84 
85 # Require at least 200 event in a lumi block when looking for persistent hot cells
86 hcalHotCellMonitor.minEvents = 200
87 
88 
89 # Specify directories where reference/outputs/etc should be directed in the Integration file!
90