COSMOS v7.655  COSMOSv7655
(AirShowerMC)
Zptcl.h
Go to the documentation of this file.
1 ! #ifndef Zptcl_
2 ! #define Zptcl_
3 #include "Zunionmap.h"
4 ! structure defining a particle at production
5 ! Basic idea of what is to be contained in
6 ! the particle structue is that
7 ! 1) dynamical ones should be included
8 ! 2) those derivable from the particle code
9 ! is not included
10 ! ******************************************************
11  type fmom ! 4 momentum
12  sequence
13 #ifdef UNIONMAP
14  union
15  map
16 #endif
17  real*8 p(4)
18 #ifdef UNIONMAP
19  endmap
20  map
21  real*8 px, py, pz, e
22  endmap
23  map
24  real*8 x, y, z, t
25  endmap
26  map
27 ! pt before pz is set
28  real*8 dummy1, dummy2, pt, rap
29  endmap
30 ! tm: transverse mass
31  map
32  real*8 dummy3, dummy4, tm
33  endmap
34  endunion
35 #endif
36  end type fmom
37 ! \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
38 ! Important note: Bug in sun fortran
39 ! If we define, say,
40 ! record /fmom/ p1
41 ! and set
42 ! p1.e = some value (or p1.p(4)= ...)
43 ! where some value is a constant or arithmetic
44 ! expression which results in a value > 1.d37
45 ! then overflow message comes out on SUN fortran
46 ! although the result is correct.
47 ! Setting the same into, say, p1.px does not
48 ! cause such. (as of 1993/08/14)
49 ! \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
50 ! ******************************************************
51  type ptcl ! particle at production
52  sequence
53 ! 4 momentum.
54 
55  type(fmom):: fm
56 !
57  real*8 mass
58  integer*2 code, subcode
59  integer*2 charge
60 ! code: ptcl code
61 ! subcode:used mainly to identify paticle/antiparticle
62 ! if the difference is important.
63 ! To set particle, "ptcl" is used.
64 ! anti-partilce, 'antip" is used for particles
65 ! For particles of which partilce/antiparticle nature
66 ! can be judded by its code and charge, the user
67 ! need not specify it when using cmkptc subroutine.
68 ! give 0.
69 ! subcode for gamma ray may be used to identify
70 ! brems gamma and direct gamma by kdiretg, kcasg
71  end type ptcl
72 ! ******************************************************
73 ! #endif /* Zptcl.h */
float real
Definition: Zdef.h:2
int integer
Definition: Zdef.h:3
dE dx *! Nuc Int sampling table e
Definition: cblkMuInt.h:130
! structure defining a particle at production ! Basic idea of what is to be contained in ! the particle structue is that dynamical ones should be included those derivable from the particle code ! is not included ******************************************************type fmom momentum sequence union map real e endmap map real t endmap map ! pt before pz is set real * dummy1
Definition: Zptcl.h:21
struct ptcl particle
Definition: Zprimary.h:81
! structure defining a particle at production ! Basic idea of what is to be contained in ! the particle structue is that dynamical ones should be included those derivable from the particle code ! is not included ******************************************************type fmom momentum sequence union map real e endmap map real t endmap map ! pt before pz is set real pt
Definition: Zptcl.h:21
! Parameters used for hadronic cascade shower is generated newline ! For you may give as as or em as(order/case/separator insensitive) is to generate EM-cascade and AS. \newline ! Generate
Definition: Zptcl.h:72
! this is to treat the stange code generated in Lund Fritiof ! If you find that you can get reliable events by discarding ! events with such strange then you may define ! the machine definition here ! If you want to discard the strange code events but ! want to be define below ! if you want discard the strage code events without ! any message
Definition: ZstrangeCode.h:3
integer Charge2heavyG charge of heavy rightarrow heavy group index conversion array integer HeavyG2massN heavy group index rightarrow mass number conversion array integer HeavyG2charge heavy group index rightarrow charge of heavy conversion array integer HeavyG2code heavy group index rightarrow particle code conversion array integer Code2massN particle code rightarrow mass number conversion array integer Code2heavyG particle code rightarrow heavy group index conversion array real *FragmentTbl the number of interacting nucleons among a projectile heavy nucleus is ! determined as the number of first collision of each interacting nucleon inside ! the nucleus If
Definition: Zheavyp.h:17
*Zfirst p fm *Zfirst p Zfirst p code
Definition: ZavoidUnionMap.h:1
integer maxbin nregion c minsave drx2 ! drawing region real maxdep integer maxpos integer to
Definition: Zfit.h:15
! structure defining a particle at production ! Basic idea of what is to be contained in ! the particle structue is that dynamical ones should be included those derivable from the particle code ! is not included ******************************************************type fmom momentum sequence union map real * p(4) endmap map real *8 px
! structure defining a particle at production ! Basic idea of what is to be contained in ! the particle structue is that dynamical ones should be included those derivable from the particle code ! is not included ******************************************************type fmom momentum sequence union map real e endmap map real z
Definition: Zptcl.h:21
*Zfirst p fm *Zfirst p Zfirst p Zfirst p *Zfirst p charge
Definition: ZavoidUnionMap.h:1
real(4), save a
Definition: cNRLAtmos.f:20
! structure defining a particle at production ! Basic idea of what is to be contained in ! the particle structue is that dynamical ones should be included those derivable from the particle code ! is not included ******************************************************type fmom momentum sequence union map real pz
Definition: Zptcl.h:21
! structure defining a particle at production ! Basic idea of what is to be contained in ! the particle structue is that dynamical ones should be included those derivable from the particle code ! is not included ******************************************************type fmom momentum sequence union map real e endmap map real t endmap map ! pt before pz is set real rap endmap dummy4
Definition: Zptcl.h:21
! structure defining a particle at production ! Basic idea of what is to be contained in ! the particle structue is that dynamical ones should be included those derivable from the particle code ! is not included ******************************************************type fmom momentum sequence union map real e endmap map real t endmap map ! pt before pz is set real dummy2
Definition: Zptcl.h:21
nodes t
*Zfirst p fm *Zfirst p Zfirst p Zfirst p *Zfirst p *Zfirst pos xyz Zfirst pos xyz *Zfirst pos *Zfirst pos Zfirst pos *Zfirst pos *Zfirst Zfirst vec w *Zfirst vec w Zfirst vec *Zfirst Zfirst where
Definition: ZavoidUnionMap.h:1
! structure defining a particle at production ! Basic idea of what is to be contained in ! the particle structue is that dynamical ones should be included those derivable from the particle code ! is not included ******************************************************type fmom momentum sequence union map real e endmap map real y
Definition: Zptcl.h:21
Definition: Zptcl.h:75
*Zfirst p fm *Zfirst p mass
Definition: ZavoidUnionMap.h:1
! structure defining a particle at production ! Basic idea of what is to be contained in ! the particle structue is that dynamical ones should be included those derivable from the particle code ! is not included ******************************************************type fmom momentum sequence union map real py
Definition: Zptcl.h:21
integer maxbin nregion c minsave drx2 ! drawing region real maxdep integer maxpos integer from
Definition: Zfit.h:15
! structure defining a particle at production ! Basic idea of what is to be contained in ! the particle structue is that dynamical ones should be included those derivable from the particle code ! is not included ******************************************************type fmom momentum sequence union map real e endmap map real t endmap map ! pt before pz is set real rap endmap tm endmap endunion end type fmom ! Important say
Definition: Zptcl.h:21
block data cblkIncident data *Za1ry is
Definition: cblkIncident.h:5
! structure defining a particle at production ! Basic idea of what is to be contained in ! the particle structue is that dynamical ones should be included those derivable from the particle code ! is not included ******************************************************type fmom momentum sequence union map real e endmap map real * x
Definition: Zptcl.h:21
*Zfirst p fm *Zfirst p Zfirst p Zfirst p subcode
Definition: ZavoidUnionMap.h:1
! structure defining a particle at production ! Basic idea of what is to be contained in ! the particle structue is that dynamical ones should be included those derivable from the particle code ! is not included ******************************************************type fmom momentum sequence union map real e endmap map real t endmap map ! pt before pz is set real rap endmap tm endmap endunion end type fmom ! Important note
Definition: Zptcl.h:21