ATLAS Offline Software
Loading...
Searching...
No Matches
MomentumHelpers.h File Reference
Include dependency graph for MomentumHelpers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  columnar

Functions

double columnar::deltaPhi (double phiA, double phiB)
 delta Phi in range [-pi,pi[
template<ContainerIdConcept CI1, ContainerIdConcept CI2, typename CM>
double columnar::deltaRapidity (const MomentumAccessors< CI1, CM > &momAcc1, ObjectId< CI1, CM > p1, const MomentumAccessors< CI2, CM > &momAcc2, ObjectId< CI2, CM > p2, bool useRapidity=true)
 Computes efficiently \( \Delta{y} \).
template<ContainerIdConcept CI1, ContainerIdConcept CI2, typename CM>
bool columnar::isInDeltaR (const MomentumAccessors< CI1, CM > &momAcc1, ObjectId< CI1, CM > p1, const MomentumAccessors< CI2, CM > &momAcc2, ObjectId< CI2, CM > p2, double dR, bool useRapidity=true)
 Check if 2 particles are in a \( \Delta{R} \) cone.