CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalMonitorTask_cfi.py
Go to the documentation of this file.
2 
3 from DQM.EcalCommon.dqmpset import *
6 
7 import DQM.EcalBarrelMonitorTasks.ClusterTask_cfi as ecalClusterTask
8 import DQM.EcalBarrelMonitorTasks.EnergyTask_cfi as ecalEnergyTask
9 import DQM.EcalBarrelMonitorTasks.IntegrityTask_cfi as ecalIntegrityTask
10 import DQM.EcalBarrelMonitorTasks.OccupancyTask_cfi as ecalOccupancyTask
11 import DQM.EcalBarrelMonitorTasks.RawDataTask_cfi as ecalRawDataTask
12 import DQM.EcalBarrelMonitorTasks.SelectiveReadoutTask_cfi as ecalSelectiveReadoutTask
13 import DQM.EcalBarrelMonitorTasks.TimingTask_cfi as ecalTimingTask
14 import DQM.EcalBarrelMonitorTasks.TrigPrimTask_cfi as ecalTrigPrimTask
15 import DQM.EcalBarrelMonitorTasks.TowerStatusTask_cfi as ecalTowerStatusTask
16 import DQM.EcalBarrelMonitorTasks.PresampleTask_cfi as ecalPresampleTask
17 
18 ecalMonitorTaskParams = dict(
19  ClusterTask = ecalClusterTask.clusterTask,
20  EnergyTask = ecalEnergyTask.energyTask,
21  IntegrityTask = ecalIntegrityTask.integrityTask,
22  OccupancyTask = ecalOccupancyTask.occupancyTask,
23  RawDataTask = ecalRawDataTask.rawDataTask,
24  SelectiveReadoutTask = ecalSelectiveReadoutTask.selectiveReadoutTask,
25  TimingTask = ecalTimingTask.timingTask,
26  TrigPrimTask = ecalTrigPrimTask.trigPrimTask,
27  TowerStatusTask = ecalTowerStatusTask.towerStatusTask,
28  PresampleTask = ecalPresampleTask.presampleTask,
29  Common = ecalCommonParams
30 )
31 
32 ecalMonitorTaskPaths = dict(
33  ClusterTask = ecalClusterTask.clusterTaskPaths,
34  EnergyTask = ecalEnergyTask.energyTaskPaths,
35  IntegrityTask = ecalIntegrityTask.integrityTaskPaths,
36  OccupancyTask = ecalOccupancyTask.occupancyTaskPaths,
37  RawDataTask = ecalRawDataTask.rawDataTaskPaths,
38  SelectiveReadoutTask = ecalSelectiveReadoutTask.selectiveReadoutTaskPaths,
39  TimingTask = ecalTimingTask.timingTaskPaths,
40  TrigPrimTask = ecalTrigPrimTask.trigPrimTaskPaths,
41  TowerStatusTask = ecalTowerStatusTask.towerStatusTaskPaths,
42  PresampleTask = ecalPresampleTask.presampleTaskPaths
43 )
44 
45 ecalMonitorTask = cms.EDAnalyzer("EcalDQMonitorTask",
46  moduleName = cms.untracked.string("Ecal Monitor Source"),
47  # tasks to be turned on
48  tasks = cms.untracked.vstring(
49  "ClusterTask",
50  "EnergyTask",
51  "IntegrityTask",
52  "OccupancyTask",
53  "RawDataTask",
54  "SelectiveReadoutTask",
55  "TimingTask",
56  "TrigPrimTask",
57  "TowerStatusTask",
58  "PresampleTask"
59  ),
60  # task parameters (included from indivitual cfis)
61  taskParameters = dqmpset(ecalMonitorTaskParams),
62  # ME paths for each task (included from inidividual cfis)
63  mePaths = dqmpaths("Ecal", ecalMonitorTaskPaths),
64  collectionTags = ecalDQMCollectionTags,
65  allowMissingCollections = cms.untracked.bool(False),
66  verbosity = cms.untracked.int32(0),
67  evaluateTime = cms.untracked.bool(False)
68 )
69 
def dqmpaths
Definition: dqmpset.py:30