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

Go to the source code of this file.

Functions/Subroutines

subroutine cprimflux (comp, e_or_p, rigth, cos1, cos2, fai1, fai2, flux)
 

Function/Subroutine Documentation

◆ cprimflux()

subroutine cprimflux ( type (component comp,
real*8  e_or_p,
real*8  rigth,
real*8  cos1,
real*8  cos2,
real*8  fai1,
real*8  fai2,
real*8  flux 
)

Definition at line 4 of file cprimFlux.f.

References cprimacceptance(), and cprimflux0().

Referenced by __showspec.f__(), and primdn().

4 #include "Zglobalc.h"
5 #include "Zptcl.h"
6 #include "Zprimary.h"
7 
8  real*8 azmmin, azmmax, rig, cosx
9  logical degree, cosfactor
10  common /zpirmflux/ azmmin, azmmax, rig, cosx,
11  * degree, cosfactor
12 
13  type(component)::comp ! input primary component
14  real*8 e_or_p ! input. E or p as given in primary file
15  real*8 rigth ! input. threshold rigidty below which geomagneic
16  ! effect appears. make it 0 if
17  ! no rigidity cut.
18  real*8 cos1, cos2 ! input. cos zenith range (cos1 < cos2)
19  real*8 fai1, fai2 ! input. azimuthal angle range (fai1< fai2) deg.
20  real*8 flux ! output. average flux in the above range
21 
22  real*8 prob, flux0
23  call cprimacceptance(
24  * comp, e_or_p, rigth, cos1, cos2, fai1, fai2, prob)
25  call cprimflux0(comp, e_or_p, flux0)
26 
27  flux = prob* flux0
28 
real * azmmin
Definition: Zflux.h:1
subroutine cprimflux0(comp, e_or_p, flux)
Definition: cprimFlux0.f:2
real azmmax
Definition: Zflux.h:1
subroutine cprimacceptance(comp, e_or_p, rigth, cos1, cos2, fai1, fai2, prob)
real zen logical degree
Definition: Zflux.h:1
Here is the call graph for this function:
Here is the caller graph for this function: