]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/ITS/AliHLTITStracker.cxx
Adding helper macro to initialise the environment for dHLT specific work.
[u/mrichter/AliRoot.git] / HLT / ITS / AliHLTITStracker.cxx
index 50a05b217af8900406069e063ef923fd675e566d..711ef0fc1add1954813fec85b06d0ad06d640257 100644 (file)
@@ -1,3 +1,5 @@
+// $Id$
+
 /**************************************************************************
  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  *                                                                        *
@@ -21,6 +23,7 @@
 //-------------------------------------------------------------------------
 
 #include "AliESDEvent.h"
+#include "AliESDtrack.h"
 #include "AliHLTITStrack.h"
 #include "AliHLTITStracker.h"
 
@@ -111,7 +114,7 @@ Int_t AliHLTITStracker::Clusters2Tracks(AliESDEvent *event) {
        ResetTrackToFollow(*t);
        ResetBestTrack();
 
-       for (FollowProlongation(); fI<kMaxLayer; fI++) {
+       for (FollowProlongation(); fI<AliITSgeomTGeo::GetNLayers(); fI++) {
         while (TakeNextProlongation()) FollowProlongation();
        }