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;
73 std::transform(begin, end, std::back_inserter(hits), [](
auto value) {
76 ClusterParamsAlg_t::SetHits(gser, hits);
95 template <
typename Iter,
typename Convert>
99 std::vector<recob::Hit const*> hits;
100 std::transform(begin, end, std::back_inserter(hits), [converter](
auto value) {
103 ClusterParamsAlg_t::SetHits(hits);
114 template <
typename Cont>
136 template <
typename Cont,
typename Convert>
149 #endif // CLUSTERPARAMSARTWRAPPER_H end
while True: pbar.update(maxval-len(onlies[E][S])) #print iS, "/", len(onlies[E][S]) found = False for...
Namespace for general, non-LArSoft-specific utilities.
Reconstruction base classes.
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
Cluster finding and building.
void ImportHits(util::GeometryUtilities const &gser, Iter begin, Iter end)
Calls SetHits() with the hits in the sequence.
decltype(auto) constexpr end(T &&obj)
ADL-aware version of std::end.
Wrapper for ClusterParamsAlgBase objects to accept diverse input.
bool Convert(const vector< std::string > &input, std::vector< T > &v)
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.
decltype(auto) constexpr begin(T &&obj)
ADL-aware version of std::begin.