ATLAS Offline Software
Loading...
Searching...
No Matches
Prompt::SortTwoTrackVtxByDistToSeed Struct Reference

#include <VertexIterativeFitMergingTool.h>

Collaboration diagram for Prompt::SortTwoTrackVtxByDistToSeed:

Public Member Functions

 SortTwoTrackVtxByDistToSeed (const xAOD::Vertex *seed_)
bool operator() (const TwoTrackVtx &lhs, const TwoTrackVtx &rhs)

Public Attributes

const xAOD::Vertexseed

Detailed Description

Definition at line 74 of file VertexIterativeFitMergingTool.h.

Constructor & Destructor Documentation

◆ SortTwoTrackVtxByDistToSeed()

Prompt::SortTwoTrackVtxByDistToSeed::SortTwoTrackVtxByDistToSeed ( const xAOD::Vertex * seed_)
inlineexplicit

Definition at line 76 of file VertexIterativeFitMergingTool.h.

Member Function Documentation

◆ operator()()

bool Prompt::SortTwoTrackVtxByDistToSeed::operator() ( const TwoTrackVtx & lhs,
const TwoTrackVtx & rhs )
inline

Definition at line 78 of file VertexIterativeFitMergingTool.h.

79 {
80 return Prompt::getDistance(seed, lhs.vertex) < Prompt::getDistance(seed, rhs.vertex);
81 }
double getDistance(const xAOD::Vertex *vtx1, const xAOD::Vertex *vtx2)

Member Data Documentation

◆ seed

const xAOD::Vertex* Prompt::SortTwoTrackVtxByDistToSeed::seed

Definition at line 83 of file VertexIterativeFitMergingTool.h.


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