10 #ifndef LAREXAMPLES_ALGORITHMS_REMOVEISOLATEDSPACEPOINTS_SPACEPOINTISOLATIONALG_H 11 #define LAREXAMPLES_ALGORITHMS_REMOVEISOLATEDSPACEPOINTS_SPACEPOINTISOLATIONALG_H 29 #include <type_traits> 34 namespace geo {
class GeometryCore; }
119 Comment(
"the radius for the isolation [cm]")
165 { geom = &geometry; initialize(); }
181 template <
typename Po
intIter>
182 std::vector<size_t> removeIsolatedPoints
187 "iterator does not point to recob::SpacePoint" 189 return isolationAlg->removeIsolatedPoints(begin, end);
199 std::vector<size_t> removeIsolatedPoints
200 (std::vector<recob::SpacePoint>
const& points)
const 201 {
return removeIsolatedPoints(points.begin(), points.end()); }
221 void fillAlgConfigFromGeometry
259 #endif // LAREXAMPLES_ALGORITHMS_REMOVEISOLATEDSPACEPOINTS_SPACEPOINTISOLATIONALG_H Algorithm to detect isolated space points.
end
while True: pbar.update(maxval-len(onlies[E][S])) #print iS, "/", len(onlies[E][S]) found = False for...
SpacePointIsolationAlg(fhicl::ParameterSet const &pset)
Constructor with configuration validation.
Coord_t radius2
square of isolation radius [cm^2]
Reconstruction base classes.
std::decay_t< decltype(recob::SpacePoint().XYZ()[0])> Coord_t
Type of coordinate in recob::SpacePoint (double in LArSoft 5)
ChannelGroupService::Name Name
void setup(geo::GeometryCore const &geometry)
Sets up the algorithm.
Algorithm to detect isolated space points.
std::unique_ptr< PointIsolationAlg_t > isolationAlg
the actual generic algorithm
Type containing all configuration parameters of the algorithm.
Description of geometry of one entire detector.
Algorithm(s) dealing with point isolation in space.
LArSoft-specific namespace.
const Double32_t * XYZ() const
decltype(auto) constexpr begin(T &&obj)
ADL-aware version of std::begin.
LArSoft geometry interface.
SpacePointIsolationAlg(Config const &config)
Constructor with configuration validation.