ATLAS Offline Software
Typedefs | Functions | Variables
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}
}

Definition at line 13 of file JetSorter.cxx.

ptCompare
bool ptCompare(const xAOD::Jet *j1, const xAOD::Jet *j2)
Definition: JetSorter.cxx:9
doubleTestComp.j1
j1
Definition: doubleTestComp.py:21
doubleTestComp.j2
j2
Definition: doubleTestComp.py:22