ATLAS Offline Software
Loading...
Searching...
No Matches
JetSorter.cxx File Reference
#include "JetRec/JetSorter.h"
Include dependency graph for JetSorter.cxx:

Go to the source code of this file.

Typedefs

using compFunc = bool (*)(const xAOD::Jet *, const xAOD::Jet *)

Functions

bool ptCompare (const xAOD::Jet *j1, const xAOD::Jet *j2)

Variables

const std::map< std::string, compFuncg_compFuncMap

Typedef Documentation

◆ compFunc

using compFunc = bool (*)(const xAOD::Jet *, const xAOD::Jet *)

Definition at line 12 of file JetSorter.cxx.

Function Documentation

◆ ptCompare()

bool ptCompare ( const xAOD::Jet * j1,
const xAOD::Jet * j2 )

Definition at line 9 of file JetSorter.cxx.

9{ return j1->pt() > j2->pt() ;}

Variable Documentation

◆ g_compFuncMap

const std::map<std::string, compFunc> g_compFuncMap
Initial value:
= {
{"ByPtDown", ptCompare}
}
bool ptCompare(const xAOD::Jet *j1, const xAOD::Jet *j2)
Definition JetSorter.cxx:9

Definition at line 13 of file JetSorter.cxx.

13 {
14 {"ByPtDown", ptCompare}
15};