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

Go to the source code of this file.

Functions/Subroutines

real *8 function cxai (gam, mag)
 

Function/Subroutine Documentation

◆ cxai()

real*8 function cxai ( type(ptcl gam,
type(magfield mag 
)

Definition at line 6 of file cxai.f.

References masele.

6  implicit none
7 #include "Zglobalc.h"
8 #include "Zptcl.h"
9 #include "Zmass.h"
10 #include "Zmagfield.h"
11 
12  type(ptcl):: gam ! gamma ray
13  type(magfield):: mag ! magnetic field.
14  real*8 bsin, cgetbsin
15 
16  bsin = cgetbsin(gam, mag)
17 ! Eg/m * Bsin/Bcr
18  cxai = gam%fm%p(4) /masele * bsin/bcr/ 2.
real *8 function cxai(gam, mag)
Definition: cxai.f:6
real *8 function cgetbsin(aPtcl, mag)
Definition: cgetBsin.f:5
const double masele
Definition: Zmass.h:2
Definition: Zptcl.h:75