X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=ZDC%2FAliGenZDC.cxx;h=13ff20efdb42ec00e0a19f763f69f42c301ee854;hp=d00cd59219a92282c348849fe14f5bc6e21bf45e;hb=0ff3ad025639fe5ed2d311995d4db252764c3e05;hpb=c4c7fa0618c31ec31208beac503be0ce6ea1eb77 diff --git a/ZDC/AliGenZDC.cxx b/ZDC/AliGenZDC.cxx index d00cd59219a..13ff20efdb4 100644 --- a/ZDC/AliGenZDC.cxx +++ b/ZDC/AliGenZDC.cxx @@ -15,6 +15,12 @@ /* $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 + Revision 1.7 2001/03/15 16:13:28 coppedis Code review @@ -236,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