ATLAS Offline Software
Functions
JetSortingAlg.cxx File Reference
#include "L1TopoAlgorithms/JetSortingAlg.h"
#include "L1TopoEvent/TOBArray.h"
#include "L1TopoEvent/JetTOBArray.h"
#include "L1TopoEvent/GenericTOB.h"
#include <algorithm>
Include dependency graph for JetSortingAlg.cxx:

Go to the source code of this file.

Functions

bool SortByEtLargestFirst2 (TCS::GenericTOB *tob1, TCS::GenericTOB *tob2)
 
bool SortByEtSmallestFirst2 (TCS::GenericTOB *tob1, TCS::GenericTOB *tob2)
 

Function Documentation

◆ SortByEtLargestFirst2()

bool SortByEtLargestFirst2 ( TCS::GenericTOB tob1,
TCS::GenericTOB tob2 
)

Definition at line 16 of file JetSortingAlg.cxx.

17 {
18  return tob1->Et() > tob2->Et();
19 }

◆ SortByEtSmallestFirst2()

bool SortByEtSmallestFirst2 ( TCS::GenericTOB tob1,
TCS::GenericTOB tob2 
)

Definition at line 21 of file JetSortingAlg.cxx.

22 {
23  return tob1->Et() < tob2->Et();
24 }
TCS::GenericTOB::Et
unsigned int Et() const
Definition: GenericTOB.h:113