ATLAS Offline Software
Namespaces | Functions
xAODP4Helpers.h File Reference
#include <cmath>
#include "CxxUtils/fpcompare.h"
#include "xAODBase/IParticle.h"
#include "xAODMissingET/MissingET.h"
Include dependency graph for xAODP4Helpers.h:

Go to the source code of this file.

Namespaces

 xAOD
 ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
 
 xAOD::P4Helpers
 

Functions

double xAOD::P4Helpers::deltaRapidity (const xAOD::IParticle &p1, const xAOD::IParticle &p2)
 Computes efficiently \( \Delta{y} \). More...
 
double xAOD::P4Helpers::deltaRapidity (const xAOD::IParticle *const p1, const xAOD::IParticle *const p2)
 Computes efficiently \( \Delta{y} \), pointer args. More...
 
double xAOD::P4Helpers::deltaEta (const xAOD::IParticle &p1, const xAOD::IParticle &p2)
 Computes efficiently \( \Delta{\eta} \). More...
 
double xAOD::P4Helpers::deltaEta (const xAOD::IParticle *const p1, const xAOD::IParticle *const p2)
 Computes efficiently \( \Delta{\eta} \), pointer args. More...
 
double xAOD::P4Helpers::deltaPhi (double phiA, double phiB)
 delta Phi in range [-pi,pi[ More...
 
double xAOD::P4Helpers::deltaPhi (const xAOD::IParticle &p4, const double phi)
 delta Phi in range [-pi,pi[ from one xAOD::IParticle reference More...
 
double xAOD::P4Helpers::deltaPhi (const xAOD::IParticle &pA, const xAOD::IParticle &pB)
 delta Phi in range [-pi,pi[ from two xAOD::IParticle references More...
 
double xAOD::P4Helpers::deltaPhi (const xAOD::IParticle *const pA, const xAOD::IParticle *const pB)
 delta Phi in range [-pi,pi[ from two xAOD::IParticle pointers More...
 
double xAOD::P4Helpers::deltaPhi (const xAOD::IParticle &pA, const xAOD::MissingET &met)
 delta Phi in range [-pi,pi[ from an xAOD::IParticle references and an xAOD::MissingEt reference More...
 
double xAOD::P4Helpers::deltaPhi (const xAOD::IParticle *const pA, const xAOD::MissingET *const met)
 delta Phi in range [-pi,pi[ from an xAOD::IParticle pointers and an xAOD::MissingEt poiter More...
 
double xAOD::P4Helpers::deltaR2 (double rapidity1, double phi1, double rapidity2, double phi2)
 \( \Delta{R}^2 \) from bare rapidity,phi More...
 
double xAOD::P4Helpers::deltaR2 (const xAOD::IParticle &p4, double rapidity, double phi, bool useRapidity=true)
 \( \Delta{R}^2 \) from 1 xAOD::IParticle More...
 
double xAOD::P4Helpers::deltaR2 (const xAOD::IParticle &pA, const xAOD::IParticle &pB, bool useRapidity=true)
 delta R^2 from two xAOD::IParticle reference More...
 
double xAOD::P4Helpers::deltaR2 (const xAOD::IParticle *const pA, const xAOD::IParticle *const pB, bool useRapidity=true)
 delta R^2 from two xAOD::IParticle pointers More...
 
double xAOD::P4Helpers::deltaR (double rapidity1, double phi1, double rapidity2, double phi2)
 \( \Delta{R} \) from bare bare rapidity,phi More...
 
double xAOD::P4Helpers::deltaR (const xAOD::IParticle &p4, double rapidity, double phi, bool useRapidity=true)
 \( \Delta{R} \) from 1 xAOD::IParticle More...
 
double xAOD::P4Helpers::deltaR (const xAOD::IParticle &pA, const xAOD::IParticle &pB, bool useRapidity=true)
 delta R from two xAOD::IParticle reference More...
 
double xAOD::P4Helpers::deltaR (const xAOD::IParticle *const pA, const xAOD::IParticle *const pB, bool useRapidity=true)
 delta R from two xAOD::IParticle pointers More...
 
bool xAOD::P4Helpers::isInDeltaR (const xAOD::IParticle &p1, const xAOD::IParticle &p2, double dR, bool useRapidity=true)
 Check if 2 xAOD::IParticle are in a \( \Delta{R} \) cone. More...
 
double xAOD::P4Helpers::deltaAbsP (const xAOD::IParticle &pA, const xAOD::IParticle &pB)
 Get the delta-| \( \vec{p} \)| between two particles. More...
 
double xAOD::P4Helpers::deltaAbsP (const xAOD::IParticle *const pA, const xAOD::IParticle *const pB)
 Get the delta-| \( \vec{p} \)| between two particles using pointers. More...