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

Go to the source code of this file.

Functions/Subroutines

subroutine cqeventno (num, cumnum)
 
subroutine cresetdestevno (num)
 

Function/Subroutine Documentation

◆ cqeventno()

subroutine cqeventno ( integer  num,
integer  cumnum 
)

Definition at line 3 of file cqEventNo.f.

Referenced by chookeabsorbw(), chookenevent(), and cmemorize().

3  implicit none
4 #include "Zmanagerp.h"
5  integer num ! output. number of events in the current run
6  integer cumnum ! output. cummulative number of events so far.
7 ! may be used after the initialization of an event, then
8 ! this gives the number for that event.
9 !
10 
11  num = eventsintherun
12  cumnum = eventno
Here is the caller graph for this function:

◆ cresetdestevno()

subroutine cresetdestevno ( integer, intent(in)  num)

Definition at line 19 of file cqEventNo.f.

19  implicit none
20 #include "Zmanagerp.h"
21  integer,intent(in):: num
22  desteventno(2) = num