Skip to content
Snippets Groups Projects
Commit cfe23793 authored by scott snyder's avatar scott snyder
Browse files

CavernBkgGenerator: Fix compilation warnings.

compilation warnings: fortran non-local branch; use of deprecated Gaudi
header PropertyMgr.h.
parent 8910beb0
No related branches found
No related tags found
1 merge request!20779WIP: Migrate DataQualityTools to ToolHandles
......@@ -4,10 +4,6 @@
#include "CavernBkgGenerator/GenerateCavernBkg.h"
#include "GaudiKernel/IDataProviderSvc.h"
#include "GaudiKernel/AlgFactory.h"
#include "GaudiKernel/PropertyMgr.h"
#include "HepPDT/ParticleData.hh"
#include "CLHEP/Random/RandFlat.h"
......
......@@ -46,6 +46,8 @@ C PARAMETER (FO=8)
DATA G32PDG/ 22, -11, 11, 12, 13, -13, 111, 211, -211, 130,
> 321, -321, 2112, 2212, -2212, 310, 221, 3122, 3222, 3212,
> 3112, 3322, 3312, 3334, -2112/
logical retry
C Check FIRST
IF (FIRST) THEN
FIRST=.FALSE.
......@@ -73,8 +75,10 @@ C Loop here
ITO=ITYPE
CALL UCOPY(VECT,VECTO,3)
C Check ISTAT==0
IF (ISTAT.EQ.0) THEN
5020 CLOSE(LUN)
retry = .false.
5020 IF (ISTAT.EQ.0 .or. retry) THEN
retry = .false.
CLOSE(LUN)
IC0=ICHAR('0')
IC9=ICHAR('9')
ICS=ICHAR('/')
......@@ -94,8 +98,10 @@ C Check IC>IC0
IF (IC.GT.IC0)GO TO 5032
5031 CONTINUE
5032 CONTINUE
retry = .true.
OPEN (LUN,FILE=INPUT,FORM='UNFORMATTED',STATUS='OLD',
> ERR=5020)
retry = .false.
NFILE=NFILE+1
ISTAT=1
C Check IEVNT>100
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment