ATLAS Offline Software
Loading...
Searching...
No Matches
PhysicsAnalysis
JetTagging
JetTagPerformanceCalibration
CalibrationDataInterface
Root
CalibrationDataInternals.cxx
Go to the documentation of this file.
1
#include <boost/algorithm/string.hpp>
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
;
11
boost::split(
result
,
str
, [&token] (
char
c) {
return
c == token ;});
12
for
(std::string& element :
result
) {
13
boost::trim(element);
14
}
15
return
result
;
16
}
17
18
}
19
}
CalibrationDataInternals.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
BTaggingCnvAlg.h:20
str
Definition
BTagTrackIpAccessor.cxx:11
result
Generated on
for ATLAS Offline Software by
1.14.0