X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2FAliMUONTrackParam.cxx;h=1558622b9820ead3242733cdd3a358141e6fc337;hb=ef495f13aaf4202ac0d39eb514be3037c49c6484;hp=f474695314127f377d53b1854806352dcb3d6e7c;hpb=a6f03ddbb154a8a496be7cf393f41cbcae1a34e6;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/AliMUONTrackParam.cxx b/MUON/AliMUONTrackParam.cxx index f4746953141..1558622b982 100644 --- a/MUON/AliMUONTrackParam.cxx +++ b/MUON/AliMUONTrackParam.cxx @@ -15,6 +15,17 @@ /* $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