10 static const SG::AuxElement::ConstAccessor<ElementLink<TrackContainer> > acc(
"actsTrack");
11 static_assert( std::is_same<ElementLink<TrackContainer>::ElementConstReference,
12 std::optional<TrackContainer::ConstTrackProxy> >::value);
14 if (!acc.isAvailable(trkPart) || !acc(trkPart).
isValid()) {
17 return(*acc(trkPart));
38 const SG::IConstAuxStore* container,
39 const std::set<std::string>& staticVariables) {
40 std::vector<Decoration> decorations;
43 const std::type_info* typeInfo =
45 if (staticVariables.count(name) == 1) {
67 throw std::runtime_error(
"Can't restore decoration of " + name +
68 " because it is of an unsupported type");