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 == 10) {
35 std::stringstream
in(
num);
38 if (wordCounter == 13) {
39 std::stringstream
in(
num);
59 if ((lineInt != std::string::npos)) {
60 size_t subStr1 =
line.find(
"value");
61 std::stringstream paramStr;
65 paramStr <<
line.substr(subStr1 + 5);
std::vector< double > parVecVec_
std::vector< int > functionId_
void readParameters(TString fileName)
Parser of the parameters file.
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.
backgroundFunctionBase ** backgroundFunction_
std::vector< backgroundFunctionBase * > backgroundFunctionVec_
backgroundFunctionBase * backgroundFunctionService(const int identifier, const double &lowerLimit, const double &upperLimit)
Service to build the background functor corresponding to the passed identifier.