All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
pma::bDistCenterLess3D Class Reference

#include <Utilities.h>

Inheritance diagram for pma::bDistCenterLess3D:

Public Member Functions

 bDistCenterLess3D (const TVector3 &c)
 
bool operator() (TVector3 p1, TVector3 p2)
 

Private Attributes

TVector3 center
 

Detailed Description

Definition at line 148 of file larreco/larreco/RecoAlg/PMAlg/Utilities.h.

Constructor & Destructor Documentation

pma::bDistCenterLess3D::bDistCenterLess3D ( const TVector3 &  c)
inline

Member Function Documentation

bool pma::bDistCenterLess3D::operator() ( TVector3  p1,
TVector3  p2 
)
inline

Definition at line 153 of file larreco/larreco/RecoAlg/PMAlg/Utilities.h.

154  {
155  double b1 = pma::Dist2(p1, center);
156  double b2 = pma::Dist2(p2, center);
157  return b1 < b2;
158  }
double Dist2(const TVector2 &v1, const TVector2 &v2)
physics associatedGroupsWithLeft p1

Member Data Documentation

TVector3 pma::bDistCenterLess3D::center
private

Definition at line 161 of file larreco/larreco/RecoAlg/PMAlg/Utilities.h.


The documentation for this class was generated from the following file: