All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
pma::bTrajectory3DDistLess Struct Reference

#include <Utilities.h>

Inheritance diagram for pma::bTrajectory3DDistLess:

Public Member Functions

bool operator() (pma::Hit3D *h1, pma::Hit3D *h2)
 

Detailed Description

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

Member Function Documentation

bool pma::bTrajectory3DDistLess::operator() ( pma::Hit3D h1,
pma::Hit3D h2 
)

Definition at line 332 of file larreco/larreco/RecoAlg/PMAlg/Utilities.cxx.

333 {
334  if (h1 && h2)
335  return h1->GetDist2ToProj() < h2->GetDist2ToProj();
336  else
337  return false;
338 }
double GetDist2ToProj() const
Definition: PmaHit3D.cxx:110

The documentation for this struct was generated from the following files: