LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
Utilities.h File Reference

Implementation of the Projection Matching Algorithm. More...

#include "larcore/Geometry/Geometry.h"
#include "lardataobj/RecoBase/TrackingTypes.h"
#include <functional>
#include "TVector2.h"
#include "TVector3.h"
#include "Math/GenVector/DisplacementVector2D.h"
#include "Math/GenVector/DisplacementVector3D.h"

Go to the source code of this file.

Classes

struct  pma::bTrajectory3DOrderLess
 
struct  pma::bTrajectory3DDistLess
 
struct  pma::bTrack3DLonger
 
class  pma::bSegmentProjLess
 
class  pma::bDistCenterLess2D
 
class  pma::bDistCenterLess3D
 

Namespaces

 pma
 

Typedefs

typedef ROOT::Math::DisplacementVector2D< ROOT::Math::Cartesian2D< double > > pma::Vector2D
 
typedef recob::tracking::Vector_t pma::Vector3D
 
typedef std::map< size_t, std::vector< double > > pma::dedx_map
 

Functions

double pma::Dist2 (const TVector2 &v1, const TVector2 &v2)
 
double pma::Dist2 (const Vector2D &v1, const Vector2D &v2)
 
double pma::Dist2 (const TVector3 &v1, const TVector3 &v2)
 
double pma::Dist2 (const Vector3D &v1, const Vector3D &v2)
 
size_t pma::GetHitsCount (const std::vector< pma::Hit3D * > &hits, unsigned int view)
 
double pma::GetSummedADC (const std::vector< pma::Hit3D * > &hits, unsigned int view=geo::kUnknown)
 
double pma::GetSummedAmpl (const std::vector< pma::Hit3D * > &hits, unsigned int view=geo::kUnknown)
 
double pma::GetHitsRadius3D (const std::vector< pma::Hit3D * > &hits, bool exact=false)
 
double pma::GetHitsRadius2D (const std::vector< pma::Hit3D * > &hits, bool exact=false)
 
double pma::GetSegmentProjVector (const TVector2 &p, const TVector2 &p0, const TVector2 &p1)
 
double pma::GetSegmentProjVector (const Vector2D &p, const Vector2D &p0, const Vector2D &p1)
 
double pma::GetSegmentProjVector (const TVector3 &p, const TVector3 &p0, const TVector3 &p1)
 
double pma::GetSegmentProjVector (const Vector3D &p, const Vector3D &p0, const Vector3D &p1)
 
TVector2 pma::GetProjectionToSegment (const TVector2 &p, const TVector2 &p0, const TVector2 &p1)
 
TVector3 pma::GetProjectionToSegment (const TVector3 &p, const TVector3 &p0, const TVector3 &p1)
 
double pma::SolveLeastSquares3D (const std::vector< std::pair< TVector3, TVector3 > > &lines, TVector3 &result)
 
TVector2 pma::GetProjectionToPlane (const TVector3 &p, unsigned int plane, unsigned int tpc, unsigned int cryo)
 
TVector2 pma::GetVectorProjectionToPlane (const TVector3 &v, unsigned int plane, unsigned int tpc, unsigned int cryo)
 
TVector2 pma::WireDriftToCm (unsigned int wire, float drift, unsigned int plane, unsigned int tpc, unsigned int cryo)
 
TVector2 pma::CmToWireDrift (float xw, float yd, unsigned int plane, unsigned int tpc, unsigned int cryo)
 

Detailed Description

Implementation of the Projection Matching Algorithm.

Author
D.Stefan and R.Sulej
    Some geometrical functions and sorting helpers.
    See PmaTrack3D.h file for details.

Definition in file Utilities.h.