LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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 53 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 54 of file SeedFinderAlgBase.h.

References reco::ClusterHit3D::getArclenToPoca().

55  {
56  return fabs(left->getArclenToPoca()) < fabs(right->getArclenToPoca());
57  }
float getArclenToPoca() const
Definition: Cluster3D.h:167

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