2 #include <DD4hep/Filter.h> 12 auto n = nam.find(
"_shape");
13 if (
n != std::string::npos)
14 nam = nam.substr(0,
n);
15 if (
name.find(
"_refl") != std::string::npos)
23 std::string_view nam = (dd4hep::dd::noNamespace(
name));
24 auto n = nam.rfind(
'_');
25 return ((
n != std::string::npos) ? nam.substr(0,
n) : nam);
std::string_view namePV(const std::string &name, bool dd4hep)
std::string_view nameMatterLV(const std::string &name, bool dd4hep)
std::string nameSolid(const std::string &name, bool dd4hep)