COSMOS v7.655  COSMOSv7655
(AirShowerMC)
cseeColPossible.f
Go to the documentation of this file.
1  subroutine cseecolpossible(pj, icon)
2  implicit none
3 
4 #include "Zptcl.h"
5 ! #include "Zkfcode.h"
6 ! #include "Zmanagerp.h"
7 ! #include "Zevhnp.h"
8 #include "Zevhnv.h"
9 #include "Zcode.h"
10 ! #include "Zmass.h"
11  type(ptcl):: pj ! input. hadronic projectile particle
12  ! which is going to make the collision
13  ! fixed by epfixProc or cfixProc
14  ! **** Must not be called for other interactions *****
15  integer,intent(out)::icon ! 0. The interaction is
16  ! acceptable.
17  !-1 not acceptable. This happend when
18  ! the interacion is collision and
19  ! the current interacion model cannot
20  ! manage it. The user must force the
21  ! projectile to decay. (pj is Simga etc)
22 
23  icon = 0
24  select case(activemdl)
25  case('phits')
26  if( pj%code == kpion .and. pj%charge == 0) then
27  icon = -1
28 ! elseif( pj.code == kkaon .and. pj.charge == 0 ) then
29  elseif( pj%code == kkaon ) then ! from v 7.633
30  ! at cfixModel, phits might be
31  ! already not assigned
32  icon = -1
33  elseif( pj%code >= klambda .or. pj%code == kdmes ) then
34  icon = -1
35  endif
36  case('jam')
37  if( pj%code == kpion .and. pj%charge == 0) then
38  icon = -1 ! revived v9.153
39 
40 ! elseif( pj.code == kkaon .and. pj.charge == 0 ) then
41 ! original jam should be ok
42 ! icon = -1
43 ! elseif( pj.code >= klambda .or. pj.code == kdmes ) then
44 ! cjam.f manage these as n or p
45 ! icon = -1
46 !
47  endif
48 
49 !
50 ! data RegMdls/'phits', 'jam', 'dpmjet3', 'fritiof7.02',
51 ! * 'fritiof1.6',
52 ! * 'gheisha', 'nucrin', 'ad-hoc', 'incdpm3', 'qgsjet2'/
53 !
54  case('nucrin' )
55 ! seems ok ??
56 ! if( pj.code == kpion .and. pj.charge == 0) then
57 ! icon = -1
58 ! elseif( pj.code == kkaon .and. pj.charge == 0 ) then
59 ! icon = -1
60  if( pj%code >= klambda .or. pj%code == kdmes ) then
61  icon = -1
62  endif
63 
64  case('epos')
65 ! if( pj.code == kdmes .or. pj.code == 'kgzai') then
66  if( pj%code == kdmes ) then
67  icon = -1
68  endif
69  case('sibyll')
70  if( pj%code > klambda .or. pj%code == kdmes ) then
71  icon = -1
72  endif
73  case('fritiof1.6')
74 ! seems ok??
75 ! if( pj.code == kpion .and. pj.charge == 0) then
76 ! icon = -1
77 ! elseif( pj.code == kkaon .and. pj.charge == 0 ) then
78 ! icon = -1
79  if( pj%code >= klambda .or. pj%code == kdmes ) then
80  icon = -1
81  endif
82  case('dpmjet3')
83  if( pj%code == keta ) then
84  icon = -1
85  elseif( pj%code == kgzai .and. pj%fm%p(4)<= 9.d0) then
86  icon = -1
87  endif
88  end select
89 ! managed inside, mostly
90 ! case('dpmjet3')
91 ! case('qgsjet2')
92 ! case('gheisha')
93 ! case('fritiof7.02')
94 ! case('incdpm3')
95 ! case('ad-hoc')
96 
97  end
max ptcl codes in the kgzai
Definition: Zcode.h:2
max ptcl codes in the kdmes
Definition: Zcode.h:2
subroutine cseecolpossible(pj, icon)
max ptcl codes in the kkaon
Definition: Zcode.h:2
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
Definition: cblkEvhnp.h:5
max ptcl codes in the klambda
Definition: Zcode.h:2
max ptcl codes in the keta
Definition: Zcode.h:2
Definition: Zptcl.h:75
max ptcl codes in the kpion
Definition: Zcode.h:2