]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFv3.cxx
Corrected a bug in kalman tracking (final parameters and covariances
[u/mrichter/AliRoot.git] / TOF / AliTOFv3.cxx
index c7bf9dd9a912e677e4f7ce583403c5315ba8f0e7..4c871b3bf6810bc888525ea122714ca0fbb7181b 100644 (file)
@@ -22,7 +22,7 @@
 //                                                                           //
 //  VERSION WITH 5 MODULES AND TILTED STRIPS                                 //
 //  HITS DEFINED FOR THIS VERSION                                            //
-//  HOLES FOR RICH DETECTOR                                                  //
+//  HOLES FOR HMPID DETECTOR                                                  //
 //                                                                           //
 //   Authors:                                                                //
 //                                                                           //
@@ -170,7 +170,7 @@ void AliTOFv3::BuildGeometry()
        node = new TNode(nodeName3,nodeName3,"S_TOF_B",krTof*TMath::Cos(ang),krTof*TMath::Sin(ang),-zOffsetB,rotMatNum);
        node->SetLineColor(kColorTOF);
        fNodes->Add(node);
-      } // Holes for RICH detector
+      } // Holes for HMPID detector
     
     if (nodeNum !=1 && nodeNum !=17 && nodeNum !=18)
       { 
@@ -178,7 +178,7 @@ void AliTOFv3::BuildGeometry()
        node = new TNode(nodeName4,nodeName4,"S_TOF_A",krTof*TMath::Cos(ang),krTof*TMath::Sin(ang),zOffsetA,rotMatNum);
        node->SetLineColor(kColorTOF);
        fNodes->Add(node);
-      } // Holes for RICH detector, central part
+      } // Holes for HMPID detector, central part
   }
 }
 
@@ -1026,7 +1026,7 @@ void AliTOFv3::Init()
            "  TOF  "
            "**************************************\n",ClassName());
     printf("\n%s   Version 3 of TOF initialing, "
-                "TOF with holes for RICH detector\n",ClassName());
+                "TOF with holes for HMPID detector\n",ClassName());
   }
 
   AliTOF::Init();
@@ -1060,7 +1060,7 @@ void AliTOFv3::StepManager()
   Int_t   *idtmed = fIdtmed->GetArray()-499;
   Float_t incidenceAngle;
   
-  if(gMC->GetMedium()==idtmed[513] && 
+  if(gMC->CurrentMedium()==idtmed[513] && 
      gMC->IsTrackEntering() && gMC->TrackCharge()
      && gMC->CurrentVolID(copy)==fIdSens) 
   {