Public Member Functions | Private Attributes | List of all members
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 66 of file Geometric3DVertexFitter.h.

Constructor & Destructor Documentation

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

Definition at line 67 of file Geometric3DVertexFitter.h.

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

71  {
72  return ((a.get().Trajectory().Start() - vtxPos_).Mag2() <
73  (b.get().Trajectory().Start() - vtxPos_).Mag2());
74  }
const double a
static bool * b
Definition: config.cpp:1043

Member Data Documentation

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

Definition at line 77 of file Geometric3DVertexFitter.h.


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