]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Clusterize all chambers when the combined tracking is disabled.
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 28 Nov 2007 11:29:08 +0000 (11:29 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 28 Nov 2007 11:29:08 +0000 (11:29 +0000)
(Philippe P.)

MUON/AliMUONTrackReconstructor.cxx

index 586ec97ae0acbb137c3f3b931a47c8830cafd21c..d238c03abc45749d3e1f07db932ee4f7d04f9d07 100644 (file)
@@ -80,12 +80,19 @@ void AliMUONTrackReconstructor::MakeTrackCandidates(AliMUONVClusterStore& cluste
 
   AliDebug(1,"Enter MakeTrackCandidates");
 
-  // Ask the clustering to reconstruct all clusters in station 4 and 5
+  // Unless we're doing combined tracking, we'll clusterize all stations at once
+  Int_t firstChamber(0);
+  Int_t lastChamber(9);
+  
   if (AliMUONReconstructor::GetRecoParam()->CombineClusterTrackReco()) {
-    fClusterServer.Clusterize(6, clusterStore, AliMpArea());
-    fClusterServer.Clusterize(7, clusterStore, AliMpArea());
-    fClusterServer.Clusterize(8, clusterStore, AliMpArea());
-    fClusterServer.Clusterize(9, clusterStore, AliMpArea());
+    // ... Here's the exception : ask the clustering to reconstruct
+    // clusters *only* in station 4 and 5 for combined tracking
+    firstChamber = 6;
+  }
+
+  for (Int_t i = firstChamber; i <= lastChamber; ++i ) 
+  {
+    fClusterServer.Clusterize(i, clusterStore, AliMpArea());
   }
   
   // Loop over stations(1..) 5 and 4 and make track candidates