Go to the source code of this file.
◆ cqinirn()
subroutine cqinirn |
( |
integer, dimension(2) |
ir | ) |
|
◆ creadseed()
Definition at line 77 of file cwriteSeed.f.
References cerrormsg(), and true.
Referenced by ceventloop().
78 #include "Zmanagerp.h" 80 integer ir(2), no, jeof
89 read(seedfiledev, *, end=100) ir, nn
90 if(nn .ge. eventno)
goto 200
98 *
'No more events to be fleshed',1)
100 *
'EOF of the seed file reached', 1)
103 *
'2nd time to read EOF of the seed file',0)
subroutine cerrormsg(msg, needrtn)
block data cblkElemag data *AnihiE ! Eposi< 1 TeV, anihilation considered *X0/365.667/, ! radiation length of air in kg/m2 *Ecrit/81.e-3/, ! critical energy of air in GeV *MaxComptonE/1./, ! compton is considered below 1 GeV *MaxPhotoE/1.e-3/, ! above this, PhotoElectric effect neg. *MinPhotoProdE/153.e-3/, ! below 153 MeV, no gp --> hadrons ! scattering const not MeV *Knockon true
◆ cwriteseed()
subroutine cwriteseed |
( |
| ) |
|
Definition at line 15 of file cwriteSeed.f.
References cgetfname(), false, and true.
Referenced by ceventloop(), and chookenevent().
16 #include "Zmanagerp.h" 25 #elif defined PCLinuxIFC 32 #elif defined DECALPHA 34 #elif defined CF_AlphaLinux 55 open(seedfiledev, file=fn(1:
klena(fn)),
56 * form=
'formatted',
position=
'append')
59 open(seedfiledev, file=fn(1:
klena(fn)),
60 * form=
'formatted', status=
'old')
62 open(seedfiledev, file=fn(1:
klena(fn)),
63 * form=
'formatted', access=
'append')
68 write(seedfiledev, *) seedsave, eventno+1
subroutine cgetfname(fnin, fn)
block data cblkElemag data *AnihiE ! Eposi< 1 TeV, anihilation considered *X0/365.667/, ! radiation length of air in kg/m2 *Ecrit/81.e-3/, ! critical energy of air in GeV *MaxComptonE/1./, ! compton is considered below 1 GeV *MaxPhotoE/1.e-3/, ! above this, PhotoElectric effect neg. *MinPhotoProdE/153.e-3/, ! below 153 MeV, no gp --> hadrons ! scattering const not MeV *Knockon true
integer function klena(cha)
block data cblkElemag data *AnihiE ! Eposi< 1 TeV, anihilation considered *X0/365.667/, ! radiation length of air in kg/m2 *Ecrit/81.e-3/, ! critical energy of air in GeV *MaxComptonE/1./, ! compton is considered below 1 GeV *MaxPhotoE/1.e-3/, ! above this, PhotoElectric effect neg. *MinPhotoProdE/153.e-3/, ! below 153 MeV, no gp --> hadrons ! scattering const not MeV *Knockon ! knockon is considered Obsolete *PhotoProd false