64 LOG(
"test",
pINFO) <<
"Instantiate a concrete algorithm";
65 AlgId id(
"genie::QELPXSec",
"CC-Default");
69 LOG(
"test",
pINFO) <<
"Access its configuration at the config pool";
75 LOG(
"test",
pINFO) <<
"Modifying registry";
76 r->
Set(
"CabbiboAngle",0.25);
110 LOG(
"test",
pINFO) <<
"Instantiate a concrete algorithm";
111 AlgId id(
"genie::QELPXSec",
"CC-Default");
117 LOG(
"test",
pINFO) <<
"Adopting substructure";
126 LOG(
"test",
pINFO) <<
"Taking a clone of the deep config registry:";
130 LOG(
"test",
pINFO) <<
"Modifying parameters at the deep registry";
131 r.
Set(
"CabbiboAngle", 0.23);
132 r.
Set(
"FormFactorsAlg/MuN", -1.92);
133 r.
Set(
"FormFactorsAlg/ElFormFactorsAlg/MuN",-1.92);
135 LOG(
"test",
pINFO) <<
"Modified deep config registry:";
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE,...
A singleton class holding all configuration registries built while parsing all loaded XML configurati...
Registry * FindRegistry(string key) const
static AlgConfigPool * Instance()
The GENIE Algorithm Factory.
const Algorithm * GetAlgorithm(const AlgId &algid)
static AlgFactory * Instance()
Algorithm * AdoptAlgorithm(const AlgId &algid) const
void ForceReconfiguration(bool ignore_alg_opt_out=false)
Algorithm ID (algorithm name + configuration set name)
Algorithm abstract base class.
void AdoptSubstructure(void)
virtual const Registry & GetConfig(void) const
virtual void Configure(const Registry &config)
A registry. Provides the container for algorithm configuration parameters.
void Set(RgIMapPair entry)
void UnLock(void)
unlocks the registry (doesn't unlock items)
Cross Section Calculation Interface.
void testReconfigInOwnedModules(void)
void testReconfigInCommonPool(void)
THE MAIN GENIE PROJECT NAMESPACE