EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ClusterIso.h File Reference
#include <fun4all/SubsysReco.h>
#include <CLHEP/Vector/ThreeVector.h>
#include <cmath>
#include <string>
+ Include dependency graph for ClusterIso.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ClusterIso
 

Functions

float deltaR (float eta1, float eta2, float phi1, float phi2)
 

Function Documentation

float deltaR ( float  eta1,
float  eta2,
float  phi1,
float  phi2 
)
inline

Function to find delta R between 2 objects

Takes the eta and phi of each object and returns the difference of the etas and phis added in quadrature. Used to find towers inside a cone of delta R around a cluster.

Definition at line 59 of file ClusterIso.h.

View newest version in sPHENIX GitHub at line 59 of file ClusterIso.h

References M_PI.

Referenced by Acts::ImpactPointEstimator< input_track_t, propagator_t, propagator_options_t >::calculate3dDistance(), CMDistortionAnalysis(), CMDistortionAnalysisCart(), CMDistortionAnalysisPhiR(), CMDistortionReco(), CMDistortionRecoCart(), CMDistortionRecoPhiR(), Acts::Seedfinder< external_spacepoint_t, platform_t >::createSeedsForGroup(), Acts::Sycl::createSeedsForGroupSycl(), Acts::TGeoSurfaceConverter::cylinderComponents(), Acts::ImpactPointEstimator< input_track_t, propagator_t, propagator_options_t >::estimate3DImpactParameters(), Acts::SeedFilter< external_spacepoint_t >::filterSeeds_2SpFixed(), ActsExamples::Generic::modulePositionsDisc(), ClusterIso::process_event(), and SubtractTowersCS::process_event().

+ Here is the caller graph for this function: