All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 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 77 of file Geometric3DVertexFitter.h.

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

Member Data Documentation

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

Definition at line 85 of file Geometric3DVertexFitter.h.


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