 |
Belle II Software
release-05-01-25
|
1 #include <framework/utilities/TestHelpers.h>
2 #include <framework/utilities/MakeROOTCompatible.h>
4 #include <gtest/gtest.h>
26 EXPECT_EQ(
"test__boe__pl__clgamma__cm__spM__sp__st__sp3__bc",
makeROOTCompatible(
"test(e+:gamma, M < 3)"));
29 EXPECT_EQ(
"c__cl__bo__cm__pl8951aBZWVZUEOH_Rhtnsq__bcb__sp__bo__bc__cma",
makeROOTCompatible(
"c:(,+8951aBZWVZUEOH_Rhtnsq)b (),a"));
30 EXPECT_EQ(
"foo__bobar__cm__mi0__pt123__cm__sp94__bc",
makeROOTCompatible(
"foo(bar,-0.123, 94)"));
59 "c:(,+8951aBZWVZUEOH_Rhtnsq)b (),a");
std::string invertMakeROOTCompatible(std::string str)
Invert makeROOTCompatible operation.
std::string makeROOTCompatible(std::string str)
Remove special characters that ROOT dislikes in branch names, e.g.
Abstract base class for different kinds of events.
std::map< std::string, std::string > getSubstitutionMap()
Substituation map for makeROOTCompatible.
TEST(TestgetDetectorRegion, TestgetDetectorRegion)
Test Constructors.