1717
1818#include " Common/Core/TableHelper.h"
1919
20- #include < string>
21-
2220#include " Framework/InitContext.h"
2321#include " Framework/RunningWorkflowInfo.h"
2422
23+ #include < string>
24+
2525// / Function to print the table required in the full workflow
2626// / @param initContext initContext of the init function
27- void printTablesInWorkflow (o2::framework::InitContext& initContext)
27+ void o2::common::core:: printTablesInWorkflow (o2::framework::InitContext& initContext)
2828{
2929 auto & workflows = initContext.services ().get <o2::framework::RunningWorkflowInfo const >();
3030 for (auto const & device : workflows.devices ) {
@@ -37,7 +37,7 @@ void printTablesInWorkflow(o2::framework::InitContext& initContext)
3737// / Function to check if a table is required in a workflow
3838// / @param initContext initContext of the init function
3939// / @param table name of the table to check for
40- bool isTableRequiredInWorkflow (o2::framework::InitContext& initContext, const std::string& table)
40+ bool o2::common::core:: isTableRequiredInWorkflow (o2::framework::InitContext& initContext, const std::string& table)
4141{
4242 LOG (debug) << " Checking if table " << table << " is needed" ;
4343 bool tableNeeded = false ;
@@ -57,7 +57,7 @@ bool isTableRequiredInWorkflow(o2::framework::InitContext& initContext, const st
5757// / @param initContext initContext of the init function
5858// / @param table name of the table to check for
5959// / @param flag bool value of flag to set, if the given value is true it will be kept, disregarding the table usage in the workflow.
60- void enableFlagIfTableRequired (o2::framework::InitContext& initContext, const std::string& table, bool & flag)
60+ void o2::common::core:: enableFlagIfTableRequired (o2::framework::InitContext& initContext, const std::string& table, bool & flag)
6161{
6262 if (flag) {
6363 LOG (info) << " Table enabled: " + table;
@@ -75,7 +75,7 @@ void enableFlagIfTableRequired(o2::framework::InitContext& initContext, const st
7575// / @param initContext initContext of the init function
7676// / @param table name of the table to check for
7777// / @param flag int value of flag to set, only if initially set to -1. Initial values of 0 or 1 will be kept disregarding the table usage in the workflow.
78- void enableFlagIfTableRequired (o2::framework::InitContext& initContext, const std::string& table, int & flag)
78+ void o2::common::core:: enableFlagIfTableRequired (o2::framework::InitContext& initContext, const std::string& table, int & flag)
7979{
8080 if (flag > 0 ) {
8181 flag = 1 ;
0 commit comments