COSMOS v7.655  COSMOSv7655
(AirShowerMC)
cqEventNo.f
Go to the documentation of this file.
1 ! inquire the event number
2  subroutine cqeventno(num, cumnum)
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
13  end
14 ! added in v7.642; may be used form chookBgEvent
15 ! when the user resets the primary by reading a file
16 ! which stores 1ry information, but the file is
17 ! exhausted. (see Readme in Util/Atmnc3/Interface/)
18  subroutine cresetdestevno(num)
19  implicit none
20 #include "Zmanagerp.h"
21  integer,intent(in):: num
22  desteventno(2) = num
23  end
subroutine cqeventno(num, cumnum)
Definition: cqEventNo.f:3
subroutine cresetdestevno(num)
Definition: cqEventNo.f:19