Algorithm to detect isolated space points. More...
#include <SpacePointIsolationAlg.h>
Classes | |
struct | Config |
Algorithm configuration. More... | |
Public Types | |
using | Coord_t = std::decay_t< decltype(recob::SpacePoint().XYZ()[0])> |
Type of coordinate in recob::SpacePoint (double in LArSoft 5) More... | |
Public Member Functions | |
void | initialize () |
Initialises the algorithm with the current configuration and setup. More... | |
void | fillAlgConfigFromGeometry (PointIsolationAlg_t::Configuration_t &config) |
Detects the boundaries of the volume to be sorted from the geometry. More... | |
Construction and configuration | |
SpacePointIsolationAlg (Config const &config) | |
Constructor with configuration validation. More... | |
SpacePointIsolationAlg (fhicl::ParameterSet const &pset) | |
Constructor with configuration validation. More... | |
Public Attributes | |
geo::GeometryCore const * | geom = nullptr |
Pointer to the geometry to be used. More... | |
Coord_t | radius2 |
square of isolation radius [cm^2] More... | |
std::unique_ptr < PointIsolationAlg_t > | isolationAlg |
the actual generic algorithm More... | |
Algorithm to detect isolated space points.
This algorithm applies the isolation algorithm implemented in PointIsolationAlg
to a collection of recob::SpacePoint
objects.
Definition at line 104 of file SpacePointIsolationAlg.h.
using lar::example::SpacePointIsolationAlg::Coord_t = std::decay_t<decltype(recob::SpacePoint().XYZ()[0])> |
Type of coordinate in recob::SpacePoint (double
in LArSoft 5)
Definition at line 108 of file SpacePointIsolationAlg.h.
|
inline |
Constructor with configuration validation.
config | configuration parameter structure |
For the configuration, see SpacePointIsolationAlg
documentation.
Definition at line 134 of file SpacePointIsolationAlg.h.
|
inline |
Constructor with configuration validation.
pset | FHiCL configuration parameter set |
Translates the parameter set into a configuration object and uses the validating constructor to initialise the object.
For the configuration, see SpacePointIsolationAlg
documentation.
Definition at line 148 of file SpacePointIsolationAlg.h.
void lar::example::SpacePointIsolationAlg::fillAlgConfigFromGeometry | ( | PointIsolationAlg_t::Configuration_t & | config | ) |
Detects the boundaries of the volume to be sorted from the geometry.
Definition at line 51 of file SpacePointIsolationAlg.cxx.
void lar::example::SpacePointIsolationAlg::initialize | ( | ) |
Initialises the algorithm with the current configuration and setup.
Definition at line 28 of file SpacePointIsolationAlg.cxx.
geo::GeometryCore const* lar::example::SpacePointIsolationAlg::geom = nullptr |
Pointer to the geometry to be used.
Definition at line 210 of file SpacePointIsolationAlg.h.
std::unique_ptr<PointIsolationAlg_t> lar::example::SpacePointIsolationAlg::isolationAlg |
the actual generic algorithm
Definition at line 215 of file SpacePointIsolationAlg.h.
Coord_t lar::example::SpacePointIsolationAlg::radius2 |
square of isolation radius [cm^2]
Definition at line 212 of file SpacePointIsolationAlg.h.