File: AmegicInterface.h
Description:
AmegicInterface is a class used to interface the
functions in Amegic with Herwig++. In particular, the total
cross section and momentum generation functions are interfaced.
See
also:
namespace Herwig
using namespace ThePEG;
using namespace AMEGIC;
CLASS
AmegicInterface
Base class:
Public members:
inline AmegicInterface();
inline AmegicInterface(const AmegicInterface &);
~AmegicInterface();
Standard ctors and dtor
ParticleVector OneEvent(bool anti = false);
inline PDVector parents();
inline PDVector children();
void persistentOutput(PersistentOStream &os) const;
void persistentInput(PersistentIStream &is, int i);
static void Init();
virtual void doupdate() throw(UpdateException);
virtual void doinit() throw(InitException);
virtual void dofinish();
static Flavour convertParticle(PDPtr);
Protected members:
virtual IBPtr clone() const;
virtual IBPtr fullclone() const;
Standard clone methods
inline virtual void rebind(const TranslationMap &trans) throw(RebindException);
Change all pointers to Interfaced objects corresponding clones
inline virtual IVector getReferences();
Return pointers to all Interfaced objects referred to by this.
virtual void readSetup(istream &is) throw(SetupException);
Read setup info from the standard stream
Private members:
static ClassDescription<AmegicInterface> initAmegicInterface;
AmegicInterface & operator=(const AmegicInterface &);
Private and non-existant assignment operator
void initializeAmegic();
void setProcess(string);
PDVector createParticles(string);
Amegic *process;
string setupDirectory;
string processString;
PDVector inParticles;
PDVector outParticles;
bool initialized;
double crossSection;
namespace ThePEG
STRUCT
BaseClassTrait<Herwig::AmegicInterface,1>
Public members:
typedef ThePEG::Interfaced NthBase;
STRUCT
ClassTraits<Herwig::AmegicInterface>:
Public members:
static string className() { return "/Herwig++/AmegicInterface"; }
static string libName() { return "libHwInterfaces.so"; }
DEFINED MACROS
INCLUDED FILES
ThePEG/Interface/Interfaced.h
Amegic.H
ThePEG/Config/ThePEG.h
Herwig++/Config/Herwig.h
ThePEG/Repository/Strategy.fh
fstream
AmegicInterface.icc