#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 =
\
& _name ## _ctor_function, \
& _name ## _creator_registered );
static GFlavorMixerFactory & Instance()
GENIE interface for flavor modification.
bool RegisterCreator(std::string name, GFlavorMixerICtorFuncPtr_t ctorptr, bool *ptr)
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 =
\
& _fqname ## _ctor_function, \
& _fqname ## _creator_registered );}
static GFlavorMixerFactory & Instance()
bool RegisterCreator(std::string name, GFlavorMixerICtorFuncPtr_t ctorptr, bool *ptr)
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 =
\
& _fqname ## _ctor_function, \
& _fqname ## _creator_registered );}}
static GFlavorMixerFactory & Instance()
bool RegisterCreator(std::string name, GFlavorMixerICtorFuncPtr_t ctorptr, bool *ptr)
Definition at line 148 of file GFlavorMixerFactory.h.