23 #include "Math/GenVector/DisplacementVector2D.h" 24 #include "Math/GenVector/DisplacementVector3D.h" 28 typedef ROOT::Math::DisplacementVector2D< ROOT::Math::Cartesian2D<double> >
Vector2D;
31 typedef std::map< size_t, std::vector<double> >
dedx_map;
42 double Dist2(
const TVector2 & v1,
const TVector2 & v2);
43 double Dist2(
const Vector2D & v1,
const Vector2D & v2);
45 double Dist2(
const TVector3 & v1,
const TVector3 & v2);
46 double Dist2(
const Vector3D & v1,
const Vector3D & v2);
48 size_t GetHitsCount(
const std::vector< pma::Hit3D* >&
hits,
unsigned int view);
66 TVector2
GetProjectionToPlane(
const TVector3& p,
unsigned int plane,
unsigned int tpc,
unsigned int cryo);
68 TVector2
WireDriftToCm(
unsigned int wire,
float drift,
unsigned int plane,
unsigned int tpc,
unsigned int cryo);
69 TVector2
CmToWireDrift(
float xw,
float yd,
unsigned int plane,
unsigned int tpc,
unsigned int cryo);
74 public std::binary_function<pma::Hit3D*, pma::Hit3D*, bool>
80 public std::binary_function<pma::Hit3D*, pma::Hit3D*, bool>
86 public std::binary_function<const pma::TrkCandidate &, const pma::TrkCandidate &, bool>
92 public std::binary_function<TVector3*, TVector3*, bool>
113 public std::binary_function<TVector2, TVector2, bool>
130 public std::binary_function<TVector3, TVector3, bool>
double GetSummedAmpl(const std::vector< pma::Hit3D * > &hits, unsigned int view=geo::kUnknown)
double GetHitsRadius2D(const std::vector< pma::Hit3D * > &hits, bool exact=false)
double Dist2(const TVector2 &v1, const TVector2 &v2)
bDistCenterLess3D(const TVector3 &c)
double GetHitsRadius3D(const std::vector< pma::Hit3D * > &hits, bool exact=false)
recob::tracking::Vector_t Vector3D
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
size_t GetHitsCount(const std::vector< pma::Hit3D * > &hits, unsigned int view)
TVector2 GetProjectionToSegment(const TVector2 &p, const TVector2 &p0, const TVector2 &p1)
geo::Vector_t Vector_t
Type for representation of momenta in 3D space.
ROOT::Math::DisplacementVector2D< ROOT::Math::Cartesian2D< double > > Vector2D
bDistCenterLess2D(const TVector2 &c)
TVector2 GetVectorProjectionToPlane(const TVector3 &v, unsigned int plane, unsigned int tpc, unsigned int cryo)
double SolveLeastSquares3D(const std::vector< std::pair< TVector3, TVector3 > > &lines, TVector3 &result)
bool operator()(pma::Hit3D *h1, pma::Hit3D *h2)
double GetSegmentProjVector(const TVector2 &p, const TVector2 &p0, const TVector2 &p1)
TVector2 WireDriftToCm(unsigned int wire, float drift, unsigned int plane, unsigned int tpc, unsigned int cryo)
TVector2 GetProjectionToPlane(const TVector3 &p, unsigned int plane, unsigned int tpc, unsigned int cryo)
TVector2 CmToWireDrift(float xw, float yd, unsigned int plane, unsigned int tpc, unsigned int cryo)
std::map< size_t, std::vector< double > > dedx_map
double GetSummedADC(const std::vector< pma::Hit3D * > &hits, unsigned int view=geo::kUnknown)
art framework interface to geometry description