CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
18 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
19 ecalMonitorTask = DQMEDAnalyzer('EcalDQMonitorTask',
20  moduleName = cms.untracked.string("Ecal Monitor Source"),
21  # tasks to be turned on
22  workers = cms.untracked.vstring(
23  "ClusterTask",
24  "EnergyTask",
25  "IntegrityTask",
26  "OccupancyTask",
27  "PresampleTask",
28  "RawDataTask",
29  "RecoSummaryTask",
30  "TimingTask",
31  "TrigPrimTask"
32  ),
33  # task parameters (included from indivitual cfis)
34  workerParameters = cms.untracked.PSet(
35  ClusterTask = ecalClusterTask,
36  EnergyTask = ecalEnergyTask,
37  IntegrityTask = ecalIntegrityTask,
38  OccupancyTask = ecalOccupancyTask,
39  PresampleTask = ecalPresampleTask,
40  RawDataTask = ecalRawDataTask,
41  RecoSummaryTask = ecalRecoSummaryTask,
42  SelectiveReadoutTask = ecalSelectiveReadoutTask,
43  TimingTask = ecalTimingTask,
44  TrigPrimTask = ecalTrigPrimTask
45  ),
46  commonParameters = ecalCommonParams,
47  collectionTags = ecalDQMCollectionTags,
48  allowMissingCollections = cms.untracked.bool(True),
49  verbosity = cms.untracked.int32(0),
50  resetInterval = cms.untracked.double(2.)
51 )