-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcrsjet.F
67 lines (67 loc) · 1.61 KB
/
crsjet.F
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
* $Id$
C
C
C THIS PROGRAM IS TO CALCULATE THE JET CROSS SECTION
C THE INTEGRATION IS DONE BY USING VEGAS
C
SUBROUTINE CRSJET
IMPLICIT REAL*8(A-H,O-Z)
#define BLANKET_SAVE
#include "hiparnt.inc"
#include "njet_hijing.inc"
#include "bveg1_hijing.inc"
#include "bveg2_hijing.inc"
#include "bveg3_hijing.inc"
EXTERNAL FJET,FJETRIG
SAVE
C
c************************
c NCALL give the number of inner-iteration, ITMX
C gives the limit of out-iteration. Nprn is an option
C ( 1: print the integration process. 0: do not print)
C
NDIM=3
IP_CRS=0
CALL VEGAS(FJET,AVGI,SD,CHI2A)
HINT1(14)=AVGI/2.5682
IF(IHPR2(6).EQ.1 .AND. IHNT2(1).GT.1) THEN
IP_CRS=1
CALL VEGAS(FJET,AVGI,SD,CHI2A)
HINT1(15)=AVGI/2.5682
ENDIF
IF(IHPR2(6).EQ.1 .AND. IHNT2(3).GT.1) THEN
IP_CRS=2
CALL VEGAS(FJET,AVGI,SD,CHI2A)
HINT1(16)=AVGI/2.5682
ENDIF
IF(IHPR2(6).EQ.1.AND.IHNT2(1).GT.1.AND.IHNT2(3).GT.1) THEN
IP_CRS=3
CALL VEGAS(FJET,AVGI,SD,CHI2A)
HINT1(17)=AVGI/2.5682
ENDIF
C ********Total inclusive jet cross section(Pt>P0)
C
IF(IHPR2(3).NE.0) THEN
IP_CRS=0
CALL VEGAS(FJETRIG,AVGI,SD,CHI2A)
HINT1(61)=AVGI/2.5682
IF(IHPR2(6).EQ.1 .AND. IHNT2(1).GT.1) THEN
IP_CRS=1
CALL VEGAS(FJETRIG,AVGI,SD,CHI2A)
HINT1(62)=AVGI/2.5682
ENDIF
IF(IHPR2(6).EQ.1 .AND. IHNT2(3).GT.1) THEN
IP_CRS=2
CALL VEGAS(FJETRIG,AVGI,SD,CHI2A)
HINT1(63)=AVGI/2.5682
ENDIF
IF(IHPR2(6).EQ.1.AND.IHNT2(1).GT.1.AND.IHNT2(3).GT.1) THEN
IP_CRS=3
CALL VEGAS(FJETRIG,AVGI,SD,CHI2A)
HINT1(64)=AVGI/2.5682
ENDIF
ENDIF
C ********cross section of trigger jet
C
RETURN
END