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

Define a comparator which will sort hits by arc length along a PCA axis. More...

#include <SeedFinderAlgBase.h>

Public Member Functions

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

Detailed Description

Define a comparator which will sort hits by arc length along a PCA axis.

Definition at line 47 of file SeedFinderAlgBase.h.

Member Function Documentation

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

Definition at line 43 of file SeedFinderAlgBase.h.

44  {
45  return left->getArclenToPoca() < right->getArclenToPoca();
46  }
float getArclenToPoca() const
Definition: Cluster3D.h:170
bool lar_cluster3d::SeedFinderAlgBase::Sort3DHitsByArcLen3D::operator() ( const reco::ClusterHit3D left,
const reco::ClusterHit3D right 
)
inline

Definition at line 49 of file SeedFinderAlgBase.h.

50  {
51  return left->getArclenToPoca() < right->getArclenToPoca();
52  }
float getArclenToPoca() const
Definition: Cluster3D.h:170

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