15 #include "fhiclcpp/ParameterSet.h"
16 #include "art/Framework/Core/EDProducer.h"
17 #include "art/Framework/Core/ModuleMacros.h"
18 #include "art/Framework/Principal/Event.h"
19 #include "canvas/Utilities/InputTag.h"
20 #include "messagefacility/MessageLogger/MessageLogger.h"
33 explicit HitFinder(fhicl::ParameterSet
const & pset);
55 #include "art/Framework/Principal/Handle.h"
69 , fCCHFAlg{pset.get<fhicl::ParameterSet>(
"CCHitFinderAlg")}
71 fCalDataModuleLabel = pset.get<art::InputTag>(
"CalDataModuleLabel");
88 art::ValidHandle< std::vector<recob::Wire>> wireVecHandle
95 std::unique_ptr<std::vector<recob::Hit>>
Hits
98 mf::LogInfo(
"HitFinder") <<
Hits->size() <<
" hits produced.";
116 mf::LogInfo log(
"HitFinder");
void RunCCHitFinder(std::vector< recob::Wire > const &Wires)
art::InputTag fCalDataModuleLabel
label of module producing input wires
void PrintStats(Stream &out) const
Print the fit statistics.
Declaration of signal hit object.
void produce(art::Event &evt) override
void use_hits(std::unique_ptr< std::vector< recob::Hit >> &&srchits)
Uses the specified collection as data product.
static void declare_products(art::ProducesCollector &collector, std::string instance_name="", bool doWireAssns=true, bool doRawDigitAssns=true)
Declares the hit products we are going to fill.
Hit finder algorithm designed to work with Cluster Crawler.
Helper functions to create a hit.
HitFinder(fhicl::ParameterSet const &pset)
A class handling a collection of hits and its associations.
art::PtrVector< recob::Hit > Hits
void put_into(art::Event &)
Moves the data into the event.
Declaration of basic channel signal object.
std::vector< recob::Hit > && YieldHits()
Returns (and loses) the collection of reconstructed hits.