CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalMonitorClient_cfi.py
Go to the documentation of this file.
2 
3 from DQM.EcalCommon.dqmpset import *
5 
6 from DQM.EcalBarrelMonitorTasks.EcalMonitorTask_cfi import ecalMonitorTaskPaths
7 
8 import DQM.EcalBarrelMonitorClient.IntegrityClient_cfi as ecalIntegrityClient
9 import DQM.EcalBarrelMonitorClient.OccupancyClient_cfi as ecalOccupancyClient
10 import DQM.EcalBarrelMonitorClient.PresampleClient_cfi as ecalPresampleClient
11 import DQM.EcalBarrelMonitorClient.TrigPrimClient_cfi as ecalTrigPrimClient
12 import DQM.EcalBarrelMonitorClient.RawDataClient_cfi as ecalRawDataClient
13 import DQM.EcalBarrelMonitorClient.TimingClient_cfi as ecalTimingClient
14 import DQM.EcalBarrelMonitorClient.SelectiveReadoutClient_cfi as ecalSelectiveReadoutClient
15 import DQM.EcalBarrelMonitorClient.SummaryClient_cfi as ecalSummaryClient
16 
17 ecalMonitorClientPaths = dict(
18  IntegrityClient = ecalIntegrityClient.integrityClientPaths,
19  OccupancyClient = ecalOccupancyClient.occupancyClientPaths,
20  PresampleClient = ecalPresampleClient.presampleClientPaths,
21  TrigPrimClient = ecalTrigPrimClient.trigPrimClientPaths,
22  RawDataClient = ecalRawDataClient.rawDataClientPaths,
23  TimingClient = ecalTimingClient.timingClientPaths,
24  SelectiveReadoutClient = ecalSelectiveReadoutClient.selectiveReadoutClientPaths,
25  SummaryClient = ecalSummaryClient.summaryClientPaths
26 )
27 
28 ecalMonitorClientSources = dict(ecalMonitorClientPaths)
29 ecalMonitorClientSources.update(ecalMonitorTaskPaths)
30 
31 ecalMonitorClientParams = dict(
32  IntegrityClient = ecalIntegrityClient.integrityClient,
33  OccupancyClient = ecalOccupancyClient.occupancyClient,
34  PresampleClient = ecalPresampleClient.presampleClient,
35  TrigPrimClient = ecalTrigPrimClient.trigPrimClient,
36  RawDataClient = ecalRawDataClient.rawDataClient,
37  TimingClient = ecalTimingClient.timingClient,
38  SelectiveReadoutClient = ecalSelectiveReadoutClient.selectiveReadoutClient,
39  SummaryClient = ecalSummaryClient.summaryClient,
40  Common = ecalCommonParams,
41  sources = dqmpaths("Ecal", ecalMonitorClientSources)
42 )
43 
44 ecalMonitorClient = cms.EDAnalyzer("EcalDQMonitorClient",
45  moduleName = cms.untracked.string("Ecal Monitor Client"),
46  # clients to be turned on
47  clients = cms.untracked.vstring(
48  "IntegrityClient",
49  "OccupancyClient",
50  "PresampleClient",
51  "TrigPrimClient",
52  "RawDataClient",
53  "TimingClient",
54  "SelectiveReadoutClient",
55  "SummaryClient"
56  ),
57  # task parameters (included from indivitual cfis)
58  clientParameters = dqmpset(ecalMonitorClientParams),
59  # ME paths for each task (included from inidividual cfis)
60  mePaths = dqmpaths("Ecal", ecalMonitorClientPaths),
61  runAtEndLumi = cms.untracked.bool(False),
62  verbosity = cms.untracked.int32(0)
63 )
def dqmpaths
Definition: dqmpset.py:30