hosted by CEDAR HepForge

LHAPDF the Les Houches Accord PDF Interface


LHAPDFWrap: a C++ wrapper around the LHAPDF package

5.4

Introduction

The LHAPDFWrap library provides a set of C++ wrapper functions for the Fortran LHAPDF library. New users should browse this documentation and take a look at the TestCCWrapper.cc source file, which is a good example of how the wrapper library can be used.

Recent changes

The LHAPDF wrapper has been improved in several ways for the LHAPDF v5.4 release:

  • String passing to the Fortran functions from C++ now correctly passes the hidden length argument, fixing problems on 64 bit systems;
  • The LHAPDFWrap class has been deprecated in favour of a set of wrapper functions in the LHAPDF namespace. The class interface was misleading, since no persistent state was involved and two class instances would not have been independent;
  • Proper C++ std::string arguments can now be used for set names: char* string arguments can still be passed, due to implicit conversion via the string(char*) constructor.

Credits

  • Originally by Stefan Gieseke.
  • Adapted for LHAPDFv4 by Mike Whalley.
  • Adapted for LHAPDFv5 by Craig Group/Mike Whalley.
  • LHAPDF v5.4: Fortran portability, tidying and conversion to namespaced functions by Andy Buckley.


Generated on Fri May 23 13:03:03 2008 for LHAPDF C++ wrapper by  doxygen 1.5.5

LHAPDF is maintained by Mike Whalley at Durham University (UK)
email:m.r.whalley@durham.ac.uk phone:+44-191-334-3807 fax:+44-191-334-3658
Last updated: Fri May 23 12:52:13 2008