9 std::ifstream parametersFile(
fileName.Data());
14 while (parametersFile) {
15 getline(parametersFile,
line);
16 size_t lineInt =
line.find(
"value");
22 if (iterationSubStr != std::string::npos) {
27 std::stringstream sLine(
line);
31 while (sLine >>
num) {
34 if (wordCounter == 8) {
35 std::stringstream
in(
num);
38 if (wordCounter == 13) {
39 std::stringstream
in(
num);
58 if ((lineInt != std::string::npos)) {
59 size_t subStr1 =
line.find(
"value");
60 std::stringstream paramStr;
64 paramStr <<
line.substr(subStr1 + 5);
resolutionFunctionBase< double * > ** resolutionFunction_
std::vector< double > parVecVec_
resolutionFunctionBase< double * > * resolutionFunctionService(const int identifier)
Service to build the resolution functor corresponding to the passed identifier.
void readParameters(TString fileName)
Parser of the parameters file.
std::vector< int > functionId_
void convertToArrays(T **&function_, const std::vector< T *> &functionVec_)
Convert vectors to arrays for faster random access. The first pointer is replaced, thus it is taken by reference.
std::vector< resolutionFunctionBase< double * > * > resolutionFunctionVec_