Go to the source code of this file.
◆ kbetar()
Definition at line 19 of file kbetar.f.
References rndc(), and true.
Referenced by cprtsampe().
37 real*8 ai, bm, u, bi, am
39 if(
a .lt. 1. and.
b .lt. 1.)
then 40 write(*,*)
' kbetar cannot accept a<1,b<1:' 41 write(*,*)
' use, ksbeta in such case' 42 write(*,*)
' a=',
a,
' b=',
b 45 if( (
a .ge.
b .and.
b .ge. 1.) .or.
a .lt. 1.)
then 55 if ( u .le. (1.-
x)**bm)
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
! 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