130 std::vector< art::Ptr<recob::Hit> > ChHits;
132 for(
size_t h = 0; h < ChHits.size(); h++ ){
133 if( ChHits[h]->View() !=
geo::kZ )
continue;
173 #endif // APAHITFINDER_H
apa::DisambigAlg fDisambigAlg
art::ServiceHandle< geo::Geometry > fGeom
Declaration of signal hit object.
std::string fChanHitLabel
Definition of basic raw digits.
Planes which measure Z direction.
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.
APAHitFinder(fhicl::ParameterSet const &pset)
std::vector< std::pair< art::Ptr< recob::Hit >, geo::WireID > > fDisambigHits
The final list of hits to pass back to be made.
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)
T get(std::string const &key) const
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.
Utility object to perform functions of association.
bool getByLabel(std::string const &label, std::string const &productInstanceName, Handle< PROD > &result) const
void produce(art::Event &evt)
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 reconfigure(fhicl::ParameterSet const &p)
void RunDisambig(art::Handle< std::vector< recob::Hit > > GausHits)
Run disambiguation as currently configured.