COSMOS v7.655  COSMOSv7655
(AirShowerMC)
cqUHookr.f File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine cquhookr (i, rv)
 
subroutine cquhooki (i, iv)
 
subroutine cquhookc (i, cv)
 

Function/Subroutine Documentation

◆ cquhookc()

subroutine cquhookc ( integer  i,
character*(*)  cv 
)

Definition at line 28 of file cqUHookr.f.

Referenced by chookbgrun(), and init().

28  implicit none
29 #include "Zmanagerp.h"
30 ! returns i-th userhook character variable value cv
31  integer i ! input.
32  character*(*) cv ! output. blank tail of UserHookc is omitted.
33 
34  integer klena
35  if(i .le. 0 .or. i .gt. max_userhookc) then
36 ! call cerrorMsg('out of range for cqUHookc', 0)
37  cv = ' '
38  else
39  if( klena(userhookc(i)) .gt. 0) then
40  cv = userhookc(i)(1:klena(userhookc(i)))
41  else
42  cv = ' '
43  endif
44  endif
nodes i
integer function klena(cha)
Definition: klena.f:20
Here is the caller graph for this function:

◆ cquhooki()

subroutine cquhooki ( integer  i,
integer  iv 
)

Definition at line 15 of file cqUHookr.f.

Referenced by chookbgrun(), and init().

15  implicit none
16 #include "Zmanagerp.h"
17 ! returns i-th userhook integer variable value iv
18  integer i ! input.
19  integer iv ! output. integer value
20  if(i .le. 0 .or. i .gt. max_userhooki) then
21 ! call cerrorMsg('out of range for cqUHooki', 0)
22  iv = -9999999
23  else
24  iv = userhooki(i)
25  endif
nodes i
Here is the caller graph for this function:

◆ cquhookr()

subroutine cquhookr ( integer  i,
real*8  rv 
)

Definition at line 2 of file cqUHookr.f.

References d.

Referenced by chookbgevent(), chookbgrun(), and init().

2  implicit none
3 #include "Zmanagerp.h"
4 ! returns i-th userhook real variable value r,
5  integer i ! input.
6  real*8 rv ! output. r
7  if(i .le. 0 .or. i .gt. max_userhookr) then
8 ! call cerrorMsg('out of range for cqUHookr', 0)
9  rv = -1.d-60
10  else
11  rv = userhookr(i)
12  endif
nodes i
dE dx *! Nuc Int sampling table d
Definition: cblkMuInt.h:130
Here is the caller graph for this function: