]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Corrections for gcc 4
authoralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 15 Jun 2005 09:12:49 +0000 (09:12 +0000)
committeralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 15 Jun 2005 09:12:49 +0000 (09:12 +0000)
CRT/AliGenCRT.cxx

index 7bca678199b52a6309f9b3f45af1de56b990515e..c16b6353bfb7ec0feb6a43821d88dfe083e65af1 100644 (file)
@@ -260,14 +260,14 @@ void AliGenCRT::GenerateOneSingleMuon(Bool_t withFlatMomentum)
   // Finaly the origin, with the smearing
   Rndm(random,6);
   origin[0] = AliCRTConstants::Instance()->Depth()*TMath::Tan(zenith*kDegrad)*
-    TMath::Sin(azimuth*kDegrad);
+    TMath::Sin(azimuth*kDegrad)
     + fOsigma[0]* TMath::Cos(2*random[0]*TMath::Pi())*TMath::Sqrt(-2*TMath::Log(random[1]));
 
   origin[1] = AliCRTConstants::Instance()->Depth();
 
   origin[2] = AliCRTConstants::Instance()->Depth()*TMath::Tan(zenith*kDegrad)*
-    TMath::Cos(azimuth*kDegrad);
-    + fOsigma[2]* TMath::Cos(2*random[2]*TMath::Pi())*TMath::Sqrt(-2*TMath::Log(random[3]));;
+    TMath::Cos(azimuth*kDegrad)
+    + fOsigma[2]* TMath::Cos(2*random[2]*TMath::Pi())*TMath::Sqrt(-2*TMath::Log(random[3]));
 
   // Put the track on the stack.
   PushTrack(fTrackIt,-1,fIpart,p,origin,polar,0,kPPrimary,nt);