8#include <framework/utilities/TestHelpers.h>
9#include <framework/utilities/MakeROOTCompatible.h>
11#include <gtest/gtest.h>
18 TEST(VariableTest, makeROOTCompatible)
36 EXPECT_EQ(
"c__cl__bo__cm__pl8951aBZWVZUEOH_Rhtnsq__bcb__sp__bo__bc__cma",
48 TEST(VariableTest, invertMakeROOTCompatible)
64 "test(e+:gamma, M < 3)");
68 "c:(,+8951aBZWVZUEOH_Rhtnsq)b (),a");
static std::map< std::string, std::string > getSubstitutionMap()
Substituation map for makeROOTCompatible.
static std::string makeROOTCompatible(std::string str)
Remove special characters that ROOT dislikes in branch names, e.g.
static std::string invertMakeROOTCompatible(std::string str)
Invert makeROOTCompatible operation.
Abstract base class for different kinds of events.