We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a42fe8 commit 8e374d3Copy full SHA for 8e374d3
1 file changed
GPU/GPUTracking/DataTypes/TPCPadGainCalib.cxx
@@ -47,7 +47,7 @@ TPCPadGainCalib::TPCPadGainCalib(const o2::tpc::CalDet<float>& gainMap, const fl
47
void TPCPadGainCalib::setFromMap(const o2::tpc::CalDet<float>& gainMap, const bool inv)
48
{
49
for (int32_t sector = 0; sector < o2::tpc::constants::MAXSECTOR; sector++) {
50
- for (int32_t p = 0; p < TPC_PADS_IN_SECTOR; p++) {
+ for (int32_t p = 0; p < TPC_REAL_PADS_IN_SECTOR; p++) {
51
const float gainVal = gainMap.getValue(sector, p);
52
inv ? mGainCorrection[sector].set(p, (gainVal > 1.e-5f) ? 1.f / gainVal : 1.f) : mGainCorrection[sector].set(p, gainVal);
53
}
0 commit comments