Page MenuHomeHEPForge

Parameters.cc
No OneTemporary

Size
621 B
Referenced Files
None
Subscribers
None

Parameters.cc

/**
* \authors The HEJ collaboration (see AUTHORS for details)
* \date 2019
* \copyright GPLv2 or later
*/
#include "HEJ/Parameters.hh"
#include <sstream>
#include <iostream>
namespace HEJ {
std::string to_string(ParameterDescription const & p) {
// use ostringstream over std::to_string to remove trailing 0s
std::ostringstream stream;
stream << "\\mu_r = ";
if(p.mur_factor != 1.) stream << p.mur_factor << '*';
stream << p.scale_name << ", "
"\\mu_f = ";
if(p.muf_factor != 1.) stream << p.muf_factor << '*';
stream << p.scale_name;
return stream.str();
}
}

File Metadata

Mime Type
text/x-c
Expires
Tue, Sep 30, 4:45 AM (13 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6458110
Default Alt Text
Parameters.cc (621 B)

Event Timeline