Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit 8ad0fabb authored by dudouet's avatar dudouet
Browse files

adapt femul to be able to use the Basic_ATSB builder (used for neda and...

adapt femul to be able to use the Basic_ATSB builder (used for neda and diamant) in the femul topology


git-svn-id: svn://gal-serv.lnl.infn.it/agata/trunk/narval_emulator@1311 170316e4-aea8-4b27-aad4-0380ec0519c9
parent ddc2f717
......@@ -105,6 +105,7 @@ ${ACTORS}/filters/Ancillary ${ACTORS}/filters/Ancillary/includeVME
${ACTORS}/filters/PSA ${ACTORS}/filters/PSA/includePSA
${ACTORS}/filters/PostPSA
${ACTORS}/filters/Global
${ACTORS}/filters/BasicATSB
${ACTORS}/filters/Tracking ${ACTORS}/filters/Tracking/includeOFT ${ACTORS}/filters/Tracking/includeMGT
${ACTORS}/builders
${AGADIR}/include
......@@ -145,6 +146,7 @@ ${ACTORS}/filters/PSA/PSAFilterGridSearch.cpp
${ACTORS}/filters/PSA/includePSA/SignalBasis.cpp
${ACTORS}/filters/PostPSA/PostPSAFilter.cpp
${ACTORS}/filters/Global/GlobalFilter.cpp
${ACTORS}/filters/BasicATSB/AGAPRO_BasicATSB.cpp
${ACTORS}/filters/Tracking/TrackingFilter.cpp
${ACTORS}/filters/Tracking/TrackingFilterOFT.cpp
${ACTORS}/filters/Tracking/TrackingFilterMGT.cpp
......
......@@ -59,6 +59,7 @@ FILTER AncillaryFilterATCA
FILTER GlobalFilter
FILTER TrackingFilterOFT
FILTER TrackingFilterMGT
FILTER BasicATSB
CONSUMER BasicAFC
CONSUMER None pseudo-actor to close a chain without output
DISPATCHER BuilderName pseudo actor to connect the output of a chain to an input queue of a BUILDER
......@@ -99,6 +100,8 @@ DISPATCHER BuilderName pseudo actor to connect the output of a chain to an i
#ifdef ENABLE_GLOBAL_FILTER
#include "GlobalFilter.h" // 35 350
#endif
#include "AGAPRO_BasicATSB.h" // 36 360
// 4 CONSUMER
// None // 40 400 fake, used as last of a chain
#include "BasicAFC.h" // 41 410 no mother-daughter model
......@@ -852,6 +855,10 @@ void listKeysAndExit()
pf5->GetParameters("", true);
delete pf5;
AGAPRO::BasicATSB *pf6 = new AGAPRO::BasicATSB;
pf6->GetParameters("", true);
delete pf6;
exit(EXIT_SUCCESS);
}
......@@ -1063,6 +1070,18 @@ bool topologyConfNew()
ELSE_UNKNOWNCLASS(nc);
}
#endif
// 36
else if(pActor->libName == "BasicATSB") {
cout << "BasicATSB ..." << endl;
AGAPRO::BasicATSB::process_config(pActor->libConf.c_str(), &error_config);
IF_ERRORCONFIG(error_config);
pActor->libName = AGAPRO::BasicATSB::gActualClass.empty() ? "BasicATSB" : AGAPRO::BasicATSB::gActualClass;
if(pActor->libName == "BasicATSB") {
pActor->nrvPointer = new AGAPRO::BasicATSB;
pActor->libItem = 360;
}
ELSE_UNKNOWNCLASS(nc);
}
ELSE_UNKNOWNCLASS(nc);
break;
case CONSUMER: //// 4
......@@ -1316,13 +1335,20 @@ bool topologyConfNew()
GlobalFilter::process_config(pActor->libConf.c_str(), &error_config);
if(error_config) {cout << pActor->libName << "::process_config failed" << endl; return false;}
pActor->nrvPointer = new GlobalFilter;
pActor->libItem = 6;
pActor->libItem = 7;
}
else {
cout << "Unknown class [ " << nc << " " << nc << " ] " << pActor->libName << endl;
return false;
}
#endif
else if(pActor->libName == "BasicATSB") {
cout << "BasicATSB ..." << endl;
AGAPRO::BasicATSB::process_config(pActor->libConf.c_str(), &error_config);
if(error_config) {cout << pActor->libName << "::process_config failed" << endl; return false;}
pActor->nrvPointer = new AGAPRO::BasicATSB;
pActor->libItem = 8;
}
break;
case CONSUMER:
if(pActor->libName == "None" || pActor->libName == "none") {
......
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