COSMOS v7.655  COSMOSv7655
(AirShowerMC)
csetIntInf.f
Go to the documentation of this file.
1 ! csetIntInf: set interaction information IntInfArray.
2 !
3  subroutine csetintinf(lenOrThick, decay, procname)
4  implicit none
5 #include "Ztrack.h"
6 #include "Ztrackv.h"
7 
8  real*8 lenOrThick
9  logical decay ! this acutully used not only for decay but
10  ! for magnetic brems and pair cre.
11  character*(*) procname
12 !
13  numberofinte = numberofinte + 1
14  if(decay) then
15  intinfarray(numberofinte)%length = lenorthick
16  else
17  intinfarray(numberofinte)%thickness = lenorthick
18  endif
19  intinfarray(numberofinte)%decay = decay
20  intinfarray(numberofinte)%process = procname
21  end
22  subroutine cresetintinf
23 ! this is intended to reset IntInfArray of the current
24 ! selected proces number. Suppose, a pi+ of low
25 ! energy. It can decay and can generate mu+ of some
26 ! kinetic enrgy. So if the pi+ of such one comes to
27 ! stop, it is better to make it decay rather than
28 ! colide. This is to reset the present process and
29 ! to force the decay.
30  implicit none
31 #include "Ztrack.h"
32 #include "Ztrackv.h"
33 
34  intinfarray(processno)%decay = .true.
35  intinfarray(processno)%process = 'decay'
36  end
subroutine cresetintinf
Definition: csetIntInf.f:23
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
Definition: cblkElemag.h:7
subroutine csetintinf(lenOrThick, decay, procname)
Definition: csetIntInf.f:4