Nanga Parbat 1.1.0
A TMD fitting framework
AvailableParameterisations.cc
//
// Author: Valerio Bertone: valerio.bertone@cern.ch
//
#include <cstring>
//_________________________________________________________________________________
int main(int argc, char* argv[])
{
// List the parameterisation currently available.
if (argc > 1 && std::strncmp(argv[1], "python", 6) == 0)
{
std::cout << "=== ";
for (auto const& p : NangaParbat::AvPars)
std::cout << p.first << " ";
std::cout << "===\n";
}
else
{
std::cout << "\nAvailable parameterisations:" << std::endl;
for (auto const& p : NangaParbat::AvPars)
std::cout << "- " << p.first << ": " << p.second->GetDescription() << std::endl;
std::cout << "\n";
}
return 0;
}
const std::map< std::string, Parameterisation * > AvPars
Map of currently available parameterisations. Each of them must correspond to a header file containin...
Definition: nonpertfunctions.h:27