60 fAlg(p.get<
fhicl::ParameterSet>(
"RFFHitFinderAlgParams"))
73 std::unique_ptr< std::vector<recob::Hit> > hitCollection(
new std::vector<recob::Hit>);
74 fAlg.
Run(*wireHandle,*hitCollection,*geoHandle);
77 hcol.
use_hits(std::move(hitCollection));
art::InputTag fWireModuleLabel
void Run(std::vector< recob::Wire > const &, std::vector< recob::Hit > &, geo::Geometry const &)
void use_hits(std::unique_ptr< std::vector< recob::Hit >> &&srchits)
Uses the specified collection as data product.
static void declare_products(ModuleType &producer, std::string instance_name="", bool doWireAssns=true, bool doRawDigitAssns=true)
Declares the hit products we are going to fill.
void SetFitterParamsVectors(geo::Geometry const &)
Helper functions to create a hit.
#define DEFINE_ART_MODULE(klass)
A class handling a collection of hits and its associations.
The geometry of one entire detector, as served by art.
RFFHitFinder(fhicl::ParameterSet const &p)
Detector simulation of raw signals on wires.
RFFHitFinder & operator=(RFFHitFinder const &)=delete
bool getByLabel(std::string const &label, std::string const &productInstanceName, Handle< PROD > &result) const
void produce(art::Event &e) override
void put_into(art::Event &)
Moves the data into the event.
Namespace collecting geometry-related classes utilities.