ATLAS Offline Software
Namespaces | Functions
AnalysisUtils::Sort Namespace Reference

sort More...

Namespaces

 Private
 

Functions

template<class COLL >
void pT (COLL *coll)
 sort by pT More...
 
template<class COLL >
void e (COLL *coll)
 sort by e More...
 
template<class COLL >
void eta (COLL *coll)
 sort by eta More...
 
template<class COLL >
void phi (COLL *coll)
 sort by phi More...
 

Detailed Description

sort

Function Documentation

◆ e()

template<class COLL >
void AnalysisUtils::Sort::e ( COLL *  coll)
inline

sort by e

Parameters
COLL[in] type of collection
coll[i/o] pointer to collection

Definition at line 325 of file AnalysisMisc.h.

326  {
327  // sort
328  Private::dosort (*coll, Private::compE<typename COLL::value_type>);
329  }

◆ eta()

template<class COLL >
void AnalysisUtils::Sort::eta ( COLL *  coll)
inline

sort by eta

Parameters
COLL[in] type of collection
coll[i/o] pointer to collection

Definition at line 335 of file AnalysisMisc.h.

336  {
337  // sort
338  Private::dosort (*coll, Private::compEta<typename COLL::value_type>);
339  }

◆ phi()

template<class COLL >
void AnalysisUtils::Sort::phi ( COLL *  coll)
inline

sort by phi

Parameters
COLL[in] type of collection
coll[i/o] pointer to collection

Definition at line 345 of file AnalysisMisc.h.

346  {
347  // sort
348  Private::dosort (*coll, Private::compPhi<typename COLL::value_type>);
349  }

◆ pT()

template<class COLL >
void AnalysisUtils::Sort::pT ( COLL *  coll)
inline

sort by pT

Parameters
COLL[in] type of collection
coll[i/o] pointer to collection

Definition at line 315 of file AnalysisMisc.h.

316  {
317  // sort
318  Private::dosort (*coll, Private::compPt<typename COLL::value_type>);
319  }
AnalysisUtils::Sort::Private::dosort
void dosort(COLL &coll, COMP comp)
Definition: AnalysisMisc.h:301