All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
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 54 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 56 of file SeedFinderAlgBase.h.

57  {
58  return fabs(left->getArclenToPoca()) < fabs(right->getArclenToPoca());
59  }
float getArclenToPoca() const
Definition: Cluster3D.h:169

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