ATLAS Offline Software
Classes | Functions
AnalysisUtils::Sort::Private Namespace Reference

Classes

struct  dosort_imp
 
struct  dosort_imp< true >
 

Functions

template<class T >
bool compPt (T a, T b)
 
template<class T >
bool compE (T a, T b)
 
template<class T >
bool compEta (T a, T b)
 
template<class T >
bool compPhi (T a, T b)
 
template<class COLL , class COMP >
void dosort (COLL &coll, COMP comp)
 

Function Documentation

◆ compE()

template<class T >
bool AnalysisUtils::Sort::Private::compE ( a,
b 
)
inline

Definition at line 420 of file AnalysisMisc.h.

421  {
422  return greater (a->e(), b->e());
423  }

◆ compEta()

template<class T >
bool AnalysisUtils::Sort::Private::compEta ( a,
b 
)
inline

Definition at line 426 of file AnalysisMisc.h.

427  {
428  return greater (a->eta(), b->eta());
429  }

◆ compPhi()

template<class T >
bool AnalysisUtils::Sort::Private::compPhi ( a,
b 
)
inline

Definition at line 432 of file AnalysisMisc.h.

433  {
434  return greater (a->phi(), b->phi());
435  }

◆ compPt()

template<class T >
bool AnalysisUtils::Sort::Private::compPt ( a,
b 
)
inline

Definition at line 414 of file AnalysisMisc.h.

415  {
416  return greater (a->pt(), b->pt());
417  }

◆ dosort()

template<class COLL , class COMP >
void AnalysisUtils::Sort::Private::dosort ( COLL &  coll,
COMP  comp 
)
inline

Definition at line 454 of file AnalysisMisc.h.

455  {
457  typedef DataVector<valtype> dvtype;
460  }
plotting.yearwise_luminosity_vs_mu.comp
comp
Definition: yearwise_luminosity_vs_mu.py:24
athena.value
value
Definition: athena.py:122
CxxUtils::fpcompare::greater
bool greater(double a, double b)
Compare two FP numbers, working around x87 precision issues.
Definition: fpcompare.h:140
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
a
TList * a
Definition: liststreamerinfos.cxx:10
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AnalysisUtils::Sort::Private::dosort
void dosort(COLL &coll, COMP comp)
Definition: AnalysisMisc.h:454