COSMOS v7.655  COSMOSv7655
(AirShowerMC)
Zprimary.h
Go to the documentation of this file.
1 #include "Zmaxdef.h"
2 
3 ! this is Primary class data type definition
4 ! Note that primary angle information is not here.
5 !
6  integer NoOfSymbols, ! max # of primary type symbols
7  * maxSegments, ! max # of segments in each primary
8  * maxNoOfComps, ! max # of components usable
9 ! at a time
10  * maxErgUnit ! max # of energy unit symbols
11  parameter (NoOfSymbols = 67,
12 #ifdef MAX_SEGMENTS
14 #else
15  * maxSegments = 40,
16 #endif
17 #ifdef MAX_NO_OF_COMPS
19 #else
20  * maxNoOfComps = 8,
21 #endif
22  * maxErgUnit=7 )
23 !
24  type component ! 1 component of 1ry
25  sequence
26  integer label ! composition label number
27  character*12 symb ! 'P', 'gamma' etc
28  character*3 eunit ! 'GeV' etc
29  character*4 etype ! 'KE/n' etc
30  character*1 diff_or_inte ! 'd' or 'i'
31  real*8 flatterer ! dI/dE*E**flatterer
32  real*8 cut ! lower cut off.
33  real*8 cut2 ! upper cut off.
34  real*8 energy(maxSegments+1) ! segment left energy
35  real*8 flux(maxSegments+1) ! input flux
36 ! dI/dE * E**flatterer
37 ! above: from input table directly
38 ! below: made by subroutines
39  integer code, subcode, charge ! particle code
40  real*8 togev
41 
42 !!!!! real*8 diff(maxSegments+1) ! diff. flux
43  real*8 norm_inte(maxSegments+1) ! normalized
44 ! integral flux > E at segment left value
45  real*8 beta(maxSegments+1) ! dI/dE=(true flux)=
46 ! const*E**(-beta)
47  integer no_of_seg ! no of segments given
48  real*8 inte_value ! integral flux from min. E
49  real*8 emin, emax ! min and max energy defined
50 ! integer histnbin
51 ! parameter (histnbin = 30)
52 ! type(histgl):: comphist
53  end type component
54 ! *******************************************
55  type primaries ! 1 set of primaries.
56  sequence
57  type(component):: each(maxNoOfComps)
58  real*8 cummInteFlux(maxNoOfComps)
59  integer no_of_comps ! how many diff. compositions
60  integer NoOfSamplings ! total number of samplings including ones discarded by cutoff
61  integer NoOfSampComp(maxNoOfComps, 2) ! 1 is for number of sampling including
62  ! discarded ones due to cutoff. 2 is only for
63  ! employed ones.
64 ! after a sampling of a 1ry, the following
65 ! is fixed.
66  integer label ! sampled primary label
67  real*8 sampled_e ! sampled energy(or momentum) as
68 ! defined in etype. If this is
69 ! in total energy in GeV, it is the
70 ! same as particle.fm.e
71  type(ptcl):: particle
72  end type primaries
73 
74 
const int NoOfSymbols
Definition: Zprimary.h:14
#define MAX_SEGMENTS
Definition: Zmaxdef.h:3
float real
Definition: Zdef.h:2
int integer
Definition: Zdef.h:3
dE dx *! Nuc Int sampling table e
Definition: cblkMuInt.h:130
subroutine time(xxx)
Definition: chook.f:5
block data cblkMuInt integer i ! Pair total X sec data(MuPrTX(i), i=1, 38)/1 0.431132E-02
! this is Primary class data type definition Note that primary angle information is not here integer NoOfSymbols max of primary type symbols ! max ! max ! at a time *maxErgUnit ! max parameter(NoOfSymbols=67, *maxSegments=MAX_SEGMENTS, *maxNoOfComps=MAX_NO_OF_COMPS, *maxErgUnit=7) ! type component ! 1 component of 1ry sequence integer label ! composition label number character *12 symb ! 'P'
! 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
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
! this is Primary class data type definition Note that primary angle information is not here integer NoOfSymbols max of primary type symbols * maxSegments
Definition: Zprimary.h:3
integer maxbin nregion c minsave drx2 ! drawing region real maxdep integer maxpos integer to
Definition: Zfit.h:15
! 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 define below If DEBUG_STRANGECODE is you should not give the below ! if none of above two is defined
Definition: ZstrangeCode.h:3
! 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
real cut integer ncpi0 common Zuserc cut
Definition: Zprivate.h:1
#define MAX_NO_OF_COMPS
Definition: Zmaxdef.h:4
*Zfirst p fm *Zfirst p Zfirst p Zfirst p *Zfirst p charge
Definition: ZavoidUnionMap.h:1
real(4), save a
Definition: cNRLAtmos.f:20
real E
Definition: Zflux.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
! this is Primary class data type definition Note that primary angle information is not here integer NoOfSymbols max of primary type symbols ! max * maxNoOfComps
Definition: Zprimary.h:3
block data cblkIncident data *Za1ry is
Definition: cblkIncident.h:5
*Zfirst p fm *Zfirst p Zfirst p Zfirst p subcode
Definition: ZavoidUnionMap.h:1
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 Note
Definition: cblkElemag.h:7