Hydra  4.0.1
A header-only templated C++ framework to perform data analysis on massively parallel platforms.
hydra::detail::AverageMother< N, GRND, FUNCTOR > Struct Template Reference

#include <AverageMother.h>

Collaboration diagram for hydra::detail::AverageMother< N, GRND, FUNCTOR >:

Public Member Functions

 AverageMother (Vector4R const &mother, const GReal_t(&masses)[N], double maxweight, double ecm, size_t seed, FUNCTOR const &functor)
 
__hydra_host__ __hydra_device__ AverageMother (AverageMother< N, GRND, FUNCTOR > const &other)
 
__hydra_host__ __hydra_device__ void bbsort (GReal_t *array, GInt_t n)
 
template<typename I >
__hydra_host__ __hydra_device__ StatsPHSP operator() (I evt)
 
__hydra_host__ __hydra_device__ GReal_t process (size_t evt, Vector4R(&daugters)[N])
 

Static Public Member Functions

__hydra_host__ __hydra_device__ static constexpr size_t hash (const size_t a, const size_t b)
 
__hydra_host__ static __hydra_device__ GReal_t pdk (const GReal_t a, const GReal_t b, const GReal_t c)
 

Data Fields

GReal_t fBeta0
 
GReal_t fBeta1
 
GReal_t fBeta2
 
GReal_t fECM
 
FUNCTOR fFunctor
 
GReal_t fMasses [N]
 
GReal_t fMaxWeight
 
size_t fSeed
 

Detailed Description

template<size_t N, typename GRND, typename FUNCTOR>
struct hydra::detail::AverageMother< N, GRND, FUNCTOR >

Constructor & Destructor Documentation

◆ AverageMother() [1/2]

template<size_t N, typename GRND , typename FUNCTOR >
hydra::detail::AverageMother< N, GRND, FUNCTOR >::AverageMother ( Vector4R const &  mother,
const GReal_t(&)  masses[N],
double  maxweight,
double  ecm,
size_t  seed,
FUNCTOR const &  functor 
)
inline

◆ AverageMother() [2/2]

template<size_t N, typename GRND , typename FUNCTOR >
__hydra_host__ __hydra_device__ hydra::detail::AverageMother< N, GRND, FUNCTOR >::AverageMother ( AverageMother< N, GRND, FUNCTOR > const &  other)
inline

Member Function Documentation

◆ bbsort()

template<size_t N, typename GRND , typename FUNCTOR >
__hydra_host__ __hydra_device__ void hydra::detail::AverageMother< N, GRND, FUNCTOR >::bbsort ( GReal_t array,
GInt_t  n 
)
inline

◆ hash()

template<size_t N, typename GRND , typename FUNCTOR >
__hydra_host__ __hydra_device__ static constexpr size_t hydra::detail::AverageMother< N, GRND, FUNCTOR >::hash ( const size_t  a,
const size_t  b 
)
inlinestatic

◆ operator()()

template<size_t N, typename GRND , typename FUNCTOR >
template<typename I >
__hydra_host__ __hydra_device__ StatsPHSP hydra::detail::AverageMother< N, GRND, FUNCTOR >::operator() ( evt)
inline

◆ pdk()

template<size_t N, typename GRND , typename FUNCTOR >
__hydra_host__ static __hydra_device__ GReal_t hydra::detail::AverageMother< N, GRND, FUNCTOR >::pdk ( const GReal_t  a,
const GReal_t  b,
const GReal_t  c 
)
inlinestatic

◆ process()

template<size_t N, typename GRND , typename FUNCTOR >
__hydra_host__ __hydra_device__ GReal_t hydra::detail::AverageMother< N, GRND, FUNCTOR >::process ( size_t  evt,
Vector4R(&)  daugters[N] 
)
inline

Field Documentation

◆ fBeta0

template<size_t N, typename GRND , typename FUNCTOR >
GReal_t hydra::detail::AverageMother< N, GRND, FUNCTOR >::fBeta0

◆ fBeta1

template<size_t N, typename GRND , typename FUNCTOR >
GReal_t hydra::detail::AverageMother< N, GRND, FUNCTOR >::fBeta1

◆ fBeta2

template<size_t N, typename GRND , typename FUNCTOR >
GReal_t hydra::detail::AverageMother< N, GRND, FUNCTOR >::fBeta2

◆ fECM

template<size_t N, typename GRND , typename FUNCTOR >
GReal_t hydra::detail::AverageMother< N, GRND, FUNCTOR >::fECM

◆ fFunctor

template<size_t N, typename GRND , typename FUNCTOR >
FUNCTOR hydra::detail::AverageMother< N, GRND, FUNCTOR >::fFunctor

◆ fMasses

template<size_t N, typename GRND , typename FUNCTOR >
GReal_t hydra::detail::AverageMother< N, GRND, FUNCTOR >::fMasses[N]

◆ fMaxWeight

template<size_t N, typename GRND , typename FUNCTOR >
GReal_t hydra::detail::AverageMother< N, GRND, FUNCTOR >::fMaxWeight

◆ fSeed

template<size_t N, typename GRND , typename FUNCTOR >
size_t hydra::detail::AverageMother< N, GRND, FUNCTOR >::fSeed

The documentation for this struct was generated from the following file: