82 Comment(
"the space points to be filtered")
87 Comment(
"settings for the isolation algorithm")
125 produces<std::vector<recob::SpacePoint>>();
135 auto spacePointHandle
141 auto const* geom = lar::providerFrom<geo::Geometry>();
150 std::vector<size_t> socialPointIndices
156 auto socialSpacePoints = std::make_unique<std::vector<recob::SpacePoint>>();
158 socialSpacePoints->reserve(socialPointIndices.size());
159 for (
size_t index: socialPointIndices)
163 <<
"Found " << socialSpacePoints->size() <<
"/" <<
spacePoints.size()
MaybeLogger_< ELseverityLevel::ELsev_info, false > LogInfo
fhicl::Table< SpacePointIsolationAlg::Config > isolation
EDProducer(fhicl::ParameterSet const &pset)
ChannelGroupService::Name Name
void setup(geo::GeometryCore const &geometry)
Sets up the algorithm.
art::InputTag spacePointsLabel
label of the input data product
Module configuration data.
art module: removes isolated space points.
art framework interface to geometry description
Algorithm(s) dealing with space point isolation in space.
Algorithm to detect isolated space points.
#define DEFINE_ART_MODULE(klass)
SpacePointIsolationAlg isolAlg
instance of the algorithm
RemoveIsolatedSpacePoints(Parameters const &config)
Constructor; see the class documentation for the configuration.
fhicl::Atom< art::InputTag > spacePoints
std::vector< size_t > removeIsolatedPoints(PointIter begin, PointIter end) const
Returns the set of reconstructed 3D points that are not isolated.
LArSoft-specific namespace.
virtual void produce(art::Event &event) override
Event finding and building.