Commit c38985abfb473bfec474f3d1421395969131f647

Authored by Hacene SI HADJ MOHAND
1 parent f784189d

semi variable traitement

src/ExternLib/GetMavenStaticEnergy/GetMavenStaticEnergyProcess.cc
... ... @@ -52,6 +52,9 @@ TimeStamp GetMavenStaticEnergyProcess::init() {
52 52 _paramData->setMinSampling(_paramInput->getMinSampling());
53 53 return timeStamp;
54 54 }
  55 +AMDA::Parameters::SemiVariableTable GetMavenStaticEnergyProcess::getSemiVariableTable(){
  56 +
  57 +}
55 58  
56 59 } /* namespace MavenStatic */
57 60 } /* namespace AMDA */
... ...
src/ExternLib/GetMavenStaticEnergy/GetMavenStaticEnergyProcess.hh
... ... @@ -37,6 +37,10 @@ namespace MavenStatic {
37 37 * @overload Process::init()
38 38 */
39 39 AMDA::Parameters::TimeStamp init();
  40 + /**
  41 + * @overload Process::getSemiVariableTable
  42 + */
  43 + AMDA::Parameters::SemiVariableTable getSemiVariableTable()
40 44 };
41 45  
42 46 } /* namespace MavenStatic */
... ...
src/Info/ParamTable.cc
... ... @@ -230,7 +230,7 @@ void ParamTable::addVariableTableInfo(ParameterManager * parameterManager, int d
230 230 head << "# mode ";
231 231 for(int j=0; j<nmass; j++){
232 232 for(int l=0; l<nenergy; l++){
233   - head<<_tableName<"["<<j<<","<<l<<"]";
  233 + head<<_tableName<<"["<<j<<","<<l<<"]";
234 234 }
235 235 }
236 236 PUSHINFO(tableInfo, "", head.str());
... ...
src/Parameters/Process.hh
... ... @@ -29,6 +29,11 @@ struct Process_exception: virtual AMDA_exception { };
29 29  
30 30 class Operation;
31 31  
  32 +struct SemiVariableTable{
  33 + std::vector<std::string> tabHeader;
  34 + std::map<int,std::vector<double>> tabValues;
  35 +};
  36 +
32 37 /**
33 38 * @class Process
34 39 * @brief Interface to implemented a Process, a Process is used to compute a new ParamData with input data.
... ... @@ -88,6 +93,10 @@ public:
88 93 std::list<std::string> clbInfoList;
89 94 return clbInfoList;
90 95 }
  96 + virtual AMDA::Parameters::SemiVariableTable getSemiVariableTable(){
  97 + SemiVariableTable semiVariableTable;
  98 + return SemiVariableTable;
  99 + }
91 100  
92 101 protected:
93 102 static log4cxx::LoggerPtr _logger;
... ...