]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Modifications (M.Nicassio)
authorloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 22 May 2011 18:37:48 +0000 (18:37 +0000)
committerloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 22 May 2011 18:37:48 +0000 (18:37 +0000)
PWG2/EVCHAR/AliTrackletAlg.cxx

index eec5e4d001fa3f99167ec63459ade1a44b2cba40..3b2123e512152d87e9efffcfc1e85a8e5d323e73 100644 (file)
@@ -891,7 +891,7 @@ AliTrackletAlg::LoadClusterFiredChips(TTree* itsClusterTree) {
       AliITSRecPoint* cluster = (AliITSRecPoint*)itsClusters->UncheckedAt(nClusters);
       
       layer = cluster->GetLayer();
-      if (layer>1) continue;            
+      if (layer>1) break; // no point in further check for this module            
 
       // find the chip for the current cluster
       Float_t locz = cluster->GetDetLocalZ();
@@ -900,7 +900,7 @@ AliTrackletAlg::LoadClusterFiredChips(TTree* itsClusterTree) {
         nClustersInChip[iChip]++; 
       
     }// end of cluster loop
-
+    if (layer>1) continue; // make sure we are in the SPD layer
     // get number of fired chips in the current module
     for(Int_t ifChip=0; ifChip<5; ifChip++) {
       if(nClustersInChip[ifChip] >= 1)  fNFiredChips[layer]++;