23 #include "canvas/Persistency/Common/FindOneP.h" 76 art::FindOneP<raw::RawDigit> ChannelHitRawDigits(ChannelHits, evt,
fChanHitLabel);
77 art::FindOneP<recob::Wire> ChannelHitWires(ChannelHits, evt,
fChanHitLabel);
80 std::vector<art::Ptr<recob::Hit>> ChHits;
82 for (
size_t h = 0;
h < ChHits.size();
h++) {
93 auto const clock_data =
apa::DisambigAlg fDisambigAlg
AdcChannelData::View View
EDProducer(fhicl::ParameterSet const &pset)
std::string fChanHitLabel
Planes which measure Z direction.
void RunDisambig(detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, art::Handle< std::vector< recob::Hit >> GausHits)
APAHitFinder(fhicl::ParameterSet const &pset)
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.
Class managing the creation of a new recob::Hit object.
Helper functions to create a hit.
bool getByLabel(std::string const &label, std::string const &instance, Handle< PROD > &result) const
A class handling a collection of hits and its associations.
#define DEFINE_ART_MODULE(klass)
key_type key() const noexcept
void emplace_back(recob::Hit &&hit, art::Ptr< recob::Wire > const &wire=art::Ptr< recob::Wire >(), art::Ptr< raw::RawDigit > const &digits=art::Ptr< raw::RawDigit >())
Adds the specified hit to the data collection.
void put_into(art::Event &)
Moves the data into an event.
Detector simulation of raw signals on wires.
ProducesCollector & producesCollector() noexcept
Declaration of signal hit object.
art::ServiceHandle< geo::Geometry const > fGeom
std::vector< std::pair< art::Ptr< recob::Hit >, geo::WireID > > fDisambigHits
The final list of hits to pass back to be made.
Declaration of basic channel signal object.
void fill_ptr_vector(std::vector< Ptr< T >> &ptrs, H const &h)
recob::Hit && move()
Prepares the constructed hit to be moved away.
void produce(art::Event &evt) override