CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DQM/EcalBarrelMonitorClient/python/EcalMonitorClient_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.CommonParams_cfi import *
00005 
00006 from DQM.EcalBarrelMonitorTasks.EcalMonitorTask_cfi import ecalMonitorTaskPaths
00007 
00008 import DQM.EcalBarrelMonitorClient.IntegrityClient_cfi as ecalIntegrityClient
00009 import DQM.EcalBarrelMonitorClient.OccupancyClient_cfi as ecalOccupancyClient
00010 import DQM.EcalBarrelMonitorClient.PresampleClient_cfi as ecalPresampleClient
00011 import DQM.EcalBarrelMonitorClient.TrigPrimClient_cfi as ecalTrigPrimClient
00012 import DQM.EcalBarrelMonitorClient.RawDataClient_cfi as ecalRawDataClient
00013 import DQM.EcalBarrelMonitorClient.TimingClient_cfi as ecalTimingClient
00014 import DQM.EcalBarrelMonitorClient.SelectiveReadoutClient_cfi as ecalSelectiveReadoutClient
00015 import DQM.EcalBarrelMonitorClient.SummaryClient_cfi as ecalSummaryClient
00016 
00017 ecalMonitorClientPaths = dict(
00018     IntegrityClient = ecalIntegrityClient.integrityClientPaths,
00019     OccupancyClient = ecalOccupancyClient.occupancyClientPaths,
00020     PresampleClient = ecalPresampleClient.presampleClientPaths,
00021     TrigPrimClient = ecalTrigPrimClient.trigPrimClientPaths,
00022     RawDataClient = ecalRawDataClient.rawDataClientPaths,
00023     TimingClient = ecalTimingClient.timingClientPaths,
00024     SelectiveReadoutClient = ecalSelectiveReadoutClient.selectiveReadoutClientPaths,
00025     SummaryClient = ecalSummaryClient.summaryClientPaths
00026 )
00027 
00028 ecalMonitorClientSources = dict(ecalMonitorClientPaths)
00029 ecalMonitorClientSources.update(ecalMonitorTaskPaths)
00030 
00031 ecalMonitorClientParams = dict(
00032     IntegrityClient = ecalIntegrityClient.IntegrityClient,
00033     OccupancyClient = ecalOccupancyClient.OccupancyClient,
00034     PresampleClient = ecalPresampleClient.PresampleClient,
00035     TrigPrimClient = ecalTrigPrimClient.TrigPrimClient,
00036     RawDataClient = ecalRawDataClient.RawDataClient,
00037     TimingClient = ecalTimingClient.TimingClient,
00038     SelectiveReadoutClient = ecalSelectiveReadoutClient.SelectiveReadoutClient,
00039     SummaryClient = ecalSummaryClient.SummaryClient,
00040     Common = ecalCommonParams,
00041     sources = dqmpaths("Ecal", ecalMonitorClientSources)
00042 )
00043 
00044 ecalMonitorClient = cms.EDAnalyzer("EcalDQMonitorClient",
00045     moduleName = cms.untracked.string("Ecal Monitor Client"),
00046     # clients to be turned on
00047     clients = cms.untracked.vstring(
00048         "IntegrityClient",
00049         "OccupancyClient",
00050         "PresampleClient",
00051         "TrigPrimClient",
00052         "RawDataClient",
00053         "TimingClient",
00054         "SelectiveReadoutClient",
00055         "SummaryClient"
00056     ),
00057     # task parameters (included from indivitual cfis)
00058     clientParameters = dqmpset(ecalMonitorClientParams),
00059     # ME paths for each task (included from inidividual cfis)
00060     mePaths = dqmpaths("Ecal", ecalMonitorClientPaths),
00061     runAtEndLumi = cms.untracked.bool(False),
00062     verbosity = cms.untracked.int32(0)
00063 )