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

Go to the source code of this file.

Functions/Subroutines

program atmncobptcl
 
subroutine translate_aline (lread, k1, r1, p1, k100)
 

Function/Subroutine Documentation

◆ atmncobptcl()

program atmncobptcl ( )

Definition at line 1 of file translate.f.

References a, b, catmnctcos(), ctranscoord2(), false, h, i, kelec, kneue, kneumu, o, translate_aline(), true, and z.

Here is the call graph for this function:

◆ translate_aline()

subroutine translate_aline ( dimension(9)  lread,
  k1,
dimension(5)  r1,
dimension(5)  p1,
  k100 
)

Definition at line 108 of file translate.f.

References a, d, d0, h, o, and z.

Referenced by atmncobptcl().

108  implicit doubleprecision (a-h, o-z)
109 ! masses of particles
110  include '../src3/include/atmnc-particle-mass2.inc'
111 
112  dimension r1(5), p1(5)
113  dimension lread(9)
114 
115  kk = lread(1)
116  k100 = int(kk/100)
117  k1 = kk - 100 * k100
118 ! write(*,*) lread(1), k100, k1
119 
120  pp = 10.d0**(1.d-6*lread(2))
121  rr = 0.
122  do k = 1, 3
123  r1(k) = lread(2+k)
124  p1(k) = 1.d-9 * lread(6+k)*pp
125  rr = rr + r1(k)**2
126  enddo
127  rr = sqrt(rr)
128 
129  r1(4) = 10.d0**(1.d-6*real(lread(6)))
130  r1(5) = rr
131 
132  p1(5) = am(k1)
133  p1(4) = sqrt(pp**2 + p1(5)**2)
nodes z
real(4), dimension(:), allocatable, save h
Definition: cNRLAtmos.f:28
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
Definition: cblkEvhnp.h:5
struct ob o[NpMax]
Definition: Zprivate.h:34
dE dx *! Nuc Int sampling table d
Definition: cblkMuInt.h:130
real(4), save a
Definition: cNRLAtmos.f:20
Here is the caller graph for this function: