LArSoft  v07_13_02
Liquid Argon Software toolkit - http://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 65 of file Geometric3DVertexFitter.h.

Constructor & Destructor Documentation

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

Definition at line 66 of file Geometric3DVertexFitter.h.

66 : 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 67 of file Geometric3DVertexFitter.h.

67  {
68  return ( (a.get().Trajectory().Start()-vtxPos_).Mag2()<(b.get().Trajectory().Start()-vtxPos_).Mag2() );
69  }

Member Data Documentation

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

Definition at line 71 of file Geometric3DVertexFitter.h.


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