120 h_hit_panels = inputs[0][1][0].Clone()
121 h_NEvt_LB = inputs[0][1][1].Clone()
122 h_run = inputs[0][1][2].Clone()
126 print (
"make_hit_rate::WARNING - Input file contain data in ", len(runs),
" **runs**, which should only include 1-run and full data !!!")
133 if Dic_LBLumi
is not None:
134 print (
"len(Dic_LBLumi) = ", len(Dic_LBLumi))
141 draw_occu.SetPanelDic(DicPanels)
142 draw_occu.SetLumiInfoDic(Dic_LBLumi)
143 draw_occu.doNEvtScale(h_NEvt_LB)
145 h_name =
"NPRDHit_Panels_All"
150 list_hist_subDetector = []
151 for i_var
in [
"p0",
"p1",
"chi2",
"predRate",
"meanRate"]:
155 list_hist1D_secLayer = draw_occu.GetHist1D_ySectorsAndLayers([h_name, i_var])
160 list_hist1D_panels = draw_occu.GetHist1D_yPanels([h_name, i_var])
162 list_hist_all += list_hist1D_secLayer+list_hist1D_panels
167 list_summary_allSectorsAndLayers = draw_occu.GetSummary_allSectorsAndLayers([h_name, i_var])
172 list_hist2d_EtaPhi_allLayer = draw_occu.GetHist2D_EtaPhi_allLayer([h_name, i_var])
174 list_hist_layer += list_summary_allSectorsAndLayers+list_hist2d_EtaPhi_allLayer
179 if i_var
in [
"p0",
"chi2",
"predRate"]:
180 list_summary_eachSectorsAndLayers = draw_occu.GetSummary_eachSectorsAndLayers([h_name, i_var])
182 list_hist_subDetector += list_summary_eachSectorsAndLayers
184 getHistNames(list_hist_all,
"Muon/MuonRawDataMonitoring/RPC/RpcOccupancy/HitRate_vs_InstLumi", dic_hists)
185 getHistNames(list_hist_layer,
"Muon/MuonRawDataMonitoring/RPC/RpcOccupancy/HitRate_vs_InstLumi/Layers", dic_hists)
186 getHistNames(list_hist_subDetector,
"Muon/MuonRawDataMonitoring/RPC/RpcOccupancy/HitRate_vs_InstLumi/SubDetector", dic_hists)