10 #ifndef CLUSTERPARAMSARTWRAPPER_H
11 #define CLUSTERPARAMSARTWRAPPER_H
21 class GeometryUtilities;
49 template <
typename... Args>
68 template <
typename Iter>
72 std::vector<recob::Hit const*> hits;
76 ClusterParamsAlg_t::SetHits(gser, hits);
95 template <
typename Iter,
typename Convert>
99 std::vector<recob::Hit const*> hits;
103 ClusterParamsAlg_t::SetHits(hits);
114 template <
typename Cont>
136 template <
typename Cont,
typename Convert>
149 #endif // CLUSTERPARAMSARTWRAPPER_H
double std(const std::vector< short > &wf, const double ped_mean, size_t start, size_t nsample)
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(util::GeometryUtilities const &gser, Cont cont)
Calls SetHits() with the hits in the sequence.
Algo ClusterParamsAlg_t
type of wrapped class
void ImportHits(util::GeometryUtilities const &gser, Iter begin, Iter end)
Calls SetHits() with the hits in the sequence.
Wrapper for ClusterParamsAlgBase objects to accept diverse input.
auto end(FixedBins< T, C > const &) noexcept
auto begin(FixedBins< T, C > const &) noexcept
void ImportHits(util::GeometryUtilities const &gser, Cont cont, Convert converter)
Calls SetHits() with the result of converted hits.
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.