]> git.uio.no Git - u/mrichter/AliRoot.git/blame - GEANT321/gdraw/gdcger.F
Bugfix in AliPoints2Memory
[u/mrichter/AliRoot.git] / GEANT321 / gdraw / gdcger.F
CommitLineData
fe4da5cc 1*
2* $Id$
3*
4* $Log$
5* Revision 1.1.1.1 1995/10/24 10:20:20 cernlib
6* Geant
7*
8*
9#include "geant321/pilot.h"
10*CMZ : 3.21/02 29/03/94 15.41.26 by S.Giani
11*-- Author :
12*
13 SUBROUTINE GDCGER(CGERR)
14C.
15C. ******************************************************************
16C. * *
17C. * This subroutine returns Error Message in the CG-Object *
18C. * according to the value of CGERR. *
19C. * *
20C. * Input Parameter: *
21C. * *
22C. * CGERR: First word of the CG array *
23C. * *
24C. * *
25C. * ==>Called by : GDCGCL,GDCGOB *
26C. * *
27C. * Author : J. Salt ********** *
28C. * *
29C. ******************************************************************
30C.
31#include "geant321/gcunit.inc"
32#include "geant321/gcgobj.inc"
33*
34 IF(CGERR.LT.-0.0001)THEN
35 KCGST=-2
36 WRITE(CHMAIL,10000)
37 ELSE
38 KCGST=-3
39 WRITE(CHMAIL,10100)
40 ENDIF
41 CALL GMAIL(0,0)
42*
4310000 FORMAT(' Error in CG, Lack of Memory ')
4410100 FORMAT(' Error in CG, Wrong Shape Parameters ')
45*
46 END
47