]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ZDC/AliGenZDC.cxx
Remove compilation of grndmq
[u/mrichter/AliRoot.git] / ZDC / AliGenZDC.cxx
index 4c5ec37288f640ad3971550846b070f81ec736fc..13ff20efdb42ec00e0a19f763f69f42c301ee854 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.10  2001/09/26 16:00:47  coppedis
+Minor change
+
 Revision 1.8  2001/04/20 10:10:25  coppedis
 Minor changes
 
@@ -239,7 +242,7 @@ void AliGenZDC::ExtractFermi(Int_t id, Double_t *fPp, Double_t *fProbintp,
   Float_t xx = gRandom->Rndm();
   assert ( id==kProton || id==kNeutron );
   if(id==kProton){
-    for(i=0; i<=200; i++){
+    for(i=1; i<=200; i++){
        if((xx>=fProbintp[i-1]) && (xx<fProbintp[i])) break;
        }
   }
@@ -292,7 +295,7 @@ void AliGenZDC::BeamDivCross(Int_t icross, Float_t fBeamDiv, Float_t fBeamCrossA
     }
     else if(fBeamCrossPlane==2.){
       tetdiv = fBeamCrossAngle;
-      fidiv = 3.*k2PI/4.;
+      fidiv = k2PI/4.;
     }
   }