CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
shift_rpc_layout.py
Go to the documentation of this file.
1 def shiftrpclayout(i, p, *rows): i["00 Shift/RPC/" + p] = DQMItem(layout=rows)
2 
3 ########### define varialbles for frequently used strings #############
4 summary = "summary map for rpc, this is NOT an efficiency measurement"
5 rpclink = " >>> <a href=https://twiki.cern.ch/twiki/bin/view/CMS/DQMShiftRPC>Description</a>"
6 fed = "FED Fatal Errors";
7 rpcevents = "Events processed by the RPC DQM"
8 quality = "Overview of system quality. Expressed in percentage of chambers."
9 occupancy = "Occupancy per sector"
10 
11 
12 ################### Links to Histograms #################################
13 shiftrpclayout(dqmitems, "00-Summary_Map",
14  [{ 'path': "RPC/EventInfo/reportSummaryMap", 'description': summary + rpclink }])
15 
16 #FED Fatal
17 shiftrpclayout(dqmitems, "01-Fatal_FED_Errors",
18  [{ 'path': "RPC/FEDIntegrity_SM/FEDFatal", 'description': fed + rpclink }])
19 
20 #RPC Events
21 shiftrpclayout(dqmitems, "02-RPC_Events",
22  [{ 'path': "RPC/AllHits/RPCEvents", 'description': rpcevents + rpclink }])
23 
24 
25 shiftrpclayout(dqmitems, "03-Quality_State_Overview",
26  [{ 'path': "RPC/AllHits/SummaryHistograms/RPC_System_Quality_Overview", 'description': quality + rpclink }])
27 
28 
29 shiftrpclayout(dqmitems, "04-RPC_Occupancy",
30  [{ 'path': "RPC/AllHits/SummaryHistograms/Occupancy_for_Barrel", 'description': occupancy + rpclink }],
31  [{ 'path': "RPC/AllHits/SummaryHistograms/Occupancy_for_Endcap", 'description': occupancy + rpclink }])