musrfit  1.9.2
PMsr2Data.cpp File Reference
#include <cctype>
#include <sstream>
#include <fstream>
#include <iomanip>
#include <algorithm>
#include <limits>
#include <memory>
#include <boost/algorithm/string/trim.hpp>
#include <boost/algorithm/string/case_conv.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/lexical_cast.hpp>
#include "PMsr2Data.h"
Include dependency graph for PMsr2Data.cpp:

Go to the source code of this file.

Functions

bool compare_parameters (const PMsrParamStructure &par1, const PMsrParamStructure &par2)
 

Function Documentation

◆ compare_parameters()

bool compare_parameters ( const PMsrParamStructure par1,
const PMsrParamStructure par2 
)

Function defining the parameter order for the sort algorithm when a global msr-file is generated

return:

  • true if global parameters are listed before run specific ones
  • true if within the global parameters par1 appears before par2
  • true if within the run specific parameters par1 appears before par2
  • false otherwise
Parameters
par1fit parameter
par2fit parameter

Definition at line 600 of file PMsr2Data.cpp.

References PMsrParamStructure::fIsGlobal, and PMsrParamStructure::fNo.

Referenced by PMsr2Data::PrepareGlobalInputFile().