]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONTrackParam.cxx
Double inclusion of AliResponse removed.
[u/mrichter/AliRoot.git] / MUON / AliMUONTrackParam.cxx
index f474695314127f377d53b1854806352dcb3d6e7c..1558622b9820ead3242733cdd3a358141e6fc337 100644 (file)
 
 /*
 $Log$
+Revision 1.7  2000/10/02 16:58:29  egangler
+Cleaning of the code :
+-> coding conventions
+-> void Streamers
+-> some useless includes removed or replaced by "class" statement
+
+Revision 1.6  2000/09/19 09:49:50  gosset
+AliMUONEventReconstructor package
+* track extrapolation independent from reco_muon.F, use of AliMagF...
+* possibility to use new magnetic field (automatic from generated root file)
+
 Revision 1.5  2000/07/18 16:04:06  gosset
 AliMUONEventReconstructor package:
 * a few minor modifications and more comments
@@ -63,6 +74,7 @@ Addition of files for track reconstruction in C++
 #include "AliMUONTrackParam.h" 
 #include "AliMUONChamber.h" 
 #include "AliRun.h" 
+#include "AliMagF.h" 
 
 ClassImp(AliMUONTrackParam) // Class implementation in ROOT context
 
@@ -245,7 +257,7 @@ void AliMUONTrackParam::ExtrapToStation(Int_t Station, AliMUONTrackParam *TrackP
   // are returned in the array (dimension 2) of track parameters
   // pointed to by "TrackParam" (index 0 and 1 for first and second chambers).
   Double_t extZ[2], z1, z2;
-  Int_t i1, i2;
+  Int_t i1 = -1, i2 = -1; // = -1 to avoid compilation warnings
   AliMUON *pMUON = (AliMUON*) gAlice->GetModule("MUON"); // necessary ????
   // range of Station to be checked ????
   z1 = (&(pMUON->Chamber(2 * Station)))->Z(); // Z of first chamber