]>
Commit | Line | Data |
---|---|---|
f97ec6ec | 1 | Photos C++ Interface |
2 | -------------------- | |
3 | Web page http://www.ph.unimelb.edu.au/~ndavidson/photos/doxygen/ | |
4 | ||
5 | Documentation is in documentation/latex_documentation, type "make" there | |
6 | ||
7 | To compile the interface: | |
8 | - Execute "./configure" (if the path to HepMC is not set with | |
9 | HEPMCLOCATION, use "./configure --with-hepmc=<path>" | |
10 | or use "./configure --without-hepmc") | |
11 | - Execute "make" | |
12 | ||
13 | -------------------------------------- | |
14 | Alternatively cofiguration scripts based on autotools can be used. | |
15 | In this case 'cd platform', './use-LCG-config.sh' and | |
16 | follow the instructions in the freshly created './INSTALL' readme file. | |
17 | The configure file in the directory 'examples' will be absent. | |
18 | The instructions collected below should be then ignored. | |
19 | Under MAC OS one may need to remove '-lfreetype' from | |
20 | 'examples/Makefile' | |
21 | -------------------------------------- | |
22 | ||
23 | To run the examples, "cd examples". There "./configure" and "make" as well. | |
24 | For some of the examples to work, pythia8.1 and MC-Tester will be needed. | |
25 | The most basic example does not need them. | |
26 | ||
27 | NOTE: | |
28 | On CERN platforms (lxplus, lxplus4, lxplus5...) the software located | |
29 | in the /afs/cern.ch/sw/lcg/ directory can be used. For that purpose execute: | |
30 | ||
31 | source platform/afs.paths.sh (or source platform/afs.paths.csh) | |
32 | ||
33 | prior to "./configure" executed without any parameters. The same paths will | |
34 | be used by examples there; "./configure" in the examples direcotry after | |
35 | compiling the interface as well. | |
36 | ||
37 | Paths defined in platform/afs.paths.sh: | |
38 | ||
39 | export HEPMCLOCATION=/afs/cern.ch/sw/lcg/external/HepMC/2.03.11/slc4_amd64_gcc34 | |
40 | export PYTHIALOCATION=/afs/cern.ch/sw/lcg/external/MCGenerators/pythia8/135/slc4_amd64_gcc34 | |
41 | export TAUOLALOCATION=/afs/cern.ch/sw/lcg/external/MCGenerators/tauola++/1.0.2a/slc4_amd64_gcc34 | |
42 | export MCTESTERLOCATION=/afs/cern.ch/sw/lcg/external/MCGenerators/mctester/1.24/slc4_amd64_gcc34 | |
43 | ||
44 | export PATH=/afs/cern.ch/sw/lcg/app/releases/ROOT/5.22.00/slc4_amd64_gcc34/root/bin:$PATH | |
45 | ||
46 | can be modified. | |
47 | ||
48 | Last Modified: T. Przedzinski, 07 Dec. 2011 |