X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=ZDC%2FAliGenZDC.cxx;h=13ff20efdb42ec00e0a19f763f69f42c301ee854;hp=4c5ec37288f640ad3971550846b070f81ec736fc;hb=0ff3ad025639fe5ed2d311995d4db252764c3e05;hpb=f3f777b87466ceb5f65c7a73b42d752c5cd1f8dd;ds=sidebyside diff --git a/ZDC/AliGenZDC.cxx b/ZDC/AliGenZDC.cxx index 4c5ec37288f..13ff20efdb4 100644 --- a/ZDC/AliGenZDC.cxx +++ b/ZDC/AliGenZDC.cxx @@ -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