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
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
Main_HIJING.f
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file Main_HIJING.f
1
program
test
2
CHARACTER
frame*8,
proj
*8,
targ
*8
3
common
/hiparnt/
hipr1
(100),
ihpr2
(50),
hint1
(100),
ihnt2
(50)
4
SAVE
/hiparnt/
5
common
/himain1/
natt
,
eatt
,
jatt
,
nt
,
np
,
n0
,
n01
,
n10
,
n11
6
SAVE
/himain1/
7
common
/himain2/
katt
(130000,4),
patt
(130000,4)
8
SAVE
/himain2/
9
common
/ranseed/
nseed
10
SAVE
/ranseed/
11
C
12
C
13
C....initialize HIJING for Au+Au collisions at c.m. energy of 200 GeV:
14
c FRAME="CMS"
15
c PROJ="A"
16
c TARG="A"
17
iap
=1
18
izp
=1
19
iat
=197
20
izt
=79
21
efrm
=200.0
!GeV
22
n_event=100
23
ihpr2
(10)=0
24
c ---------------------------------------------------------
25
c initialize HIJING for geant4
26
ihnt2
(1)=
iap
27
ihnt2
(2)=
izp
28
ihnt2
(3)=
iat
29
ihnt2
(4)=
izt
30
ihnt2
(5)=211
!pi+
31
ihnt2
(6)=0
32
cc --------------Ap>1----------------------
33
34
hint1
(8)=
max
(
ulmass
(2112),
ulmass
(2212))
35
hint1
(9)=
hint1
(8)
36
write
(*,*)
'mass at the beginning'
,
hint1
(8),
hint1
(9)
37
cc---------------------------------------------
38
if
(
ihnt2
(5).ne.0)
then
39
hint1
(8)=
ulmass
(
ihnt2
(5))
40
endif
41
42
c write(*,*)'modified mass',HINT1(8)
43
c
44
c
45
c ranseed=1097569630
46
c print *,"seed",ranseed
47
c call sseed(ranseed)
48
49
c do i=1, 10
50
c write(*,*)'ran',NSEED, RAN(NSEED), RLU(NSEED)
51
c end do
52
C
53
C
54
C*** initialize HIJING
55
c CALL HIJSET(EFRM,FRAME,PROJ,TARG,IAP,IZP,IAT,IZT)
56
CALL
hijset
(
efrm
,
iap
,
izp
,
iat
,
izt
)
57
c CALL HIJSET(EFRM)
58
59
write
(*,*)
'Sjet='
,
hint1
(11),
'mb'
,
'Stot='
,
hint1
(13),
'mb'
60
C
61
C....set BMIN=0 and BMAX=0.0 for central interaction
62
bmin=0.0
63
bmax=0.0
!HIPR1(34)+HIPR1(35)
64
C....generating N_EVENT events of central AA interaction:
65
DO
200 ie=1,n_event
66
c CALL HIJING(FRAME,BMIN,BMAX)
67
CALL
hijing
(bmin,bmax)
68
WRITE
(*,*) ie,
natt
,
eatt
69
200
continue
70
stop
71
END
72
73
c FUNCTION RAN(NSEED)
74
c RAN=RLU(NSEED)
75
c RETURN
76
c END
geant4
tree
geant4-10.6-release
examples
extended
hadronic
Hadr02
hijing1_383
Main_HIJING.f
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:25:06
using
1.8.2 with
ECCE GitHub integration