EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
some common utility functions used in detector specific evaluation modules More...
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 | |
some common utility functions used in detector specific evaluation modules
Definition in file QAG4Util.h.