[Rivet] Alpgen interface broken in AGILe 1.1.4

Andy Buckley andy.buckley at ed.ac.uk
Mon Mar 15 14:59:45 GMT 2010


On 10/03/10 11:53, Piergiulio Lenzi wrote:
> Hi!
>    it looks to me like the alpgen interface is broken in agile1.1.4.
> The Loader looks for a libAGILeAlpgen.so library that is not built 
> (actually there is no source file for such a libreary, there is an 
> AlpGen.hh header, but no .cc file with the definitions). I'm not even 
> sure why we need this, since neither AlpGenFHerwig, nor AlpGenFPythia 
> inherit from AlpGen.

Hi Giulio,

I finally got round to looking at this. Yes, you're right that neither
AlpGenFHerwig nor AlpGenFPythia *inherit* from AlpGen, but that's
because there was no nice way to multiply inherit from e.g. JIMMY and
AlpGen interface classes at the same time. What they do instead is to
contain an AlpGen *member* variable, to which the AGILe params are
passed. It's not semantically obvious, but this way avoids multiple
inheritance hell and, since the Fortran generator wrapper objects are
anyway really just setting the global common blocks, it should work.

The missing libAGILeAlpGen thing sounds like a problem, though: since
I'm not using AlpGen this hasn't been properly tested, for which I
apologise. I've fixed this in the SVN trunk: can you give it a test? If
you have AGILe commit rights, please feel free to commit fixes: these
interfaces need to be looked after as much as posisble by people who are
using them, so if you don't have commit rights, then I'll get you some!

Andy

-- 
Dr Andy Buckley
SUPA Advanced Research Fellow
Particle Physics Experiment Group, University of Edinburgh


More information about the Rivet mailing list