ATLAS Offline Software
Classes | Namespaces | Functions
AnalysisMisc.h File Reference
#include <math.h>
#include <vector>
#include <algorithm>
#include "CxxUtils/fpcompare.h"
#include "AthContainers/DataVector.h"
#include "TruthUtils/MagicNumbers.h"
#include <type_traits>
#include "CLHEP/Vector/LorentzVector.h"
#include "EventKernel/INavigable4Momentum.h"
Include dependency graph for AnalysisMisc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  AnalysisUtils::Sort::Private::dosort_imp< b >
 
struct  AnalysisUtils::Sort::Private::dosort_imp< true >
 

Namespaces

 AnalysisUtils
 utility class to select combination of elements in a collection
 
 AnalysisUtils::Delta
 compute \( \Delta \)
 
 AnalysisUtils::Imass
 compute Invariant mass
 
 AnalysisUtils::Match
 find the closest element in a collection to an INavigable4Momentum
 
 AnalysisUtils::Sort
 sort
 
 AnalysisUtils::Sort::Private
 
 AnalysisUtils::Classify
 classify
 

Functions

double AnalysisUtils::Delta::phi (const INavigable4Momentum *p1, const INavigable4Momentum *p2)
 \( \Delta\phi \) More...
 
double AnalysisUtils::Delta::R (const INavigable4Momentum *p1, const double v_eta, const double v_phi)
 \( \Delta{R} \) More...
 
double AnalysisUtils::Delta::R (const INavigable4Momentum *p1, const INavigable4Momentum *p2)
 \( \Delta{R} \) More...
 
double AnalysisUtils::Imass::two (const INavigable4Momentum *p1, const INavigable4Momentum *p2)
 
double AnalysisUtils::Imass::four (const INavigable4Momentum *p1, const INavigable4Momentum *p2, const INavigable4Momentum *p3, const INavigable4Momentum *p4)
 
template<class COLL >
bool AnalysisUtils::Match::R (const double eta, const double phi, COLL *coll, int &index, double &deltaR, const int pdg)
 find the closest element in R More...
 
template<class COLL >
bool AnalysisUtils::Match::R (const double eta, const double phi, const double e, COLL *coll, int &index, double &deltaR, const int pdg, double &deltaE)
 find the closest element in R - with a condition on E More...
 
template<class COLL >
bool AnalysisUtils::Match::R (const INavigable4Momentum *t, COLL *coll, int &index, double &deltaR, const int pdg)
 find the closest element in R More...
 
template<class COLL >
bool AnalysisUtils::Match::R (const INavigable4Momentum *t, COLL *coll, int &index, double &deltaR, const int pdg, double &deltaE)
 find the closest element in R - with a condition on E More...
 
template<class COLL >
bool AnalysisUtils::Match::R (const double eta, const double phi, COLL *coll, int &index, double &deltaR)
 find the closest element in R (not check PDG ID) More...
 
template<class COLL >
bool AnalysisUtils::Match::R (const double eta, const double phi, const double e, COLL *coll, int &index, double &deltaR, double &deltaE)
 find the closest element in R (not check PDG ID) - with a condition on E More...
 
template<class COLL >
bool AnalysisUtils::Match::R (const INavigable4Momentum *t, COLL *coll, int &index, double &deltaR)
 find the closest element in R (not check PDG ID) More...
 
template<class COLL >
bool AnalysisUtils::Match::R (const INavigable4Momentum *t, COLL *coll, int &index, double &deltaR, double &deltaE)
 find the closest element in R (not check PDG ID) - with a condition on E More...
 
template<class T >
bool AnalysisUtils::Sort::Private::compPt (T a, T b)
 
template<class T >
bool AnalysisUtils::Sort::Private::compE (T a, T b)
 
template<class T >
bool AnalysisUtils::Sort::Private::compEta (T a, T b)
 
template<class T >
bool AnalysisUtils::Sort::Private::compPhi (T a, T b)
 
template<class COLL , class COMP >
void AnalysisUtils::Sort::Private::dosort (COLL &coll, COMP comp)
 
template<class COLL >
void AnalysisUtils::Sort::pT (COLL *coll)
 sort by pT More...
 
template<class COLL >
void AnalysisUtils::Sort::e (COLL *coll)
 sort by e More...
 
template<class COLL >
void AnalysisUtils::Sort::eta (COLL *coll)
 sort by eta More...
 
template<class COLL >
void AnalysisUtils::Sort::phi (COLL *coll)
 sort by phi More...
 
template<class COLL >
void AnalysisUtils::Classify::charge (COLL *coll, std::vector< typename COLL::value_type > &pos, std::vector< typename COLL::value_type > &neg)
 classify by charge More...