CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalTasksOffline_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.HcalLSbyLSMonitor_cfi import*
19 
20 # Turn on online switches where appropriate
21 hcalRawDataMonitor.online = False
22 hcalDigiMonitor.online = False
23 hcalRecHitMonitor.online = False
24 hcalHotCellMonitor.online = False
25 hcalDeadCellMonitor.online = False
26 hcalBeamMonitor.online = False
27 hcalTrigPrimMonitor.online = False
28 hcalNZSMonitor.online = False
29 hcalNoiseMonitor.online = False
30 hcalLSbyLSMonitor.online = False
31 # The following tasks are not yet run online
32 hcalDetDiagLEDMonitor.online = False
33 hcalDetDiagPedestalMonitor.online = False
34 hcalDetDiagLaserMonitor.online = False
35 hcalDetDiagNoiseMonitor.online = False
36 
37 # Offline tasks should look at all events, I think
38 hcalRawDataMonitor.AllowedCalibTypes = [0,1,2,3,4,5,6,7]
39 hcalDigiMonitor.AllowedCalibTypes = [0,1,2,3,4,5,6,7]
40 hcalRecHitMonitor.AllowedCalibTypes = [0,1,2,3,4,5,6,7]
41 hcalHotCellMonitor.AllowedCalibTypes = [0,1,2,3,4,5,6,7]
42 hcalDeadCellMonitor.AllowedCalibTypes = [0,1,2,3,4,5,6,7]
43 hcalBeamMonitor.AllowedCalibTypes = [0,1,2,3,4,5,6,7]
44 hcalTrigPrimMonitor.AllowedCalibTypes = [0,1,2,3,4,5,6,7]
45 hcalNZSMonitor.AllowedCalibTypes = [0,1,2,3,4,5,6,7]
46 hcalNoiseMonitor.AllowedCalibTypes = [0,1,2,3,4,5,6,7]
47 hcalLSbyLSMonitor.AllowedCalibTypes = [0,1,2,3,4,5,6,7]
48 
49 # No need to skip out of order LS in offline, I think
50 hcalRawDataMonitor.skipOutOfOrderLS = False
51 hcalDigiMonitor.skipOutOfOrderLS = False
52 hcalRecHitMonitor.skipOutOfOrderLS = False
53 hcalHotCellMonitor.skipOutOfOrderLS = False
54 hcalDeadCellMonitor.skipOutOfOrderLS = False
55 hcalBeamMonitor.skipOutOfOrderLS = False
56 hcalTrigPrimMonitor.skipOutOfOrderLS = False
57 hcalNZSMonitor.skipOutOfOrderLS = False
58 hcalNoiseMonitor.skipOutOfOrderLS = False
59 hcalLSbyLSMonitor.skipOutOfOrderLS = False
60 
61 # Make diagnostics where appropriate
62 hcalDeadCellMonitor.makeDiagnostics = True
63 hcalRecHitMonitor.makeDiagnostics = True
64 hcalDigiMonitor.makeDiagnostics = True
65 
66 # Require at least N events for the dead cell monitor to process at end of lumi block? Do we want this functionality in offline, or do we want to rely only on the never-present test?
67 hcalDeadCellMonitor.minDeadEventCount = 1000
68 
69 # Require at least 200 events in a lumi block when looking for persistent hot cells
70 hcalHotCellMonitor.minEvents = 200
71 
72 hcalLSbyLSMonitor.minEvents = 1000