You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -352,13 +352,13 @@ int Cluster::solve(std::vector<o2::hmpid::Cluster>* pCluLst, float* pSigmaCut, b
352
352
// Phase 1. Find number of local maxima. Strategy is to check if the current pad has QDC more then all neigbours. Also find the box contaning the cluster
353
353
mNlocMax = 0;
354
354
for (int iDig1 = 0; iDig1 < rawSize; iDig1++) { // first digits loop
355
-
o2::hmpid::Digit* pDig1 = mDigs.at(iDig1); // take next digit
355
+
auto pDig1 = mDigs.at(iDig1);// take next digit
356
356
int iCnt = 0; // counts how many neighbouring pads has QDC more then current one
357
357
for (int iDig2 = 0; iDig2 < rawSize; iDig2++) { // loop on all digits again
358
358
if (iDig1 == iDig2) {
359
359
continue;
360
360
} // the same digit, no need to compare
361
-
o2::hmpid::Digit* pDig2 = mDigs.at(iDig2); // take second digit to compare with the first one
361
+
auto pDig2 = mDigs.at(iDig2);// take second digit to compare with the first one
362
362
int dist = TMath::Sign(int(pDig1->mX - pDig2->mX), 1) + TMath::Sign(int(pDig1->mY - pDig2->mY), 1); // distance between pads
363
363
if (dist == 1) { // means dig2 is a neighbour of dig1
364
364
if (pDig2->mQ >= pDig1->mQ) {
@@ -462,7 +462,7 @@ void Cluster::findClusterSize(int i, float* pSigmaCut)
0 commit comments