ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
CSortCorrsNext Class Reference

#include <ALFA_EdgeMethod.h>

Collaboration diagram for CSortCorrsNext:

Public Member Functions

 CSortCorrsNext (const Float_t fPosTr)
 
bool operator() (ALFA_EdgeMethod::Corridor corr1, ALFA_EdgeMethod::Corridor corr2) const
 

Private Attributes

Float_t m_fPosTr
 

Detailed Description

Definition at line 94 of file ALFA_EdgeMethod.h.

Constructor & Destructor Documentation

◆ CSortCorrsNext()

CSortCorrsNext::CSortCorrsNext ( const Float_t  fPosTr)

Definition at line 461 of file ALFA_EdgeMethod.cxx.

462  : m_fPosTr(fPosTr)
463 {
464 
465 }

Member Function Documentation

◆ operator()()

bool CSortCorrsNext::operator() ( ALFA_EdgeMethod::Corridor  corr1,
ALFA_EdgeMethod::Corridor  corr2 
) const

Definition at line 467 of file ALFA_EdgeMethod.cxx.

468 {
469  return (std::abs( corr1.first.first - m_fPosTr ) < std::abs( corr2.first.first - m_fPosTr ));
470 }

Member Data Documentation

◆ m_fPosTr

Float_t CSortCorrsNext::m_fPosTr
private

Definition at line 97 of file ALFA_EdgeMethod.h.


The documentation for this class was generated from the following files:
CSortCorrsNext::m_fPosTr
Float_t m_fPosTr
Definition: ALFA_EdgeMethod.h:97