ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
ECCE @ EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
analysis
coresoftware
blob
master
calibrations
generators
decayFinder
FermiMotionAfterburner
flowAfterburner
hijing
dummy
examples
src
ar3jet.f
aran9.f
arorie.f
atrobo.f
attflv.f
attrad.f
bk.f
crsjet.f
fgp1.f
fgp2.f
fgp3.f
fhin.f
fjet.f
fjetrig.f
flap.f
flap1.f
flap2.f
fnjet.f
fnkick.f
fnkick2.f
fnstru.f
fnstrum.f
fnstrus.f
ftot.f
ftotjet.f
ftotrig.f
g.f
gauss1.f
gauss2.f
gauss3.f
gauss4.f
ghvq.f
gmin.f
gmre.f
gphoton.f
hiboost.f
hidata.f
hifun.f
hijcrs.f
hijcsc.f
hijels.f
hijflv.f
hijfrg.f
hijfst.cc
hijhrd.f
hijing.f
hijini.f
hijset.f
hijsft.f
hijsrt.f
hijwds.f
hiptdi.f
hirnd.f
hirnd2.f
hirobo.f
jetini.f
klu.f
lu1ent.f
lu2ent.f
lu3ent.f
lu4ent.f
luboei.f
lucell.f
luchge.f
luclus.f
lucomp.f
ludata.f
ludecy.f
luedit.f
lueevt.f
luerrm.f
luexec.f
lufowo.f
lugive.f
luhepc.f
luindf.f
lujmas.f
lujoin.f
lukfdi.f
lulist.f
luname.f
luonia.f
luprep.f
luptdi.f
luradk.f
lurobo.f
lushow.f
lusphe.f
lustrf.f
lutabu.f
lutest.f
luthru.f
luupda.f
lux3jt.f
lux4jt.f
luxdif.f
luxjet.f
luxkfl.f
luxtot.f
luzdis.f
omg0.f
parton.f
plu.f
profile.f
pyhidata.f
pyhidiff.f
pyhifram.f
pyhigamm.f
pyhii3au.f
pyhiinit.f
pyhiinki.f
pyhiinre.f
pyhiklim.f
pyhikmap.f
pyhimaxi.f
pyhimult.f
pyhiovly.f
pyhirand.f
pyhiremn.f
pyhiresd.f
pyhiscat.f
pyhisigh.f
pyhispen.f
pyhispli.f
pyhisspa.f
pyhistat.f
pyhistfu.f
pyhitest.f
pyhithia.f
pyhiw1au.f
pyhiw2au.f
pyhiwidt.f
pyhixtot.f
quench.f
rlu.f
rluget.f
rluset.f
romg.f
rwdsax.f
sgmin.f
subcrs1.f
subcrs2.f
subcrs3.f
subcrs4.f
subcrs5.f
subcrs6.f
subcrs7.f
title.f
ulalps.f
ulangl.f
ulmass.f
vegas.f
wdsax.f
wdsax1.f
wdsax2.f
JETSCAPE
JEWEL
phhepmc
PHPythia6
PHPythia8
PHSartre
sHEPGen
sHijing
offline
simulation
Doxygen_Assist
ecce-detectors
fun4all_eicdetectors
geant4
macros
online_distribution
tutorials
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
hirnd2.f
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file hirnd2.f
1
C
2
C
3
C
4
C
5
C This generate random number between XMIN and XMAX
6
FUNCTION
hirnd2
(I,XMIN,XMAX)
7
common
/hijhb/rr(10,201),
xx
(10,201)
8
SAVE
/hijhb/
9
common
/ranseed/
nseed
10
SAVE
/ranseed/
11
IF
(
xmin
.LT.
xx
(i,1))
xmin
=
xx
(i,1)
12
IF
(
xmax
.GT.
xx
(i,201))
xmax
=
xx
(i,201)
13
jmin=1+200*(
xmin
-
xx
(i,1))/(
xx
(i,201)-
xx
(i,1))
14
jmax
=1+200*(
xmax
-
xx
(i,1))/(
xx
(i,201)-
xx
(i,1))
15
rx=rr(i,jmin)+(rr(i,
jmax
)-rr(i,jmin))*
atl_ran
(
nseed
)
16
jl=0
17
ju=202
18
10
IF
(ju-jl.GT.1)
THEN
19
jm=(ju+jl)/2
20
IF
((rr(i,201).GT.rr(i,1)).EQV.(rx.GT.rr(i,jm)))
THEN
21
jl=jm
22
ELSE
23
ju=jm
24
ENDIF
25
go to 10
26
ENDIF
27
j=jl
28
IF
(j.LT.1) j=1
29
IF
(j.GE.201) j=200
30
hirnd2
=(
xx
(i,j)+
xx
(i,j+1))/2.0
31
RETURN
32
END
coresoftware
blob
master
generators
hijing
src
hirnd2.f
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:29
using
1.8.2 with
ECCE GitHub integration