Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F19244813
Parameters.cc
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
621 B
Referenced Files
None
Subscribers
None
Parameters.cc
View Options
/**
* \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
Details
Attached
Mime Type
text/x-c
Expires
Tue, Sep 30, 4:45 AM (15 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6458110
Default Alt Text
Parameters.cc (621 B)
Attached To
Mode
rHEJ HEJ
Attached
Detach File
Event Timeline
Log In to Comment