10 #ifndef CLUSTERPARAMSARTWRAPPER_H 11 #define CLUSTERPARAMSARTWRAPPER_H 43 template <
typename... Args>
62 template <
typename Iter>
65 std::vector<recob::Hit const*>
hits;
66 std::transform(begin, end, std::back_inserter(hits),
68 ClusterParamsAlg_t::SetHits(hits);
87 template <
typename Iter,
typename Convert>
90 std::vector<recob::Hit const*>
hits;
91 std::transform(begin, end, std::back_inserter(hits),
92 [converter](
auto value)
95 ClusterParamsAlg_t::SetHits(hits);
107 template <
typename Cont>
126 template <
typename Cont,
typename Convert>
137 #endif // CLUSTERPARAMSARTWRAPPER_H details::make_pointer_class< T, details::has_dereference_class< T >::value >::pointer_type make_pointer(T &v)
Returns a pointer to the value of argument, or the argument itself.
void ImportHits(Cont cont)
Calls SetHits() with the hits in the sequence.
Algo ClusterParamsAlg_t
type of wrapped class
Cluster finding and building.
void ImportHits(Cont cont, Convert converter)
Calls SetHits() with the result of converted hits.
Wrapper for ClusterParamsAlgBase objects to accept diverse input.
std::vector< evd::details::RawDigitInfo_t >::const_iterator begin(RawDigitCacheDataClass const &cache)
std::string value(boost::any const &)
void ImportHits(Iter begin, Iter end, Convert converter)
Calls SetHits() with the result of converted hits.
ClusterParamsImportWrapper(Args...args)
Constructor: just forwards all the stuff to the wrapped class.
void ImportHits(Iter begin, Iter end)
Calls SetHits() with the hits in the sequence.
std::vector< evd::details::RawDigitInfo_t >::const_iterator end(RawDigitCacheDataClass const &cache)