File: README

package info (click to toggle)
lhapdf 5.8.7%2Brepack-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 18,096 kB
  • sloc: fortran: 55,662; sh: 10,220; cpp: 2,033; ansic: 612; python: 488; makefile: 426
file content (41 lines) | stat: -rw-r--r-- 1,263 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
LHAPDFWrap 

FREE SOFTWARE. USE AT YOUR OWN RISK.

A C++ wrapper for the LHAPDF package.  Works with LHAPDFv2, v3.
Requires the gnu gcc compiler.

Adapted for LHAPDFv4 by Mike Whalley

INSTALLATION: 
- Unpack in a directory
- edit Makefile:
  LHAPDFDIR = "your path to libLHAPDF.a"
- edit test.cc and add the path to the member pdfs as distributed eg 
  ../PDFsets
- make
- ./test should give you some sample output for some pdf set

if all this works, you may just use the Makefile and test.cc as
templates in your own C++ programs.

WARNING!  Currently, the class is working fine if you work with only one
pdfset at a time.  Using two different sets via two different instances
of the LHAPDFWrap class is dangerous as they both point to the same
FORTRAN library in memory.

WHAT YOU HAVE TO DO: You have to reinitialise the pdfset all the time in
your code whenever you switch pdfsets.  That is cumbersome and may waste
computing time.


Stefan Gieseke (January 2005)

version 0: 	fairly cleaned up version.  Basic documentation.  Seen to
	     	work with LHAPDFv2, LHAPDFv3

version 0.1: 	Comment concerning two instances added to README

version 0.2:    Adapted by Mike Whalley for LHAPDFv4 

version 0.3:    Adapted by Craig Group/Mike Whalley for LHAPDFv5