LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
trkf::Geometric3DVertexFitter::TracksFromVertexSorter Struct Reference

#include "Geometric3DVertexFitter.h"

Public Member Functions

 TracksFromVertexSorter (const recob::tracking::Point_t &vtxPos)
 
bool operator() (std::reference_wrapper< const recob::Track > a, std::reference_wrapper< const recob::Track > b) const
 

Private Attributes

const recob::tracking::Point_tvtxPos_
 

Detailed Description

Definition at line 74 of file Geometric3DVertexFitter.h.

Constructor & Destructor Documentation

trkf::Geometric3DVertexFitter::TracksFromVertexSorter::TracksFromVertexSorter ( const recob::tracking::Point_t vtxPos)
inline

Definition at line 75 of file Geometric3DVertexFitter.h.

75 : vtxPos_(vtxPos) {}

Member Function Documentation

bool trkf::Geometric3DVertexFitter::TracksFromVertexSorter::operator() ( std::reference_wrapper< const recob::Track a,
std::reference_wrapper< const recob::Track b 
) const
inline

Definition at line 76 of file Geometric3DVertexFitter.h.

78  {
79  return ((a.get().Trajectory().Start() - vtxPos_).Mag2() <
80  (b.get().Trajectory().Start() - vtxPos_).Mag2());
81  }

Member Data Documentation

const recob::tracking::Point_t& trkf::Geometric3DVertexFitter::TracksFromVertexSorter::vtxPos_
private

Definition at line 84 of file Geometric3DVertexFitter.h.


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