53 void printEndpoints(std::vector<recob::EndPoint2D>
const& corner_vector);
64 produces< std::vector<recob::EndPoint2D> >();
81 const bool DEBUG_TEST =
false;
86 std::vector<recob::Wire>
const& wireVec(*wireHandle);
92 std::unique_ptr< std::vector<recob::EndPoint2D> > corner_vector(
new std::vector<recob::EndPoint2D>);
95 mf::LogInfo(
"CornerFinderModule") <<
"CornerFinderAlg finished, and returned " 96 << corner_vector->size() <<
" endpoints.";
101 evt.
put(std::move(corner_vector));
111 for(
auto iter=corner_vector.begin(); iter!=corner_vector.end(); iter++){
113 mf::LogVerbatim(
"CornerFinderModule") <<
"Endpoint found: (plane,wire,time,strength)=(" 116 << iter->DriftTime() <<
"," 117 << iter->Strength() <<
")";
126 #endif // CORNERFINDER_H MaybeLogger_< ELseverityLevel::ELsev_info, true > LogVerbatim
void reconfigure(fhicl::ParameterSet const &pset)
void reconfigure(fhicl::ParameterSet const &p)
MaybeLogger_< ELseverityLevel::ELsev_info, false > LogInfo
WireID_t Wire
Index of the wire within its plane.
void get_feature_points_fast(std::vector< recob::EndPoint2D > &, geo::Geometry const &)
corner::CornerFinderAlg fCornerAlg
ProductID put(std::unique_ptr< PROD > &&product)
void GrabWires(std::vector< recob::Wire > const &wireVec, geo::Geometry const &)
#define DEFINE_ART_MODULE(klass)
art::ServiceHandle< geo::Geometry > fGeometryHandle
algorithm to find feature 2D points
T get(std::string const &key) const
PlaneID_t Plane
Index of the plane within its TPC.
std::string fCalDataModuleLabel
void printEndpoints(std::vector< recob::EndPoint2D > const &corner_vector)
bool getByLabel(std::string const &label, std::string const &productInstanceName, Handle< PROD > &result) const
void produce(art::Event &evt)
CornerFinder(fhicl::ParameterSet const &pset)
Declaration of basic channel signal object.
WireID()=default
Default constructor: an invalid TPC ID.
art framework interface to geometry description