etaclust[etaindex].fEndPad = pad;
etaclust[etaindex].fIsFound = 1;
#ifdef do_mc
- FillClusterMCLabels(digPt[j],etaclust[etaindex]);
+ FillClusterMCLabels(digPt[j],&etaclust[etaindex]);
#endif
continue;
}
{
etaclust[etaindex].fEndPad = pad;
#ifdef do_mc
- FillClusterMCLabels(digPt[j],etaclust[etaindex]);
+ FillClusterMCLabels(digPt[j],&etaclust[etaindex]);
#endif
}
else
#ifdef do_mc
memset(etaclust[etaindex].fMcLabels,0,MaxTrack);
- FillClusterMCLabels(digPt[j],etaclust[etaindex]);
+ FillClusterMCLabels(digPt[j],&etaclust[etaindex]);
#endif
}
}
}
#ifdef do_mc
-inline void AliL3HoughTransformerRow::FillClusterMCLabels(AliL3DigitData digpt,AliL3EtaRow etaclust)
+inline void AliL3HoughTransformerRow::FillClusterMCLabels(AliL3DigitData digpt,AliL3EtaRow *etaclust)
{
for(Int_t t=0; t<3; t++)
{
if(label < 0) break;
UInt_t c;
for(c=0; c<(MaxTrack-1); c++)
- if(etaclust.fMcLabels[c] == label || etaclust.fMcLabels[c] == 0)
+ if(etaclust->fMcLabels[c] == label || etaclust->fMcLabels[c] == 0)
break;
- etaclust.fMcLabels[c] = label;
+ etaclust->fMcLabels[c] = label;
}
}
#endif
);
inline void FillCluster(UChar_t i,Int_t etaindex,AliL3EtaRow *etaclust,Int_t ilastpatch,Int_t firstbinx,Int_t lastbinx,Int_t nbinx,Int_t firstbiny);
#ifdef do_mc
- inline void FillClusterMCLabels(AliL3DigitData digpt,AliL3EtaRow etaclust);
+ inline void FillClusterMCLabels(AliL3DigitData digpt,AliL3EtaRow *etaclust);
#endif
static Float_t fgBeta1,fgBeta2; // Two curves which define the Hough space