COSMOS v7.655  COSMOSv7655
(AirShowerMC)
getImpactParam.f File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine getimpactparam (bout)
 
subroutine geteposb (bout)
 
subroutine getsibyllb (bout)
 

Function/Subroutine Documentation

◆ geteposb()

subroutine geteposb ( real(8), intent(out)  bout)

Definition at line 41 of file getImpactParam.f.

Referenced by getimpactparam().

41  implicit none
42  real(8),intent(out):: bout
43 !---------------------------------------------------------------------------
44 ! epos event common block
45 !---------------------------------------------------------------------------
46 
47  real phievt,bimevt,pmxevt,egyevt
48  *,xbjevt,qsqevt,zppevt,zptevt
49  integer nevt,kolevt,koievt,npjevt
50  *,ntgevt,npnevt,nppevt,ntnevt,ntpevt,jpnevt,jppevt,jtnevt,jtpevt
51  *,nglevt,minfra,maxfra
52  common/cevt/phievt,nevt,bimevt,kolevt,koievt,pmxevt,egyevt,npjevt
53  *,ntgevt,npnevt,nppevt,ntnevt,ntpevt,jpnevt,jppevt,jtnevt,jtpevt
54  *,xbjevt,qsqevt,nglevt,zppevt,zptevt,minfra,maxfra
55 
56  bout = bimevt
Here is the caller graph for this function:

◆ getimpactparam()

subroutine getimpactparam ( real(8), intent(out)  bout)

Definition at line 3 of file getImpactParam.f.

References geteposb(), and getsibyllb().

Referenced by gencol().

3  implicit none
4 #include "Zptcl.h"
5 #include "Zcode.h"
6 #include "Zevhnp.h"
7 #include "Zevhnv.h"
8 
9  real(8),intent(out):: bout
10 
11  real(8):: rproj, rtarg,bimpac
12  integer:: nwtsam,nwasam,nwbsam,nwtacc,nwaacc,nwbacc
13  COMMON /dtglcp/ rproj,rtarg,bimpac,
14  & nwtsam,nwasam,nwbsam,nwtacc,nwaacc,nwbacc
15  integer,save::count=0
16 
17 ! for qgsjet-II/I
18  integer,parameter:: iapmax=209
19  real(8):: xa, xb, b
20  common /qgarr7/ xa(iapmax,3),xb(iapmax,3),b
21 
22  if( activemdl == "dpmjet3" ) then
23  bout = bimpac
24  elseif( activemdl(1:6) == "qgsjet" ) then
25  bout = b
26  elseif( activemdl == "epos" ) then
27  call geteposb(bout)
28  elseif (activemdl == "sibyll" ) then
29  call getsibyllb(bout)
30  else
31  if( count < 10 ) then
32  count =count + 1
33  write(0,*)
34  * ' IntModel =', activemdl, ' not ready for getImpactParam'
35  write(0,*) 'so -1.0 is returned'
36  endif
37  bout = -1.0
38  endif
subroutine geteposb(bout)
real(4), save b
Definition: cNRLAtmos.f:21
subroutine getsibyllb(bout)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getsibyllb()

subroutine getsibyllb ( real(8), intent(out)  bout)

Definition at line 59 of file getImpactParam.f.

References parameter().

Referenced by getimpactparam().

59  implicit none
60  real(8),intent(out):: bout
61 
62  integer:: iamax, ntry, na
63  real:: b, bmax
64  parameter(iamax=56)
65  COMMON /s_cncm0/ b, bmax, ntry, na
66  bout = b
integer npitbl real *nx parameter(n=101, npitbl=46, nx=n-1) real *8 uconst
real(4), save b
Definition: cNRLAtmos.f:21
Here is the call graph for this function:
Here is the caller graph for this function: