git://git.uio.no
/
u
/
mrichter
/
AliRoot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor corrections
[u/mrichter/AliRoot.git]
/
ZDC
/
AliGenZDC.cxx
diff --git
a/ZDC/AliGenZDC.cxx
b/ZDC/AliGenZDC.cxx
index d00cd59219a92282c348849fe14f5bc6e21bf45e..13ff20efdb42ec00e0a19f763f69f42c301ee854 100644
(file)
--- a/
ZDC/AliGenZDC.cxx
+++ b/
ZDC/AliGenZDC.cxx
@@
-15,6
+15,12
@@
/*
$Log$
/*
$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
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){
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;
}
}
if((xx>=fProbintp[i-1]) && (xx<fProbintp[i])) break;
}
}