Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
QAUtil.h File Reference
#include <g4main/PHG4Hit.h>
#include <cmath>
+ Include dependency graph for QAUtil.h:

Go to the source code of this file.

Namespaces

namespace  QAG4Util
 

Functions

template<class T >
constexpr T QAG4Util::square (T x)
 square
 
template<class T >
constexpr T QAG4Util::get_r (T x, T y)
 radius
 
template<class T >
const T QAG4Util::delta_phi (T phi1, T phi2)
 angle difference between [-pi, pi[
 
template<float(PHG4Hit::*)(int) const accessor>
float QAG4Util::interpolate (std::set< PHG4Hit * > hits, float rextrap)
 calculate the best average of member function called on all members in collection, extrapolated at a given radius