#include <BTaggingToolUtil.h>
Definition at line 11 of file BTaggingToolUtil.h.
◆ getExtendedFloat()
| float BTaggingToolUtil::getExtendedFloat |
( |
const nlohmann::json & | pt | ) |
|
|
static |
Definition at line 7 of file BTaggingToolUtil.cxx.
7 {
8 if (
pt.is_string() &&
pt.get<std::string>() ==
"inf") {
9 return std::numeric_limits<float>::infinity();
10 } else {
11 return pt.get<
float>();
12 }
13}
◆ getExtendedString()
| std::string BTaggingToolUtil::getExtendedString |
( |
const nlohmann::json & | pt | ) |
|
|
static |
The documentation for this class was generated from the following files: