Skip to content
Snippets Groups Projects
Commit 46b700a7 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'pix-errmon-update1' into 'master'

Updates of pixel error monitoring code

See merge request atlas/athena!37992
parents 36acb9a9 34b6b0aa
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ def PixelAthClusterMonAlgCfg(helper, alg, **kwargs):
if doLumiBlock:
title = 'Modules Status (0=Active+Good 1=Active+Bad 2=Inactive)'
define2DProfHist(helper, alg, histoGroupName, title, pathLowStat, type='TProfile2D', lifecycle='lowStat', histname='Map_Of_Modules_Status_LB')
define2DProfHist(helper, alg, histoGroupName, title, pathLowStat, type='TProfile2D', lifecycle='lumiblock', histname='Map_Of_Modules_Status_LB')
histoGroupName = 'BadModules_per_lumi'
title = 'Number of bad modules (bad+active) per event per LB'
......
......@@ -128,7 +128,7 @@ void PixelAthMonitoringBase::fillFromArrays( const std::string& namePP0, Accumul
// in the same plot
// the shift (b-1)*8 applies per disk counter b
// (there are in total 8 sectors/disk)
auto pospp0x = Monitored::Scalar<int>( pospp0varx, (a-1)/6 + (b-1)*8 + 1);
auto pospp0x = Monitored::Scalar<int>( pospp0varx, a/6 + b*8);
auto posx = Monitored::Scalar<int>( posvarx, b);
auto valp = Monitored::Scalar<float>( valvarp, pixarrays.DA[a][b]);
auto valm = Monitored::Scalar<float>( valvarm, pixarrays.DA[a][b]*weightPix);
......@@ -195,7 +195,7 @@ void PixelAthMonitoringBase::fillFromArrays( const std::string& namePP0, Accumul
auto valp = Monitored::Scalar<float>( valvarp, pixarrays.IBL[a][b]);
auto valm = Monitored::Scalar<float>( valvarm, pixarrays.IBL[a][b]*weightIBL);
if (pixarrays.IBL[a][b]>-1) {
if (b>0.5*nbinb) {
if ( b > (0.5*nbinb-1) ) {
fill("IBLA", pospp0x, valp);
} else {
fill("IBLC", pospp0x, valp);
......
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