Public Member Functions | List of all members
lar_cluster3d::Sort3DHitsByDocaToAxis Struct Reference

Public Member Functions

bool operator() (const reco::ClusterHit3D *left, const reco::ClusterHit3D *right)
 
bool operator() (const reco::ClusterHit3D *left, const reco::ClusterHit3D *right) const
 

Detailed Description

Definition at line 129 of file PrincipalComponentsAlg.cxx.

Member Function Documentation

bool lar_cluster3d::Sort3DHitsByDocaToAxis::operator() ( const reco::ClusterHit3D left,
const reco::ClusterHit3D right 
) const
inline

Definition at line 48 of file PrincipalComponentsAlg.cxx.

49  {
50  return left->getDocaToAxis() < right->getDocaToAxis();
51  }
float getDocaToAxis() const
Definition: Cluster3D.h:169
bool lar_cluster3d::Sort3DHitsByDocaToAxis::operator() ( const reco::ClusterHit3D left,
const reco::ClusterHit3D right 
)
inline

Definition at line 131 of file PrincipalComponentsAlg.cxx.

132  {
133  return left->getDocaToAxis() < right->getDocaToAxis();
134  }
float getDocaToAxis() const
Definition: Cluster3D.h:169

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