LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
lar_cluster3d::SeedFinderAlgBase::Sort3DHitsByAbsArcLen3D Struct Reference

Define a comparator which will sort hits by the absolute value of arc length so hits are ordered closed to PCA origin to furthest. More...

#include "SeedFinderAlgBase.h"

Public Member Functions

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

Detailed Description

Define a comparator which will sort hits by the absolute value of arc length so hits are ordered closed to PCA origin to furthest.

Definition at line 62 of file SeedFinderAlgBase.h.

Member Function Documentation

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

Definition at line 64 of file SeedFinderAlgBase.h.

References reco::ClusterHit3D::getArclenToPoca().

65  {
66  return fabs(left->getArclenToPoca()) < fabs(right->getArclenToPoca());
67  }
float getArclenToPoca() const
Definition: Cluster3D.h:157

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