@@ -106,22 +106,22 @@ void PedestalTask::monitorData(o2::framework::ProcessingContext& ctx)
106106 mNumberObjectsFetched ++;
107107 for (int ichan = 0 ; ichan < mPedestalChannelFECHG ->GetXaxis ()->GetNbins (); ichan++) {
108108 auto pedestalLow = pedestals->getPedestalValue (ichan, false , false ),
109- pedestalHigh = pedestals->getPedestalValue (ichan, false , false );
109+ pedestalHigh = pedestals->getPedestalValue (ichan, true , false );
110110 mPedestalChannelFECHG ->SetBinContent (ichan + 1 , pedestalHigh);
111111 mPedestalChannelFECLG ->SetBinContent (ichan + 1 , pedestalLow);
112112 auto [row, col] = mGeometry ->GlobalRowColFromIndex (ichan);
113113 mPedestalPositionFECHG ->SetBinContent (col + 1 , row + 1 , pedestalHigh);
114- mPedestalPositionFECLG ->SetBinContent (col + 1 , row + 1 , pedestalHigh );
114+ mPedestalPositionFECLG ->SetBinContent (col + 1 , row + 1 , pedestalLow );
115115 }
116116 for (auto ichan = 0 ; ichan < mPedestalChannelLEDMONHG ->GetXaxis ()->GetNbins (); ichan++) {
117117 auto pedestalLow = pedestals->getPedestalValue (ichan, false , false ),
118- pedestalHigh = pedestals->getPedestalValue (ichan, false , false );
118+ pedestalHigh = pedestals->getPedestalValue (ichan, true , false );
119119 mPedestalChannelLEDMONHG ->SetBinContent (ichan + 1 , pedestalHigh);
120120 mPedestalChannelLEDMONLG ->SetBinContent (ichan + 1 , pedestalLow);
121121 int col = ichan % 48 ,
122122 row = ichan / 48 ;
123123 mPedestalPositionLEDMONHG ->SetBinContent (col + 1 , row + 1 , pedestalHigh);
124- mPedestalPositionLEDMONLG ->SetBinContent (col + 1 , row + 1 , pedestalHigh );
124+ mPedestalPositionLEDMONLG ->SetBinContent (col + 1 , row + 1 , pedestalLow );
125125 }
126126 }
127127 }
0 commit comments