]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
In v1 geometry cluster should be attached to sensor according to sensor VIDs, rather...
authorshahoian <ruben.shahoyan@cern.ch>
Mon, 17 Mar 2014 23:59:22 +0000 (00:59 +0100)
committerhristov <Peter.Hristov@cern.ch>
Thu, 27 Mar 2014 15:25:11 +0000 (16:25 +0100)
ITS/UPGRADE/AliITSURecoLayer.cxx

index 7f40facdcb4b2b1c21e5bf0dc3e1bb6cea0b3c65..2af9ff184b2a1eb119ce7faed1eea84e3a9b6e7f 100644 (file)
@@ -398,7 +398,7 @@ void AliITSURecoLayer::ProcessClusters(Int_t mode)
     if (vID<curSensID) {AliFatal("Clusters are not sorted in increasing sensorID");}
     if (vID>curSensID) {
       if (curSens) curSens->ProcessClusters(mode);    // prepare clusters for reconstruction
-      curSens   = GetSensor(vID - fITSGeom->GetFirstChipIndex(fActiveID));
+      curSens   = GetSensorFromID(vID); //GetSensor(vID - fITSGeom->GetFirstChipIndex(fActiveID));
       curSensID = vID;
       curSens->SetFirstClusterId(icl);
     }