Commit 9eeda7f4 authored by Jérémie Dudouet's avatar Jérémie Dudouet
Browse files

Correction of the libAGAPRO_TreeBuilder library generation

parent d30e8b8e
#include "AGAPRO_TreeBuilder.h"
#ifdef HAS_MFM
#include "AGAPRO_TB_AgNedDiam.h"
#endif
using namespace AGAPRO;
extern "C" {
TreeBuilder *process_register (UInt_t *error_code)
{
if( (TreeBuilder::gActualClass.size() == 0) || (TreeBuilder::gActualClass == "basic") ) {
return new TreeBuilder();
}
#ifdef HAS_MFM
else if(TreeBuilder::gActualClass == "TB_AgNedDiam") {
return new TB_AgNedDiam();
}
#endif
else
{
std::cout << "\nERROR : TreeBuilder::gActualClass " << TreeBuilder::gActualClass << " not recognised\n";
return NULL;
}
}
void process_config (const char *directory_path, UInt_t *error_code)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment