40 #include "TDecompSVD.h" 128 art::FindOneP<recob::Wire> ChannelHitWires
134 ChannelHitWires.isValid(),
139 std::vector< art::Ptr<recob::Hit> > ChHits;
141 for(
size_t h = 0;
h < ChHits.size();
h++ ){
148 hcol.emplace_back(*ChHits[
h], wire);
153 if (
fAlg ==
"TripletMatch")
173 hcol.emplace_back(disambiguous_hit.
move(), wire);
177 else if (
fAlg ==
"TimeBased")
195 hcol.emplace_back(disambiguous_hit.
move(), wire);
201 throw cet::exception(
"HitFinder35t") <<
"Disambiguation algorithm name: " <<
fAlg <<
" is not supported.\n" ;
214 #endif // HITFINDER35T_H
HitFinder35t(fhicl::ParameterSet const &pset)
void reconfigure(fhicl::ParameterSet const &p)
art::ServiceHandle< geo::Geometry > fGeom
AdcChannelData::View View
Handle< PROD > getHandle(SelectorBase const &) const
std::string fChanHitLabel
EDProducer(fhicl::ParameterSet const &pset)
TimeBasedDisambig fTimeBasedDisambigAlg
Planes which measure Z direction.
std::vector< std::pair< art::Ptr< recob::Hit >, geo::WireID > > fDisambigHits
The final list of hits to pass back to be made.
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.
art framework interface to geometry description
Class managing the creation of a new recob::Hit object.
Helper functions to create a hit.
A class handling a collection of hits and its associations.
#define DEFINE_ART_MODULE(klass)
key_type key() const noexcept
T get(std::string const &key) const
void RunDisambig(detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, const std::vector< art::Ptr< recob::Hit > > &OrigHits)
Run disambiguation as currently configured.
std::vector< std::pair< art::Ptr< recob::Hit >, geo::WireID > > fDisambigHits
< Run disambiguation as currently configured
Detector simulation of raw signals on wires.
ProducesCollector & producesCollector() noexcept
DisambigAlg35t fDisambigAlg
Declaration of signal hit object.
void RunDisambig(const std::vector< art::Ptr< recob::Hit > > &OrigHits)
auto const & get(AssnsNode< L, R, D > const &r)
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)
cet::coded_exception< error, detail::translate > exception