COSMOS v7.655  COSMOSv7655
(AirShowerMC)
cmBremMFP.f File Reference

Go to the source code of this file.

Functions/Subroutines

real *8 function cmbremmfp (erg, upsilon, xc)
 

Function/Subroutine Documentation

◆ cmbremmfp()

real*8 function cmbremmfp ( real*8  erg,
real*8  upsilon,
real*8  xc 
)

Definition at line 3 of file cmBremMFP.f.

References d0, parameter(), and pi.

3  implicit none
4 
5 #include "Zglobalc.h"
6 
7  real*8 erg ! input electron energy, in GeV.
8  real*8 upsilon ! input. Upsilon value
9  real*8 xc ! input. fix the cut off, below which the synchroron
10  ! is treated as energy loss only.
11  ! one of 3.1627 x 10-3, 10-3, ... 10-6 or 0
12  ! if xc is not one of these, neareset one
13  ! is chosen.
14 ! xc should be 0. in v3.0 or later.
15 !
16 ! The 'cross-section' for emitting fractional gamma ray energy x ~ x+dx,
17 ! in the unit distance is given by
18 ! P(Ee, x, U)dx = root(3)/2/pi (SyncConvR)/Ee* U *
19 ! [ (1-x)/x K1(2zeta)dx + x K2(2zeta)]dx
20 ! (/meter, if Ee is in GeV). ( U is E/m * B/Bc ).
21 ! where, K1(z) = z Int(z,inf)K5/3(z)dz; known as Brems func.
22 ! and K2(z) = zK2/3(z).
23 !
24 ! The integral value of the first term and the second term in []
25 ! above is given cmBremI1 and cmBremI2, resp.
26 !
27 !
28  real*8 cmbremi1, cmbremi2
29  real*8 const, fz
30  parameter( const = 1.732050808/2/pi * syncconvr )
31 
32  fz = cmbremi1(upsilon, xc) + cmbremi2(upsilon)
33 ! mfp in meter.
34  cmbremmfp = 1.d0/
35  * (const / erg * upsilon * fz)
integer npitbl real *nx parameter(n=101, npitbl=46, nx=n-1) real *8 uconst
real *8 function cmbremi1(upsilon, xc)
Definition: cmBremI1.f:19
real *8 function cmbremmfp(erg, upsilon, xc)
Definition: cmBremMFP.f:3
! 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
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
Definition: cblkEvhnp.h:5
! constants thru Cosmos real * pi
Definition: Zglobalc.h:2
float erg[maxp]
Definition: Zprivate.h:7
real *8 function cmbremi2(u)
Definition: cmBremI2.f:12
Here is the call graph for this function: