1 #ifndef DETECTOR_DESCRIPTION_DDCMS_DD_SOLID_SHAPES_H 2 #define DETECTOR_DESCRIPTION_DDCMS_DD_SOLID_SHAPES_H 22 template <
class T,
class U>
30 template <
class Mapping,
class V>
32 auto pos = std::find_if(
34 if (
pos != std::end(
a)) {
38 return std::begin(
a)->name;
41 template <
class Mapping>
43 auto pos = std::find_if(
45 if (
pos != std::end(
a)) {
48 return std::begin(
a)->value;
51 template <
class Mapping,
class N>
53 auto pos = std::find_if(
55 if (
pos != std::end(
a)) {
58 return std::begin(
a)->value;
61 template <
class Mapping,
class V>
63 auto pos = std::find_if(
65 if (
pos != std::end(
a)) {
68 return std::begin(
a)->name;
std::string name(Mapping a, V value)
Mapping::value_type::value_type value(Mapping a, const std::string &name)
Container::value_type value_type
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t V
const std::array< const cms::dd::NameValuePair< DDSolidShape >, 21 > DDSolidShapeMap
const std::array< const cms::dd::ValuePair< LegacySolidShape, cms::DDSolidShape >, 21 > LegacySolidShapeMap
Namespace of DDCMS conversion namespace.
Mapping::value_type::name_type name_from_value(Mapping a, V value)