Go to the source code of this file.
◆ cfixmodel()
subroutine cfixmodel |
( |
type(ptcl) |
aPtcl | ) |
|
Definition at line 2 of file cfixModel.f.
References antip, cerrormsg(), eprescue(), eprescueerr(), kgnuc, kkaon, and knuc.
Referenced by cforcessp(), cmuinte(), ctracking(), and init().
20 kepn= aptcl%fm%p(4)- aptcl%mass
21 if( aptcl%code .eq.
kgnuc )
then 22 kepn = kepn / aptcl%subcode
26 if( kepn .lt. inteerg(
i))
then 27 activemdl = modellist(
i)
32 call cerrormsg(
'IntModel list shown below is strange', 1)
35 write(0,*)
' current K%E/n=',kepn,
36 *
' code=',aptcl%code,
' subcode=',
37 * aptcl%subcode,
' charge=',aptcl%charge
38 write(0,*)
' NoOfMdls=', noofmdls
40 write(0,*)
' i=',
i,
' InteErg(i)=',
46 if( kepn .lt. inteerg2(
i))
then 47 activemdl2 = modellist2(
i)
52 call cerrormsg(
'XsecModel list shown below is strange', 1)
55 write(0,*)
' current K%E/n=',kepn,
56 *
' code=',aptcl%code,
' subcode=',
57 * aptcl%subcode,
' charge=',aptcl%charge
58 write(0,*)
' NoOfMdls2=', noofmdls2
60 write(0,*)
' i=',
i,
' InteErg2(i)=',
67 if( aptcl%code ==
knuc .and. aptcl%subcode ==
antip )
then 68 if(activemdl ==
"phits" )
then 72 call eprescueerr(
'phits cannot be used for p-bar', aptcl)
76 elseif(aptcl%code ==
kkaon )
then 77 if(activemdl ==
"phits" )
then 80 call eprescueerr(
'phits cannot be used for Kaon', aptcl)
subroutine cerrormsg(msg, needrtn)
subroutine eprescueerr(msg, aPtcl)
subroutine eprescue(icon)
max ptcl codes in the kgnuc
max ptcl codes in the kkaon
********************block data cblkHeavy ********************integer j data *HeavyG2symbol *data *HeavyG2code knuc
max ptcl codes in the kseethru ! subcode integer antip
◆ cqactivemdl()
subroutine cqactivemdl |
( |
character*16 |
model | ) |
|
◆ cqactivemdl2()
subroutine cqactivemdl2 |
( |
character*16 |
model | ) |
|
◆ eprescue()
subroutine eprescue |
( |
integer, intent(out) |
icon | ) |
|
Definition at line 92 of file cfixModel.f.
Referenced by cfixmodel().
103 integer,
intent(out):: icon
110 if( modellist(
i) ==
"dpmjet3")
then 113 elseif(modellist(
i) ==
"jam")
then 116 elseif( modellist(
i) ==
"nucrin")
then
◆ eprescueerr()
subroutine eprescueerr |
( |
character(*), intent(in) |
msg, |
|
|
type(ptcl) |
aPtcl |
|
) |
| |
Definition at line 126 of file cfixModel.f.
Referenced by cfixmodel().
128 character(*),
intent(in):: msg
131 write(0,
'(a)') trim(msg),
132 *
' so that dpmjet3 or jam (or nucrin) must be given in ',
133 *
' the IntModel list as a rescuee: ',
134 *
" If you don't want to use such a rescuee as a normal ",
135 *
' interaction model, you may specify it as follows:',
136 *
" IntModel='"//
'"abc" E1 "dpmjet3" E2 "xyz"',
137 *
' and set E1=E2, then, model abc is used below E1=E2. ',
138 *
' When energy is >= E1, model xyz is used. So dpmjet3 will',
139 *
' not be used at any energy. It will be used only as ',
143 write(0,
'(a, g13.4)')
' ptcl code=',aptcl%code,
144 *
' charge =',aptcl%charge,
145 *
' subcode =',aptcl%subcode,
146 *
' Ek =', aptcl%fm%p(4)-aptcl%mass,
' GeV'