22 using std::ostringstream;
24 using namespace genie;
28 Algorithm(
"genie::EventGeneratorListAssembler")
34 Algorithm(
"genie::EventGeneratorListAssembler", config)
48 "Loading requested Event Generators", 0,
'-');
54 <<
"** Using Tune Generator List: " ;
72 for(
int ip = 0; ip < nproc; ip++) {
74 evgl->push_back(evgen);
83 ostringstream alg_key;
84 alg_key <<
"Generator-" << ip;
91 <<
"** Loaded generator: " << evgen->
Id().
Key();
EventGeneratorListAssembler()
EventGeneratorList * AssembleGeneratorList()
Defines the EventGeneratorI interface.
Algorithm abstract base class.
RgInt GetInt(RgKey key) const
virtual const Registry & GetConfig(void) const
~EventGeneratorListAssembler()
int AddTopRegistry(Registry *rp, bool owns=true)
add registry with top priority, also update ownership
virtual const AlgId & Id(void) const
Get algorithm ID.
static RunOpt * Instance(void)
const EventGeneratorI * LoadGenerator(int ip)
string PrintFramedMesg(string mesg, unsigned int nl=1, const char f='*')
A vector of EventGeneratorI objects.
#define SLOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a short string (using the FUNCTION and...
static AlgConfigPool * Instance()
const Algorithm * SubAlg(const RgKey ®istry_key) const