2 implicit doubleprecision(
a-
h,
o-
z)
6 include
'../src3/include/atmnc-particle-code.inc' 7 logical,
save::onlyfor1ry=.
true.
8 logical,
save::onlyhadron=.
true.
14 integer:: code, subc, charge
18 character(len=10) input
20 if( iargc() == 1 )
then 25 *
'Basic usage: ./translate$ARCH arg < Atmnc3-output ' 28 *
' 1==>selecting only hadronic particls suited for Cosmos' 30 *
' 1ry. The content is sufficient for cmkInc2' 32 *
' 2==>same as 1 but include e and g, if any' 34 *
' 3==>show all particles; content is more than above' 46 write(0,*)
' arg=', sel,
' invalid' 52 *
'code subc charge Wxyz Et Rxyz llh cosz' 54 *
' 1 2 3 4-6 7 8-10 11-13 14' 57 *
'code subc charge k100 Pxyz KE Rxyz t R llh cosz' 59 *
' 1 2 3 4 5 6 7 8 9-11 12 13 14-16 17' 63 read(*,
'(I4,5I9,3I11)',end=9999, err=1999)
70 p = sqrt( dot_product(p1(1:3), p1(1:3)))
72 cosz = dot_product(p1(1:3), r1(1:3))/p/r
75 if( k100 < 3 .and. cosz < 0. .and.
77 if( (onlyhadron .and. code >
kelec) .or.
78 * .not. onlyhadron )
then 80 write(*,
'(i3, i4, i3, 1p, 11g14.6)')
81 * code, subc, charge, w(1:3), p1(4), r1(1:3),
86 write(*,
'(i3, i4, i3, i5, 1p, 13g14.6)')
87 * code, subc, charge, k100, p1(1:3), p1(4)-p1(5),
88 * r1(1:5),
b%r(1:3), cosz
95 if((k1 >= knue) .and. (k1 <= knumubar))
then 108 implicit doubleprecision (
a-
h,
o-
z)
110 include
'../src3/include/atmnc-particle-mass2.inc' 112 dimension r1(5), p1(5)
120 pp = 10.
d0**(1.
d-6*lread(2))
124 p1(k) = 1.
d-9 * lread(6+k)*pp
129 r1(4) = 10.
d0**(1.
d-6*
real(lread(6)))
133 p1(4) = sqrt(pp**2 + p1(5)**2)
subroutine translate_aline(lread, k1, r1, p1, k100)
subroutine catmnctcos(katmnc, code, subc, charge)
max ptcl codes in the kelec
block data cblkElemag data *AnihiE ! Eposi< 1 TeV, anihilation considered *X0/365.667/, ! radiation length of air in kg/m2 *Ecrit/81.e-3/, ! critical energy of air in GeV *MaxComptonE/1./, ! compton is considered below 1 GeV *MaxPhotoE/1.e-3/, ! above this, PhotoElectric effect neg. *MinPhotoProdE/153.e-3/, ! below 153 MeV, no gp --> hadrons ! scattering const not MeV *Knockon true
max ptcl codes in the kneue
subroutine ctranscoord2(sys, a, b)
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
max ptcl codes in the kneumu
dE dx *! Nuc Int sampling table d
dE dx *! Nuc Int sampling table b
block data cblkElemag data *AnihiE ! Eposi< 1 TeV, anihilation considered *X0/365.667/, ! radiation length of air in kg/m2 *Ecrit/81.e-3/, ! critical energy of air in GeV *MaxComptonE/1./, ! compton is considered below 1 GeV *MaxPhotoE/1.e-3/, ! above this, PhotoElectric effect neg. *MinPhotoProdE/153.e-3/, ! below 153 MeV, no gp --> hadrons ! scattering const not MeV *Knockon ! knockon is considered Obsolete *PhotoProd false
dE dx *! Nuc Int sampling table h