ATLAS Offline Software
Functions
ConeJetMaker.cxx File Reference
#include "./Jet.h"
#include "./ConeJetMaker.h"
#include <sstream>
#include <cassert>
#include <algorithm>
Include dependency graph for ConeJetMaker.cxx:

Go to the source code of this file.

Functions

double deltaR (double eta_1, double eta_2, double phi_1, double phi_2)
 

Function Documentation

◆ deltaR()

double deltaR ( double  eta_1,
double  eta_2,
double  phi_1,
double  phi_2 
)

Definition at line 132 of file ConeJetMaker.cxx.

132  {
133  double deltaPhi = TVector2::Phi_mpi_pi(phi1 - phi2);
134  double deltaEta = eta1 - eta2;
135  return std::sqrt( deltaEta*deltaEta + deltaPhi*deltaPhi );
136 }
ParticleGun_SamplingFraction.eta2
eta2
Definition: ParticleGun_SamplingFraction.py:96
xAOD::deltaPhi
setSAddress setEtaMS setDirPhiMS setDirZMS setBarrelRadius setEndcapAlpha setEndcapRadius setInterceptInner setEtaMap setEtaBin setIsTgcFailure setDeltaPt deltaPhi
Definition: L2StandAloneMuon_v1.cxx:160
xAOD::eta1
setEt setPhi setE277 setWeta2 eta1
Definition: TrigEMCluster_v1.cxx:41
Phi_mpi_pi
__HOSTDEV__ double Phi_mpi_pi(double)
Definition: GeoRegion.cxx:7
P4Helpers::deltaEta
double deltaEta(const I4Momentum &p1, const I4Momentum &p2)
Computes efficiently .
Definition: P4Helpers.h:66