CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DQM/EcalBarrelMonitorTasks/python/EcalMonitorTask_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from DQM.EcalCommon.dqmpset import *
00004 from DQM.EcalCommon.CollectionTags_cfi import *
00005 from DQM.EcalCommon.CommonParams_cfi import *
00006 
00007 import DQM.EcalBarrelMonitorTasks.ClusterTask_cfi as ecalClusterTask
00008 import DQM.EcalBarrelMonitorTasks.EnergyTask_cfi as ecalEnergyTask
00009 import DQM.EcalBarrelMonitorTasks.IntegrityTask_cfi as ecalIntegrityTask
00010 import DQM.EcalBarrelMonitorTasks.OccupancyTask_cfi as ecalOccupancyTask
00011 import DQM.EcalBarrelMonitorTasks.RawDataTask_cfi as ecalRawDataTask
00012 import DQM.EcalBarrelMonitorTasks.SelectiveReadoutTask_cfi as ecalSelectiveReadoutTask
00013 import DQM.EcalBarrelMonitorTasks.TimingTask_cfi as ecalTimingTask
00014 import DQM.EcalBarrelMonitorTasks.TrigPrimTask_cfi as ecalTrigPrimTask
00015 import DQM.EcalBarrelMonitorTasks.TowerStatusTask_cfi as ecalTowerStatusTask
00016 import DQM.EcalBarrelMonitorTasks.PresampleTask_cfi as ecalPresampleTask
00017 
00018 ecalMonitorTaskParams = dict(
00019     ClusterTask = ecalClusterTask.ClusterTask,
00020     EnergyTask = ecalEnergyTask.EnergyTask,
00021     IntegrityTask = ecalIntegrityTask.IntegrityTask,
00022     OccupancyTask = ecalOccupancyTask.OccupancyTask,
00023     RawDataTask = ecalRawDataTask.RawDataTask,
00024     SelectiveReadoutTask = ecalSelectiveReadoutTask.SelectiveReadoutTask,
00025     TimingTask = ecalTimingTask.TimingTask,
00026     TrigPrimTask = ecalTrigPrimTask.TrigPrimTask,
00027     TowerStatusTask = ecalTowerStatusTask.TowerStatusTask,
00028     PresampleTask = ecalPresampleTask.PresampleTask,
00029     Common = ecalCommonParams
00030 )
00031         
00032 ecalMonitorTaskPaths = dict(
00033     ClusterTask = ecalClusterTask.clusterTaskPaths,
00034     EnergyTask = ecalEnergyTask.energyTaskPaths,
00035     IntegrityTask = ecalIntegrityTask.integrityTaskPaths,
00036     OccupancyTask = ecalOccupancyTask.occupancyTaskPaths,
00037     RawDataTask = ecalRawDataTask.rawDataTaskPaths,
00038     SelectiveReadoutTask = ecalSelectiveReadoutTask.selectiveReadoutTaskPaths,
00039     TimingTask = ecalTimingTask.timingTaskPaths,
00040     TrigPrimTask = ecalTrigPrimTask.trigPrimTaskPaths,
00041     TowerStatusTask = ecalTowerStatusTask.towerStatusTaskPaths,
00042     PresampleTask = ecalPresampleTask.presampleTaskPaths
00043 )
00044 
00045 ecalMonitorTask = cms.EDAnalyzer("EcalDQMonitorTask",
00046     moduleName = cms.untracked.string("Ecal Monitor Source"),
00047     # tasks to be turned on
00048     tasks = cms.untracked.vstring(
00049         "ClusterTask",
00050         "EnergyTask",
00051         "IntegrityTask",
00052         "OccupancyTask",
00053         "RawDataTask",
00054         "SelectiveReadoutTask",
00055         "TimingTask",
00056         "TrigPrimTask",
00057         "TowerStatusTask",
00058         "PresampleTask"
00059     ),
00060     # task parameters (included from indivitual cfis)
00061     taskParameters = dqmpset(ecalMonitorTaskParams),
00062     # ME paths for each task (included from inidividual cfis)
00063     mePaths = dqmpaths("Ecal", ecalMonitorTaskPaths),
00064     collectionTags = ecalDQMCollectionTags,
00065     allowMissingCollections = cms.untracked.bool(False),
00066     verbosity = cms.untracked.int32(0),
00067     evaluateTime = cms.untracked.bool(False)
00068 )
00069