ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
QAG4Util.h File Reference

some common utility functions used in detector specific evaluation modules More...

#include <g4main/PHG4Hit.h>
#include <cmath>
+ Include dependency graph for QAG4Util.h:
+ This graph shows which files directly or indirectly include this file:

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
 

Detailed Description

some common utility functions used in detector specific evaluation modules

Author
Hugo Pereira Da Costa hugo..nosp@m.pere.nosp@m.ira-d.nosp@m.a-co.nosp@m.sta@c.nosp@m.ea.f.nosp@m.r

Definition in file QAG4Util.h.