Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
hijcrs.f
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file hijcrs.f
1 C
2 C
3 C
4 C
5  SUBROUTINE hijcrs
6 C THIS IS TO CALCULATE THE CROSS SECTIONS OF JET PRODUCTION AND
7 C THE TOTAL INELASTIC CROSS SECTIONS.
8  common/hiparnt/hipr1(100),ihpr2(50),hint1(100),ihnt2(50)
9  SAVE /hiparnt/
10  common/njet/n,ip_crs
11  SAVE /njet/
12  EXTERNAL fhin,ftot,fnjet,ftotjet,ftotrig
13  IF(hint1(1).GE.10.0) CALL crsjet
14 C ********calculate jet cross section(in mb)
15 C
16  aphx1=hipr1(6)*(ihnt2(1)**0.3333333-1.0)
17  aphx2=hipr1(6)*(ihnt2(3)**0.3333333-1.0)
18  hint1(11)=hint1(14)-aphx1*hint1(15)
19  & -aphx2*hint1(16)+aphx1*aphx2*hint1(17)
20  hint1(10)=gauss1(ftotjet,0.0,20.0,0.01)
21  hint1(12)=gauss1(fhin,0.0,20.0,0.01)
22  hint1(13)=gauss1(ftot,0.0,20.0,0.01)
23  hint1(60)=hint1(61)-aphx1*hint1(62)
24  & -aphx2*hint1(63)+aphx1*aphx2*hint1(64)
25  hint1(59)=gauss1(ftotrig,0.0,20.0,0.01)
26  IF(hint1(59).EQ.0.0) hint1(59)=hint1(60)
27  IF(hint1(1).GE.10.0) Then
28  DO 20 i=0,20
29  n=i
30  hint1(80+i)=gauss1(fnjet,0.0,20.0,0.01)/hint1(12)
31  20 CONTINUE
32  ENDIF
33  hint1(10)=hint1(10)*hipr1(31)
34  hint1(12)=hint1(12)*hipr1(31)
35  hint1(13)=hint1(13)*hipr1(31)
36  hint1(59)=hint1(59)*hipr1(31)
37 C ********Total and Inel cross section are calculated
38 C by Gaussian integration.
39  IF(ihpr2(13).NE.0) THEN
40  hipr1(33)=1.36*(1.0+36.0/hint1(1)**2)
41  & *alog(0.6+0.1*hint1(1)**2)
42  hipr1(33)=hipr1(33)/hint1(12)
43  ENDIF
44 C ********Parametrized cross section for single
45 C diffractive reaction(Goulianos)
46  RETURN
47  END