#include <string>
#include <vector>
#include <map>
#include "Tools/Flux/GFlavorMixerI.h"
Go to the source code of this file.
#define FLAVORMIXREG |
( |
|
_name | ) |
|
Value: static bool _name ## _creator_registered = \
genie::flux::GFlavorMixerFactory::Instance().RegisterCreator(# _name, \
& _name ## _ctor_function, \
& _name ## _creator_registered );
GENIE interface for flavor modification.
Definition at line 133 of file GFlavorMixerFactory.h.
#define FLAVORMIXREG3 |
( |
|
_ns, |
|
|
|
_name, |
|
|
|
_fqname |
|
) |
| |
Value:namespace _ns { \
genie::flux::GFlavorMixerI* _name ## _ctor_function () { return new _fqname; } \
static bool _name ## _creator_registered = \
genie::flux::GFlavorMixerFactory::Instance().RegisterCreator(# _fqname, \
& _fqname ## _ctor_function, \
& _fqname ## _creator_registered );}
Definition at line 140 of file GFlavorMixerFactory.h.
#define FLAVORMIXREG4 |
( |
|
_nsa, |
|
|
|
_nsb, |
|
|
|
_name, |
|
|
|
_fqname |
|
) |
| |
Value:namespace _nsa { \
namespace _nsb { \
genie::flux::GFlavorMixerI* _name ## _ctor_function () { return new _fqname; } \
static bool _name ## _creator_registered = \
genie::flux::GFlavorMixerFactory::Instance().RegisterCreator(# _fqname, \
& _fqname ## _ctor_function, \
& _fqname ## _creator_registered );}}
Definition at line 148 of file GFlavorMixerFactory.h.