Skip to content
Snippets Groups Projects
Commit 616914f3 authored by Margherita Spalla's avatar Margherita Spalla
Browse files

merge opt modified

parent 85c0f535
No related branches found
No related tags found
No related merge requests found
......@@ -132,15 +132,17 @@ def LArFEBMonConfigCore(helper,algoinstance,inputFlags, cellDebug=False, dspDebu
ybins=lArDQGlobals.N_Partitions, ymin=-0.5, ymax=lArDQGlobals.N_Partitions-0.5,
xlabels=lArDQGlobals.FEBErrors, ylabels=lArDQGlobals.Partitions)
Group.defineHistogram('dspThrADC;dspThresholdsADC',
title='DSP thresholds to readout samples:Number of cells:Cell threshold in ADC counts',
type='TH1I',
path=summary_hist_path,
xbins=lArDQGlobals.DSPThr_Bins+1, xmin=-0.5, xmax=lArDQGlobals.DSPThr_Bins+0.5)
title='DSP thresholds to readout samples:Number of cells:Cell threshold in ADC counts',
type='TH1I',
path=summary_hist_path,
xbins=lArDQGlobals.DSPThr_Bins+1, xmin=-0.5, xmax=lArDQGlobals.DSPThr_Bins+0.5,
merge='identical')
Group.defineHistogram('dspThrQT;dspThresholds_qfactortime',
title='DSP thresholds to readout (qfactor+time):Number of cells:Cell threshold in ADC counts',
type='TH1I',
path=summary_hist_path,
xbins=lArDQGlobals.DSPThr_Bins+1, xmin=-0.5, xmax=lArDQGlobals.DSPThr_Bins+0.5)
title='DSP thresholds to readout (qfactor+time):Number of cells:Cell threshold in ADC counts',
type='TH1I',
path=summary_hist_path,
xbins=lArDQGlobals.DSPThr_Bins+1, xmin=-0.5, xmax=lArDQGlobals.DSPThr_Bins+0.5,
merge='identical')
Group.defineHistogram('EvtType;Eventtype',
title='Event type (1st readout FEB)',
type='TH1I',
......@@ -378,7 +380,8 @@ def LArFEBMonConfigCore(helper,algoinstance,inputFlags, cellDebug=False, dspDebu
type='TH2I',
path=hist_path,
xbins=slot_n,xmin=slot_low,xmax=slot_up,
ybins=ft_n, ymin=ft_low, ymax=ft_up)
ybins=ft_n, ymin=ft_low, ymax=ft_up,
merge='identical')
darray.defineHistogram('LB,LArEvSizePart;eventSizeVsLB',
title='LAr event size per LB (w/o ROS headers):Luminosity Block',
......
......@@ -62,135 +62,135 @@ def LArHVCorrMonConfigCore(helper, algoinstance,inputFlags):
#EMB
hvCorrGroup.defineHistogram('etaEMBA,phiEMBA;LArHVCorrectionEMBA',
title='HV deviation (nominal - corrected) - EMBA;#eta;#phi',
type='TH2F',
path=larHVCorr_hist_path,
weight='hvcorrEMBA',
xbins=int(lArDQGlobals.HVeta_EMB["EMBAPS"][2]/delta_eta),xmin=lArDQGlobals.HVeta_EMB["EMBAPS"][1],xmax=lArDQGlobals.HVeta_EMB["EMBAPS"][2],
ybins=lArDQGlobals.HVphi_EMB["EMBAPS"][0],ymin=lArDQGlobals.HVphi_EMB["EMBAPS"][1],ymax=lArDQGlobals.HVphi_EMB["EMBAPS"][2]
)
title='HV deviation (nominal - corrected) - EMBA;#eta;#phi',
type='TH2F',
path=larHVCorr_hist_path,
weight='hvcorrEMBA',
xbins=int(lArDQGlobals.HVeta_EMB["EMBAPS"][2]/delta_eta),xmin=lArDQGlobals.HVeta_EMB["EMBAPS"][1],xmax=lArDQGlobals.HVeta_EMB["EMBAPS"][2],
ybins=lArDQGlobals.HVphi_EMB["EMBAPS"][0],ymin=lArDQGlobals.HVphi_EMB["EMBAPS"][1],ymax=lArDQGlobals.HVphi_EMB["EMBAPS"][2],
merge='weightedAverage')
hvCorrGroup.defineHistogram('etaEMBC,phiEMBC;LArHVCorrectionEMBC',
title='HV deviation (nominal - corrected) - EMBA;#eta;#phi',
type='TH2F',
path=larHVCorr_hist_path,
weight='hvcorrEMBC',
xbins=int(lArDQGlobals.HVeta_EMB["EMBAPS"][2]/delta_eta),xmax=lArDQGlobals.HVeta_EMB["EMBAPS"][1]-0.01,xmin=-lArDQGlobals.HVeta_EMB["EMBAPS"][2]-0.01,
ybins=lArDQGlobals.HVphi_EMB["EMBAPS"][0],ymin=lArDQGlobals.HVphi_EMB["EMBAPS"][1],ymax=lArDQGlobals.HVphi_EMB["EMBAPS"][2]
)
title='HV deviation (nominal - corrected) - EMBA;#eta;#phi',
type='TH2F',
path=larHVCorr_hist_path,
weight='hvcorrEMBC',
xbins=int(lArDQGlobals.HVeta_EMB["EMBAPS"][2]/delta_eta),xmax=lArDQGlobals.HVeta_EMB["EMBAPS"][1]-0.01,xmin=-lArDQGlobals.HVeta_EMB["EMBAPS"][2]-0.01,
ybins=lArDQGlobals.HVphi_EMB["EMBAPS"][0],ymin=lArDQGlobals.HVphi_EMB["EMBAPS"][1],ymax=lArDQGlobals.HVphi_EMB["EMBAPS"][2],
merge='weightedAverage')
hvCorrGroup.defineHistogram('LB,nonnominalEMBA;NDeviatingChannelsEMBA',
title='Number of channels per LB with HV corr>'+str(100*threshold)+' - EMBA;LumiBlock',
type='TProfile',
path=larHVCorr_hist_path,
xbins=num_LB,xmin=0.5,xmax=num_LB+0.5
)
title='Number of channels per LB with HV corr>'+str(100*threshold)+' - EMBA;LumiBlock',
type='TProfile',
path=larHVCorr_hist_path,
xbins=num_LB,xmin=0.5,xmax=num_LB+0.5,
merge='weightedAverage')
hvCorrGroup.defineHistogram('LB,nonnominalEMBC;NDeviatingChannelsEMBC',
title='Number of channels per LB with HV corr>'+str(100*threshold)+' - EMBC;LumiBlock',
type='TProfile',
path=larHVCorr_hist_path,
xbins=num_LB,xmin=0.5,xmax=num_LB+0.5
)
title='Number of channels per LB with HV corr>'+str(100*threshold)+' - EMBC;LumiBlock',
type='TProfile',
path=larHVCorr_hist_path,
xbins=num_LB,xmin=0.5,xmax=num_LB+0.5,
merge='weightedAverage')
#EMEC
hvCorrGroup.defineHistogram('etaEMECA,phiEMECA;LArHVCorrectionEMECA',
title='HV deviation (nominal - corrected) - EMECA;#eta;#phi',
type='TH2F',
path=larHVCorr_hist_path,
weight='hvcorrEMECA',
xbins=lArDQGlobals.HVeta_EMEC["EMECA"],
ybins=lArDQGlobals.HVphi_EMEC["EMECA"]
)
title='HV deviation (nominal - corrected) - EMECA;#eta;#phi',
type='TH2F',
path=larHVCorr_hist_path,
weight='hvcorrEMECA',
xbins=lArDQGlobals.HVeta_EMEC["EMECA"],
ybins=lArDQGlobals.HVphi_EMEC["EMECA"],
merge='weightedAverage')
hvCorrGroup.defineHistogram('etaEMECC,phiEMECC;LArHVCorrectionEMECC',
title='HV deviation (nominal - corrected) - EMECA;#eta;#phi',
type='TH2F',
path=larHVCorr_hist_path,
weight='hvcorrEMECC',
xbins=lArDQGlobals.HVeta_EMEC["EMECC"],
ybins=lArDQGlobals.HVphi_EMEC["EMECC"]
)
title='HV deviation (nominal - corrected) - EMECA;#eta;#phi',
type='TH2F',
path=larHVCorr_hist_path,
weight='hvcorrEMECC',
xbins=lArDQGlobals.HVeta_EMEC["EMECC"],
ybins=lArDQGlobals.HVphi_EMEC["EMECC"],
merge='weightedAverage')
hvCorrGroup.defineHistogram('LB,nonnominalEMECA;NDeviatingChannelsEMECA',
title='Number of channels per LB with HV corr>'+str(100*threshold)+' - EMECA;LumiBlock',
type='TProfile',
path=larHVCorr_hist_path,
xbins=num_LB,xmin=0.5,xmax=num_LB+0.5
)
title='Number of channels per LB with HV corr>'+str(100*threshold)+' - EMECA;LumiBlock',
type='TProfile',
path=larHVCorr_hist_path,
xbins=num_LB,xmin=0.5,xmax=num_LB+0.5,
merge='weightedAverage')
hvCorrGroup.defineHistogram('LB,nonnominalEMECC;NDeviatingChannelsEMECC',
title='Number of channels per LB with HV corr>'+str(100*threshold)+' - EMECC;LumiBlock',
type='TProfile',
path=larHVCorr_hist_path,
xbins=num_LB,xmin=0.5,xmax=num_LB+0.5
)
title='Number of channels per LB with HV corr>'+str(100*threshold)+' - EMECC;LumiBlock',
type='TProfile',
path=larHVCorr_hist_path,
xbins=num_LB,xmin=0.5,xmax=num_LB+0.5,
merge='weightedAverage')
#HEC
hvCorrGroup.defineHistogram('etaHECA,phiHECA;LArHVCorrectionHECA',
title='HV deviation (nominal - corrected) - HECA;#eta;#phi',
type='TH2F',
path=larHVCorr_hist_path,
weight='hvcorrHECA',
xbins=lArDQGlobals.HVeta_HECFcal["HECA"][0],xmin=lArDQGlobals.HVeta_HECFcal["HECA"][1], xmax=lArDQGlobals.HVeta_HECFcal["HECA"][2],
ybins=lArDQGlobals.HVphi_HECFcal["HECA"][0], ymin=lArDQGlobals.HVphi_HECFcal["HECA"][1], ymax=lArDQGlobals.HVphi_HECFcal["HECA"][2]
)
title='HV deviation (nominal - corrected) - HECA;#eta;#phi',
type='TH2F',
path=larHVCorr_hist_path,
weight='hvcorrHECA',
xbins=lArDQGlobals.HVeta_HECFcal["HECA"][0],xmin=lArDQGlobals.HVeta_HECFcal["HECA"][1], xmax=lArDQGlobals.HVeta_HECFcal["HECA"][2],
ybins=lArDQGlobals.HVphi_HECFcal["HECA"][0], ymin=lArDQGlobals.HVphi_HECFcal["HECA"][1], ymax=lArDQGlobals.HVphi_HECFcal["HECA"][2],
merge='weightedAverage')
hvCorrGroup.defineHistogram('etaHECC,phiHECC;LArHVCorrectionHECC',
title='HV deviation (nominal - corrected) - HECA;#eta;#phi',
type='TH2F',
path=larHVCorr_hist_path,
weight='hvcorrHECC',
xbins=lArDQGlobals.HVeta_HECFcal["HECC"][0],xmin=lArDQGlobals.HVeta_HECFcal["HECC"][1], xmax=lArDQGlobals.HVeta_HECFcal["HECC"][2],
ybins=lArDQGlobals.HVphi_HECFcal["HECC"][0], ymin=lArDQGlobals.HVphi_HECFcal["HECC"][1], ymax=lArDQGlobals.HVphi_HECFcal["HECC"][2]
)
title='HV deviation (nominal - corrected) - HECA;#eta;#phi',
type='TH2F',
path=larHVCorr_hist_path,
weight='hvcorrHECC',
xbins=lArDQGlobals.HVeta_HECFcal["HECC"][0],xmin=lArDQGlobals.HVeta_HECFcal["HECC"][1], xmax=lArDQGlobals.HVeta_HECFcal["HECC"][2],
ybins=lArDQGlobals.HVphi_HECFcal["HECC"][0], ymin=lArDQGlobals.HVphi_HECFcal["HECC"][1], ymax=lArDQGlobals.HVphi_HECFcal["HECC"][2],
merge='weightedAverage')
hvCorrGroup.defineHistogram('LB,nonnominalHECA;NDeviatingChannelsHECA',
title='Number of channels per LB with HV corr>'+str(100*threshold)+' - HECA;LumiBlock',
type='TProfile',
path=larHVCorr_hist_path,
xbins=num_LB,xmin=0.5,xmax=num_LB+0.5
)
title='Number of channels per LB with HV corr>'+str(100*threshold)+' - HECA;LumiBlock',
type='TProfile',
path=larHVCorr_hist_path,
xbins=num_LB,xmin=0.5,xmax=num_LB+0.5,
merge='weightedAverage')
hvCorrGroup.defineHistogram('LB,nonnominalHECC;NDeviatingChannelsHECC',
title='Number of channels per LB with HV corr>'+str(100*threshold)+' - HECC;LumiBlock',
type='TProfile',
path=larHVCorr_hist_path,
xbins=num_LB,xmin=0.5,xmax=num_LB+0.5
)
title='Number of channels per LB with HV corr>'+str(100*threshold)+' - HECC;LumiBlock',
type='TProfile',
path=larHVCorr_hist_path,
xbins=num_LB,xmin=0.5,xmax=num_LB+0.5,
merge='weightedAverage')
#FCAL
hvCorrGroup.defineHistogram('etaFCALA,phiFCALA;LArHVCorrectionFCALA',
title='HV deviation (nominal - corrected) - FCALA;#eta;#phi',
type='TH2F',
path=larHVCorr_hist_path,
weight='hvcorrFCALA',
xbins=lArDQGlobals.HVeta_HECFcal["FCalA"][0],xmin=lArDQGlobals.HVeta_HECFcal["FCalA"][1], xmax=lArDQGlobals.HVeta_HECFcal["FCalA"][2],
ybins=lArDQGlobals.HVphi_HECFcal["FCalA"][0], ymin=lArDQGlobals.HVphi_HECFcal["FCalA"][1], ymax=lArDQGlobals.HVphi_HECFcal["FCalA"][2]
)
title='HV deviation (nominal - corrected) - FCALA;#eta;#phi',
type='TH2F',
path=larHVCorr_hist_path,
weight='hvcorrFCALA',
xbins=lArDQGlobals.HVeta_HECFcal["FCalA"][0],xmin=lArDQGlobals.HVeta_HECFcal["FCalA"][1], xmax=lArDQGlobals.HVeta_HECFcal["FCalA"][2],
ybins=lArDQGlobals.HVphi_HECFcal["FCalA"][0], ymin=lArDQGlobals.HVphi_HECFcal["FCalA"][1], ymax=lArDQGlobals.HVphi_HECFcal["FCalA"][2],
merge='weightedAverage')
hvCorrGroup.defineHistogram('etaFCALC,phiFCALC;LArHVCorrectionFCALC',
title='HV deviation (nominal - corrected) - FCALA;#eta;#phi',
type='TH2F',
path=larHVCorr_hist_path,
weight='hvcorrFCALC',
xbins=lArDQGlobals.HVeta_HECFcal["FCalC"][0],xmin=lArDQGlobals.HVeta_HECFcal["FCalC"][1], xmax=lArDQGlobals.HVeta_HECFcal["FCalC"][2],
ybins=lArDQGlobals.HVphi_HECFcal["FCalC"][0], ymin=lArDQGlobals.HVphi_HECFcal["FCalC"][1], ymax=lArDQGlobals.HVphi_HECFcal["FCalC"][2]
)
title='HV deviation (nominal - corrected) - FCALA;#eta;#phi',
type='TH2F',
path=larHVCorr_hist_path,
weight='hvcorrFCALC',
xbins=lArDQGlobals.HVeta_HECFcal["FCalC"][0],xmin=lArDQGlobals.HVeta_HECFcal["FCalC"][1], xmax=lArDQGlobals.HVeta_HECFcal["FCalC"][2],
ybins=lArDQGlobals.HVphi_HECFcal["FCalC"][0], ymin=lArDQGlobals.HVphi_HECFcal["FCalC"][1], ymax=lArDQGlobals.HVphi_HECFcal["FCalC"][2],
merge='weightedAverage')
hvCorrGroup.defineHistogram('LB,nonnominalFCALA;NDeviatingChannelsFCALA',
title='Number of channels per LB with HV corr>'+str(100*threshold)+' - FCALA;LumiBlock',
type='TProfile',
path=larHVCorr_hist_path,
xbins=num_LB,xmin=0.5,xmax=num_LB+0.5
)
title='Number of channels per LB with HV corr>'+str(100*threshold)+' - FCALA;LumiBlock',
type='TProfile',
path=larHVCorr_hist_path,
xbins=num_LB,xmin=0.5,xmax=num_LB+0.5,
merge='weightedAverage')
hvCorrGroup.defineHistogram('LB,nonnominalFCALC;NDeviatingChannelsFCALC',
title='Number of channels per LB with HV corr>'+str(100*threshold)+' - FCALC;LumiBlock',
type='TProfile',
path=larHVCorr_hist_path,
xbins=num_LB,xmin=0.5,xmax=num_LB+0.5
)
title='Number of channels per LB with HV corr>'+str(100*threshold)+' - FCALC;LumiBlock',
type='TProfile',
path=larHVCorr_hist_path,
xbins=num_LB,xmin=0.5,xmax=num_LB+0.5,
merge='weightedAverage')
if __name__=='__main__':
......
......@@ -163,12 +163,14 @@ def LArNoisyROMonConfigCore(helper,algoinstance,inputFlags,
darray.defineHistogram('slotBad,FTBad;KnownBadFEB', title='Known Bad FEBs {0} ; Slot ; FT',
type='TH2I', path='',
xbins=slot_n,xmin=slot_low,xmax=slot_up,
ybins=ft_n, ymin=ft_low, ymax=ft_up)
ybins=ft_n, ymin=ft_low, ymax=ft_up,
merge='identical')
darray.defineHistogram('slotMNB,FTMNB;MNBKnownFEB', title='Known MNB FEBs {0} ; Slot ; FT',
type='TH2I', path='',
xbins=slot_n,xmin=slot_low,xmax=slot_up,
ybins=ft_n, ymin=ft_low, ymax=ft_up)
ybins=ft_n, ymin=ft_low, ymax=ft_up,
merge='identical')
# 2D plots of noisy FEBs with various cuts
darray.defineHistogram('slotNoisy,FTNoisy;NoisyFEBPerEvt', title='Yield of events with {0} FEB noisy -'+NoisyFEBDefStr+' (only vetoed events) ; Slot ; FT',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment