Go to the source code of this file.
|
subroutine | cknockp (aPtcl, prob, path) |
|
subroutine | cknockea (aPtcl, erg2, erge, cos1, cosr) |
|
◆ cknockea()
Definition at line 55 of file cKnock.f.
References betasq, d0, false, masele, norm, rndc(), tmax, true, and w0.
Referenced by csetknock().
85 do while(.not. accept)
119 p12 = erg2**2 -
mass**2
121 if(p12 .le. 0.
d0 )
then 127 if(cos1 .gt. 1.
d0)
then 129 elseif(cos1 .lt. -1.
d0)
then 134 if(cosr .gt. 1.
d0)
then 136 elseif(cosr .lt. -1.
d0)
then
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
real(4), dimension(:), allocatable, save temp
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
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
*Zfirst p fm *Zfirst p mass
◆ cknockp()
subroutine cknockp |
( |
type(ptcl) |
aPtcl, |
|
|
real*8 |
prob, |
|
|
real*8 |
path |
|
) |
| |
Definition at line 2 of file cKnock.f.
References betasq, cerrormsg(), d0, masele, norm, parameter(), rndc(), tmax, and w0.
Referenced by cknockonh().
21 call cerrormsg(
'cdedxEleci must be called beforehand',0)
integer npitbl real *nx parameter(n=101, npitbl=46, nx=n-1) real *8 uconst
subroutine cerrormsg(msg, needrtn)
real(4), dimension(:), allocatable, save temp
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
dE dx *! Nuc Int sampling table g
*Zfirst p fm *Zfirst p mass