ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
JetTagging
JetTagPerformanceCalibration
CalibrationDataInterface
Root
CalibrationDataInternals.cxx
Go to the documentation of this file.
1
#include <
CxxUtils/StringUtils.h
>
2
3
#include "
CalibrationDataInterface/CalibrationDataInternals.h
"
4
5
namespace
Analysis
{
6
namespace
CalibrationDataInterface
{
7
8
// local utility function: split string into a vector of substrings separated by a specified separator
9
std::vector<std::string>
split
(
const
std::string&
str
,
const
char
token) {
10
std::vector<std::string> result =
CxxUtils::tokenize
(
str
, token);
11
for
(std::string& element : result) {
12
element =
CxxUtils::trimWhiteSpaces
(element);
13
}
14
return
result;
15
}
16
17
}
18
}
CalibrationDataInternals.h
StringUtils.h
Analysis::CalibrationDataInterface
Definition
CalibrationDataInternals.h:18
Analysis::CalibrationDataInterface::split
std::vector< std::string > split(const std::string &str, const char token=';')
local utility function: split string into a vector of substrings separated by a specified separator,...
Definition
CalibrationDataInternals.cxx:9
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition
IConstituent.h:25
CxxUtils::trimWhiteSpaces
std::string_view trimWhiteSpaces(std::string_view str) noexcept
Removes all trailing and starting whitespaces from a string.
Definition
Control/CxxUtils/Root/StringUtils.cxx:27
CxxUtils::tokenize
std::vector< std::string > tokenize(std::string_view the_str, std::string_view delimiters)
Splits the string into smaller substrings.
Definition
Control/CxxUtils/Root/StringUtils.cxx:12
str
Definition
BTagTrackIpAccessor.cxx:11
Generated on
for ATLAS Offline Software by
1.17.0