COSMOS v7.655  COSMOSv7655
(AirShowerMC)
Ztrack.h
Go to the documentation of this file.
1 ! #ifndef Ztrack_
2 ! #define Ztrack_
3 ! structure used when tracking a particle
4 ! *************************
5 #include "Zcondc.h"
6 #include "Zptcl.h"
7 #include "Zcoord.h"
8 #include "Zpos.h"
9 #include "Zdirec.h"
10 #include "Zmagfield.h"
11 ! ---------------------
12  type track ! full particle attributes in Cosmos
13  sequence
14 
15  type(ptcl):: p ! basic ptcl attributes.
16 
17 ! position and time
18  type(position):: pos
19  real*8 t ! time in length/beta (m)
20  type(direc):: vec
21  real*4 wgt ! weight for thin sampling
22  integer*2 where ! current obsSite no. (0 is initial value)
23  integer*2 asflag ! non 0, if As has been generated from this
24 ! ptcl (only for electrons)
25  real*8 user ! user use
26 #if LABELING > 0
27  integer label ! put a label (1,2,...) on each particle.
28  ! There is a global label_counter which
29  ! is cleared at the start of 1 event generation.
30  ! it is counted up when a particle is poped up from the
31  ! stack. The label_counter is given to the label of
32  ! the poped up particle. This may be needed to judge
33  ! if the same particle crosses a given observation place
34  ! more than once.
35  integer info ! for each particle, when a particle is born
36  ! this is initialized to 0. If the ptcl goes higher than
37  ! 380km, 1 is added. This is for AMS observation.
38 #endif
39  end type track
40 ! #endif /* Ztrack.h */
41 
42 
real(8), parameter, public m
Definition: cpdgXs.f:13
float real
Definition: Zdef.h:2
int integer
Definition: Zdef.h:3
block data include Zlatfit h c fitting region data data data data data d0 data data d0 data data h g *is for param c g data up(2, 1)/7.0d0/
subroutine time(xxx)
Definition: chook.f:5
Definition: Ztrack.h:44
#define LABELING
Definition: Zcondc.h:58
********************block data cblkHeavy ********************integer j data *HeavyG2symbol p
Definition: cblkHeavy.h:7
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
logical, save user
Definition: cEfield0.f:32
*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 Zfirst asflag
Definition: ZavoidUnionMap.h:1
integer maxbin nregion c minsave drx2 ! drawing region real maxdep integer maxpos integer to
Definition: Zfit.h:15
Definition: Zdirec.h:16
! parameters for primary angle sampling(-> --------------------------------------------------- complex *16 CosZenith !1 Range of cos(zenith angle). Say,(0.5, 1.0). Used when Za2ry is 'is' ! If ObsPlane=3(spherical), real(CosZenith) must be $> $0, and means ! the zenith angle range at the incident point(not in Exyz system). ! In that case, azimuth is 0 to 2pi. complex *16 Azimuth !1 Range of azimuthal angle in deg. Say,(0, 45). Default is(0, 360). ! Can be such as(300., 390.). Used when Za1ry is 'is'\newline ! If ObsPlane=3(spherical), this is used to show the half opening angle ! range where the primary injection position is uniformly distributed ! on a sphere. The center of the opening angle is(Latit, Longit, HeightOfInj). ! In this case, for the upper opening angle, min(Imag(Azimuth), 180.) is used. character *4 Za1ry !1 Specify the primary angle sampling method by one of 'is', 'ps' or 'aps'.\newline ! "is" is isotropic. The range is by CosZenith.\newline ! "ps" is for point source(See also SourceDec)\newline ! "aps" is around point source(See also SourceDec and Ddelta) \newline ! If ObsPlane=3(spherical), this must be "is". real *8 SourceDec !1 Source declination of point source.(deg) real *8 Ddelta !1 SourceDec $\pm$ Ddelta is the region for 'aps'(deg). real *8 HeightOfInj !1 The vertical height of primary injection point(m). ! If this is $<$ deepest obs. level and zeinth angle of primary is $< 0$, ! the primary is assumed to be upgoing even if Reverse=0. ! NOTE:BorderHeightH must be given explicitly in this case. real *8 OffsetHeight !2 The vertical offset height from the deepest detector. ! The primary is directed to this height above the detector. ! If ObsPlane is 3(spherical), not used. !<-) ---------------------------------------------------- common/Zincident/Azimuth
integer lengid integer lengdir character *dir integer kgetenv2 character *numb character *execid character *msg logical takehist save do nsites tkarspec nsites if(histdep(i) .gt. 0) then takehist
real(4), save a
Definition: cNRLAtmos.f:20
! common parameters for tracking(-> ------------------------------------- real *8 Deltpp !2 p-p xsection increases as $E^{Deltpp}$(E$>$ 100GeV) real *8 Deltpip !2 pi-p xsection increases as $E^{Deltpip}$(E$>$ 100GeV) real *8 Deltkp !2 k-p xsection increases as $E^{Deltkp}$(E$>$ 100GeV) real *8 IncreaseXsec !2 how the xsection increases. 1.0$\rightarrow$ power of E ! above ones are obsolete !<-) ----------------------------------- common/Zxsectionp/*Deltpp
nodes t
Definition: Zpos.h:16
*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
Definition: Zptcl.h:75
! constants used for pair brem in Air real *mbtoPX0 ! mbtoPgrm x X0g If multiplied to sigma in ! we obtain probability radation length real *X0g ! radiation length in g cm real *cScrC1 ! const which appears in the complete screening ! crossection real *cScrC2 ! the other such one real too **media Zeff **Z **real *BrScrE ! below this
Definition: ZbpCnst.h:20
integer maxbin nregion c minsave drx2 ! drawing region real maxdep integer maxpos integer from
Definition: Zfit.h:15
*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 wgt
Definition: ZavoidUnionMap.h:1
block data cblkIncident data *Za1ry is
Definition: cblkIncident.h:5