]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/UPGRADE/AliITSUpgradeClusterList.cxx
restore threshold getters after parameter dynamics update (fw v. >= A012)
[u/mrichter/AliRoot.git] / ITS / UPGRADE / AliITSUpgradeClusterList.cxx
index c681396fa9a3ff99cbb329257be673ac147b593f..43a13bfab6e50487436c0bd5cf0be1516013f4bc 100644 (file)
@@ -105,11 +105,11 @@ AliITSUpgradeClusterListNode* AliITSUpgradeClusterList::CloneNode(AliITSUpgradeC
   else return new AliITSUpgradeClusterListNode(node->Col(),node->Row(),node->Size(),node->WidthZ(),node->WidthPhi(),node->Type(),node->Charge(),CloneNode(node->Next()));
 }
 //______________________________________________________________________________
-Bool_t AliITSUpgradeClusterList::Insert(Float_t col, Float_t row, UShort_t size, UShort_t widthZ, UShort_t widthPhi, UShort_t type, UShort_t charge, Int_t digLabels[12]) {
+Bool_t AliITSUpgradeClusterList::Insert(Float_t col, Float_t row, UShort_t size, UShort_t widthZ, UShort_t widthPhi, UShort_t type, UShort_t charge, Int_t digLabels[12*kMaxLab]) {
   // insert a new node into the list (returns true if the node was not present before)
   fNrEntries++;
   AliITSUpgradeClusterListNode* node = new AliITSUpgradeClusterListNode(col,row,size,widthZ,widthPhi,type,charge,NULL);
-  for(Int_t i=0; i< 12; i++) node->AddDigitLabel(digLabels[i]); // adding digit label to the cluster
+  for(Int_t i=0; i< 12*kMaxLab; i++) node->AddDigitLabel(digLabels[i]); // adding digit label to the cluster
   if (fFirst==NULL) {
     fFirst = node;
   }