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

Go to the source code of this file.

Functions/Subroutines

subroutine cdedxdlt (rhoin, gin, delta)
 
subroutine cdedxdenc0 (g, delta)
 

Function/Subroutine Documentation

◆ cdedxdenc0()

subroutine cdedxdenc0 ( real*8  g,
real*8  delta 
)

Definition at line 20 of file cdedxdlt.f.

Referenced by cdedxdlt().

20  implicit none
21  real*8 g ! input ! gamma factor of the particle
22  real*8 delta ! output density correcton foactor
23 ! (Z/A) I[eV] a k x0 x1 Cbar delta0
24 ! 0.49919 85.7 0.1091 3.3994 1.7418 4.2759 10.5961 0.00
25 ! | this is sh.sa not sh.a
26  real*8 shc, shx0, shx1, shsa, shk
27  data shc/-10.5961/
28  data shx0/1.7418/, shx1/4.2759/, shk/3.3994/
29  data shsa/0.1091/
30  save shc, shx0, shx1, shsa, shk
31 
32 
33  real*8 x, cbar
34  real*8 tln10/4.60517/
35  save tln10
36 
37  x=log10( (g- 1.)*(g+1.) ) / 2 ! = log10(gbeta) = 0.4343log(gbeta)
38 
39 
40  if(x .lt. shx0) then
41  delta = 0.
42  else
43  cbar = - shc
44  delta = tln10*x - cbar
45  if(x .lt. shx1) then
46  delta = delta + shsa*(shx1-x)**shk
47  endif
48  endif
dE dx *! Nuc Int sampling table g
Definition: cblkMuInt.h:130
! structure defining a particle at production ! Basic idea of what is to be contained in ! the particle structue is that dynamical ones should be included those derivable from the particle code ! is not included ******************************************************type fmom momentum sequence union map real e endmap map real * x
Definition: Zptcl.h:21
Here is the caller graph for this function:

◆ cdedxdlt()

subroutine cdedxdlt ( real*8  rhoin,
real*8  gin,
real*8  delta 
)

Definition at line 4 of file cdedxdlt.f.

References cdedxdenc0(), and d0.

Referenced by cdedxe(), and cdedxnone().

4  implicit none
5  real*8 rhoin ! input. air density in kg/m^3
6  real*8 gin ! input ! gamma factor of the particle
7  real*8 delta ! output density correcton foactor
8 
9  real*8 g
10  real*8 rho0
11  data rho0/1.205/ ! standard density in kg/m3
12  save rho0
13 
14  g = sqrt( (gin**2-1.0) * rhoin/rho0 + 1.d0 )
15  call cdedxdenc0(g, delta)
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
Definition: cblkEvhnp.h:5
dE dx *! Nuc Int sampling table g
Definition: cblkMuInt.h:130
subroutine cdedxdenc0(g, delta)
Definition: cdedxdlt.f:20
Here is the call graph for this function:
Here is the caller graph for this function: