17 real*8 cupsilon, cmBremMFP, u
18 real*8 ee, den, cvh2den, prob
20 ee = trackbefmove%p%fm%p(4)
21 if(lpmeffect .and. ee .gt. lpmbrememin)
then 23 den = cvh2den(trackbefmove%pos%height)
32 if(trackbefmove%p%charge .eq. -1)
then 40 if(trackbefmove%p%charge .eq. 1 .and.
41 * ee .lt. anihie )
then 49 if(magbrem .eq. 2)
then 50 if(ee .gt. magbrememin)
then 52 upsilon = cupsilon(trackbefmove%p, mag)
53 if(
upsilon .gt. upsilonmin )
then 55 t = -log(u) * cmbremmfp(ee,
upsilon, 0.
d0)
66 if( activemcs ==
'El_con' )
then 67 call cfixmixedconst(1, int(trackbefmove%p%charge ) )
68 elseif(activemcs ==
'El_hin' )
then 69 write(0,*)
' El_hin is not supported in Cosmos' 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
! Parameters used for hadronic cascade shower is generated newline ! For you may give as as or em quick generation of AS for heavy primaries is tried See chookASbyH f character *Generate2 don t touch this for skeleton flesh use integer MagBrem no magnetic bremsstrahlung is considered newline ! if and Ee energy loss due to magnetic brems is considered newline ! if and Ee real sampling of gamma is performed WaitRatio ! must be made small so that WaitRatio *E0 sim MagBremEmin integer MagPair no magnetic pair creation is considered newline ! if and Eg real sampling is the LPM effect is considered when Ee LpmBremEmin for electrons and ! Eg LpmPairEmin for gamma rays real *MagBremEmin E magnetic bremsstrahlung by electrons may be considered if not considered at all newline total energy loss due to brems is considered newline gamma energy is sampled actually newline ! If upsilon(Ee/m *B/Bcr) is small
subroutine cbremspath(Ee, path)
subroutine cmollerpath(ein, w, prob, path)
subroutine csetintinf(lenOrThick, decay, procname)
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
subroutine cfixmcsmodel(aPtcl)
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
subroutine cbhabhapath(ein, w, prob, path)
subroutine canihipath(ein, prob, path)
subroutine cbremlpmxsec(e, rhoin, xs)