Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
pyr.f
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file pyr.f
1
!-----------------------------------------------------------------
2
! The point of this set of routines is to replace all potentially
3
! used random number generators with functions and subroutines
4
! that utilize a common seed sequence. In this case:
5
!
6
! the CERNLIB RANECU series
7
!
8
! MC programmers should now always use:
9
! rndmq to initialize or obtain status
10
! rlu to get a single 0:1 random number
11
! nran to get a vector of 0:1 random numbers
12
! rannor to get 2 Gaussian random numbers
13
!
14
!-----------------------------------------------------------------
15
16
!-----------------------------------------------------------------
17
! Replace the PYTHIA random number generator
18
19
double precision
function
pyr
(idummy)
20
21
implicit none
22
23
integer idummy
24
real
r
25
26
call ranlux(
r
,1)
27
pyr
=
r
28
29
return
30
end
31
pythia6
blob
master
pythiaeRHIC
pythia
pyr.f
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:43
using
1.8.2 with
sPHENIX GitHub integration