AIRES library reference: pclecharge.


c
c     Routine directly callable from C/C++ (it could be necessary to
c     append an underscore, "_", to its name depending on the C/C++
c     compiler used).
c
c
      function pclecharge(pcode)
c
c     Returning the charge of the particle whose code is pcode.
c
c     Written by: S. J. Sciutto, La Plata 2005, 2006.
c
c
c     Arguments:
c     =========
c
c     pcode........... (input, integer) AIRES particle code.
c
c     Return value: (integer) Particle charge.
c     ============  -9999 is returned in case of error (invalid
c                   particle code).
c
c
c<--->


These pages are maintained by
Sergio J. Sciutto
Back to AIRES library index
Back to AIRES home [HOME]