COSMOS v7.655
COSMOSv7655
(AirShowerMC)
cgetBeta.f
Go to the documentation of this file.
1
! get beta for Time calculation
2
!
3
subroutine
cgetbeta
(aPtcl, beta)
4
implicit none
5
!---- include '../Particle/Zptcl.h'
6
#include "Zptcl.h"
7
type
(
ptcl
)::aPtcl
8
real*8
beta
9
!
10
real*8
g, gmin/100./
11
!
12
if
(aptcl%mass .eq. 0.)
then
13
beta = 1.
14
else
15
g =aptcl%fm%p(4)/aptcl%mass
16
if
(g .lt. gmin)
then
17
beta = sqrt(1. - 1./g/g)
18
else
19
beta =(-1./g/g/8.0-0.5)/g/g + 1.
20
endif
21
endif
22
end
cgetbeta
subroutine cgetbeta(aPtcl, beta)
Definition:
cgetBeta.f:4
ptcl
Definition:
Zptcl.h:75
Tracking
cgetBeta.f
Generated by
1.8.13