1 #ifndef _sbncode_larrecoproducer_pca_h_
2 #define _sbncode_larrecoproducer_pca_h_
16 float VecAngle(std::array<float, 2>
A, std::array<float, 2> B);
24 std::tuple<std::vector<art::Ptr<recob::Hit>>, std::vector<art::Ptr<recob::Hit>>,
bool>
GetNearestHits(
35 std::array<float, 2>
HitPCAVec(
const std::vector<art::Ptr<recob::Hit>> &hits, std::array<float, 2> center,
38 std::array<float, 2>
HitPCAEigen(
const std::vector<art::Ptr<recob::Hit>> &hits,
const art::Ptr<recob::Hit> ¢er,
float Vert2HitDistance(const recob::Hit &hit, const recob::Vertex &vert, const geo::GeometryCore *geo, const detinfo::DetectorPropertiesData &dprop)
std::array< float, 2 > HitPCAVec(const std::vector< art::Ptr< recob::Hit >> &hits, const recob::Hit ¢er, const geo::GeometryCore *geo, const detinfo::DetectorPropertiesData &dprop)
Declaration of signal hit object.
The data type to uniquely identify a Plane.
Definition of vertex object for LArSoft.
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Access the description of detector geometry.
double distance(geo::Point_t const &point, CathodeDesc_t const &cathode)
Returns the distance of a point from the cathode.
std::tuple< std::vector< art::Ptr< recob::Hit > >, std::vector< art::Ptr< recob::Hit > >, bool > GetNearestHits(const std::vector< art::Ptr< recob::Hit >> &hits, int ihit, float distance, const geo::GeometryCore *geo, const detinfo::DetectorPropertiesData &dprop)
float VecAngle(std::array< float, 2 > A, std::array< float, 2 > B)
float HitDistance(const recob::Hit &A, const recob::Hit &B, const geo::GeometryCore *geo, const detinfo::DetectorPropertiesData &dprop)
Description of geometry of one entire detector.
Declaration of cluster object.
std::array< float, 2 > Vert2HitCoord(const recob::Vertex &vert, const geo::PlaneID &planeID, const geo::GeometryCore *geo, const detinfo::DetectorPropertiesData &dprop)
Declaration of basic channel signal object.
2D representation of charge deposited in the TDC/wire plane
art framework interface to geometry description
std::array< float, 2 > HitPCAEigen(const std::vector< art::Ptr< recob::Hit >> &hits, const art::Ptr< recob::Hit > ¢er, const geo::GeometryCore *geo, const detinfo::DetectorPropertiesData &dprop)
std::array< float, 2 > HitVector(const recob::Hit &A, const geo::GeometryCore *geo, const detinfo::DetectorPropertiesData &dprop)