]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TEvtGen/Photos/README
TENDER becomes Tender, removing .so
[u/mrichter/AliRoot.git] / TEvtGen / Photos / README
CommitLineData
f97ec6ec 1Photos C++ Interface
2--------------------
3Web page http://www.ph.unimelb.edu.au/~ndavidson/photos/doxygen/
4
5Documentation is in documentation/latex_documentation, type "make" there
6
7To 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
23To run the examples, "cd examples". There "./configure" and "make" as well.
24For some of the examples to work, pythia8.1 and MC-Tester will be needed.
25The most basic example does not need them.
26
27NOTE:
28On CERN platforms (lxplus, lxplus4, lxplus5...) the software located
29in the /afs/cern.ch/sw/lcg/ directory can be used. For that purpose execute:
30
31source platform/afs.paths.sh (or source platform/afs.paths.csh)
32
33prior to "./configure" executed without any parameters. The same paths will
34be used by examples there; "./configure" in the examples direcotry after
35compiling the interface as well.
36
37Paths defined in platform/afs.paths.sh:
38
39export HEPMCLOCATION=/afs/cern.ch/sw/lcg/external/HepMC/2.03.11/slc4_amd64_gcc34
40export PYTHIALOCATION=/afs/cern.ch/sw/lcg/external/MCGenerators/pythia8/135/slc4_amd64_gcc34
41export TAUOLALOCATION=/afs/cern.ch/sw/lcg/external/MCGenerators/tauola++/1.0.2a/slc4_amd64_gcc34
42export MCTESTERLOCATION=/afs/cern.ch/sw/lcg/external/MCGenerators/mctester/1.24/slc4_amd64_gcc34
43
44export PATH=/afs/cern.ch/sw/lcg/app/releases/ROOT/5.22.00/slc4_amd64_gcc34/root/bin:$PATH
45
46can be modified.
47
48Last Modified: T. Przedzinski, 07 Dec. 2011