CMS 3D CMS Logo

EcalMonitorTask_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQM.EcalCommon.CommonParams_cfi import ecalCommonParams
4 
5 from DQM.EcalMonitorTasks.CollectionTags_cfi import ecalDQMCollectionTags
6 
7 from DQM.EcalMonitorTasks.ClusterTask_cfi import ecalClusterTask
8 from DQM.EcalMonitorTasks.EnergyTask_cfi import ecalEnergyTask
9 from DQM.EcalMonitorTasks.IntegrityTask_cfi import ecalIntegrityTask
10 from DQM.EcalMonitorTasks.OccupancyTask_cfi import ecalOccupancyTask
11 from DQM.EcalMonitorTasks.PresampleTask_cfi import ecalPresampleTask
12 from DQM.EcalMonitorTasks.RawDataTask_cfi import ecalRawDataTask
13 from DQM.EcalMonitorTasks.RecoSummaryTask_cfi import ecalRecoSummaryTask
14 from DQM.EcalMonitorTasks.SelectiveReadoutTask_cfi import ecalSelectiveReadoutTask
15 from DQM.EcalMonitorTasks.TimingTask_cfi import ecalTimingTask
16 from DQM.EcalMonitorTasks.TrigPrimTask_cfi import ecalTrigPrimTask
17 from DQM.EcalMonitorTasks.ecalPiZeroTask_cfi import ecalPiZeroTask
18 
19 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
20 ecalMonitorTask = DQMEDAnalyzer('EcalDQMonitorTask',
21  moduleName = cms.untracked.string("Ecal Monitor Source"),
22  # tasks to be turned on
23  workers = cms.untracked.vstring(
24  "ClusterTask",
25  "EnergyTask",
26  "IntegrityTask",
27  "OccupancyTask",
28  "PresampleTask",
29  "RawDataTask",
30  "RecoSummaryTask",
31  "TimingTask",
32  "TrigPrimTask",
33  "PiZeroTask"
34  ),
35  # task parameters (included from indivitual cfis)
36  workerParameters = cms.untracked.PSet(
37  ClusterTask = ecalClusterTask,
38  EnergyTask = ecalEnergyTask,
39  IntegrityTask = ecalIntegrityTask,
40  OccupancyTask = ecalOccupancyTask,
41  PresampleTask = ecalPresampleTask,
42  RawDataTask = ecalRawDataTask,
43  RecoSummaryTask = ecalRecoSummaryTask,
44  SelectiveReadoutTask = ecalSelectiveReadoutTask,
45  TimingTask = ecalTimingTask,
46  TrigPrimTask = ecalTrigPrimTask,
47  PiZeroTask = ecalPiZeroTask
48  ),
49  commonParameters = ecalCommonParams,
50  collectionTags = ecalDQMCollectionTags,
51  allowMissingCollections = cms.untracked.bool(True),
52  verbosity = cms.untracked.int32(0),
53  resetInterval = cms.untracked.double(2.)
54 )