ATLAS Offline Software
CaloCellSelectorUtils.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef CALOCELLSELECTORUTILS_H
6 #define CALOCELLSELECTORUTILS_H
7 
9 
10 namespace Utils {
11  double deltaPhi(double phi1, double phi2);
12 
13  double deltaR2(double eta1, double eta2, double phi1, double phi2);
14 
15  double deltaR(double eta1, double eta2, double phi1, double phi2);
16 
17  void findNearestPoint(const Amg::Vector3D& inputPos, const Trk::CaloExtension* caloExtension, int& nearestIdx,
18  Amg::Vector3D& nearestPos, Amg::Vector3D& nearestMom);
19 } // namespace Utils
20 
21 #endif
ParticleGun_SamplingFraction.eta2
eta2
Definition: ParticleGun_SamplingFraction.py:96
Utils::deltaPhi
double deltaPhi(double phi1, double phi2)
Definition: CaloCellSelectorUtils.cxx:11
Trk::CaloExtension
Tracking class to hold the extrapolation from a particle from the ID to the muon system (or the other...
Definition: CaloExtension.h:18
CaloExtension.h
xAOD::eta1
setEt setPhi setE277 setWeta2 eta1
Definition: TrigEMCluster_v1.cxx:41
Utils::deltaR
double deltaR(double eta1, double eta2, double phi1, double phi2)
Definition: CaloCellSelectorUtils.cxx:23
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
Utils
Definition: CaloCellSelectorUtils.cxx:10
Utils::findNearestPoint
void findNearestPoint(const Amg::Vector3D &inputPos, const Trk::CaloExtension *caloExtension, int &nearestIdx, Amg::Vector3D &nearestPos, Amg::Vector3D &nearestMom)
Definition: CaloCellSelectorUtils.cxx:25
Utils::deltaR2
double deltaR2(double eta1, double eta2, double phi1, double phi2)
Definition: CaloCellSelectorUtils.cxx:17