10 ifstream parametersFile(fileName.Data());
15 while (parametersFile) {
16 getline( parametersFile, line );
17 size_t lineInt = line.find(
"value");
20 size_t iterationSubStr = line.find(iteration);
23 if( iterationSubStr != std::string::npos ) {
29 std::stringstream sLine(line);
33 while( sLine >> num ) {
36 if( wordCounter == 10 ) {
37 std::stringstream
in(num);
40 if( wordCounter == 13 ) {
41 std::stringstream
in(num);
61 if ( (lineInt != std::string::npos) ) {
62 size_t subStr1 = line.find(
"value");
63 std::stringstream paramStr;
67 paramStr << line.substr(subStr1+5);
std::vector< double > parVecVec_
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< backgroundFunctionBase * > backgroundFunctionVec_
std::vector< int > functionId_
void readParameters(TString fileName)
Parser of the parameters file.
backgroundFunctionBase ** backgroundFunction_
backgroundFunctionBase * backgroundFunctionService(const int identifier, const double &lowerLimit, const double &upperLimit)
Service to build the background functor corresponding to the passed identifier.