Commit 5704e84b authored by Stefan Hoeche's avatar Stefan Hoeche
Browse files

bugfixes for pgs interface on darwin

(svn merge -c19184 -c19250 -c19259 trunk)
parent f7f76de0
......@@ -11,6 +11,8 @@
#include "ATOOLS/Org/Shell_Tools.H"
#include "ATOOLS/Org/Data_Reader.H"
namespace HZTOOL {
typedef void (*HZTool_Analysis)(int *flag);
class HZTool_Interface: public SHERPA::Analysis_Interface {
......@@ -384,3 +386,5 @@ void HZTool_Interface_Getter::PrintInfo
{
str<<"HZTool interface";
}
}// end of namespace HZTOOL
PGS_SOURCES = \
pgs_interface.f \
pgs_finterface.f \
PGS_Interface.C
AM_FFLAGS = -fno-automatic
......@@ -9,6 +9,7 @@ if PGS_SUPPORT
pkglib_LTLIBRARIES = libPGSSherpa.la
libPGSSherpa_la_SOURCES = $(PGS_SOURCES)
libPGSSherpa_la_LIBADD = @CONDITIONAL_PGSLIBS@
else
PGS_EXTRA_DIST = $(PGS_SOURCES)
endif
......
......@@ -50,6 +50,8 @@ extern struct {
}
namespace PGS {
struct MD_Info {
int m_n, m_c, m_mo[2], m_da[2];
inline MD_Info(const int n=0): m_n(n), m_c(0)
......@@ -259,3 +261,5 @@ void PGS_Interface_Getter::PrintInfo
{
str<<"PGS interface";
}
}// end of namespace PGS
......@@ -114,13 +114,14 @@ Sherpa is equipped with an interface to StdHEP, which can be used to pass events
To enable the interface, PGS must be installed and your Sherpa compilation has to be
configured with the following options:
@verbatim
./configure --enable-pgs=/path/to/pgs
./configure --enable-pgs=/path/to/pgs --enable-hepevtsize=4000
@end verbatim
To use the interface, specify the switch
To use the interface, run Sherpa with
@verbatim
Sherpa ANALYSIS=PGS
@end verbatim
or specify @code{ANALYSIS PGS;} in the @option{(run)} section of your input file.
and create an analysis section in @code{Run.dat} that reads as follows:
@verbatim
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment